blob: 0568e123284dddc7da9b3296a109006272f9ba2c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:56:45 PDT 2006 -->
<TITLE>
SerializationContext (Axis API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.axis.encoding.SerializationContext class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="SerializationContext (Axis API)";
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SerializationContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/axis/encoding/MethodTarget.html" title="class in org.apache.axis.encoding"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/axis/encoding/TextSerializationContext.html" title="class in org.apache.axis.encoding"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SerializationContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.axis.encoding</FONT>
<BR>
Class SerializationContext</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.encoding.SerializationContext</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../javax/xml/rpc/encoding/SerializationContext.html" title="interface in javax.xml.rpc.encoding">SerializationContext</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/axis/encoding/AttributeSerializationContextImpl.html" title="class in org.apache.axis.encoding">AttributeSerializationContextImpl</A>, <A HREF="../../../../org/apache/axis/encoding/TextSerializationContext.html" title="class in org.apache.axis.encoding">TextSerializationContext</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>SerializationContext</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../javax/xml/rpc/encoding/SerializationContext.html" title="interface in javax.xml.rpc.encoding">SerializationContext</A></DL>
<P>
Manage a serialization, including keeping track of namespace mappings
and element stacks.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Glen Daniels (gdaniels@apache.org), Rich Scheuerle <scheu@us.ibm.com></DD>
</DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;org.apache.commons.logging.Log</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#log">log</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#startOfDocument">startOfDocument</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The flag whether the XML decl should be written</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#SerializationContext(java.io.Writer)">SerializationContext</A></B>(java.io.Writer&nbsp;writer)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct SerializationContext with associated writer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#SerializationContext(java.io.Writer, org.apache.axis.MessageContext)">SerializationContext</A></B>(java.io.Writer&nbsp;writer,
<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A>&nbsp;msgContext)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct SerializationContext with associated writer and MessageContext</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#attributeQName2String(javax.xml.namespace.QName)">attributeQName2String</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert attribute QName to a string of the form <prefix>:<localpart>
There are slightly different rules for attributes:
- There is no default namespace
- any attribute in a namespace must have a prefix</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#endElement()">endElement</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the end element tag for the open element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getCurrentMessage()">getCurrentMessage</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the current message</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getCurrentXMLType()">getCurrentXMLType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the currently prefered xmlType</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getDoMultiRefs()">getDoMultiRefs</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Are we doing multirefs?</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getEncoder()">getEncoder</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getEncoding()">getEncoding</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;get the encoding for the serialization</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getEncodingStyle()">getEncodingStyle</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns this context's encoding style.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getItemQName()">getItemQName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getItemType()">getItemType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getMessageContext()">getMessageContext</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the MessageContext we're operating with</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getPrefixForURI(java.lang.String)">getPrefixForURI</A></B>(java.lang.String&nbsp;uri)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a prefix for a namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getPrefixForURI(java.lang.String, java.lang.String)">getPrefixForURI</A></B>(java.lang.String&nbsp;uri,
java.lang.String&nbsp;defaultPrefix)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a prefix for the given namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getPrefixForURI(java.lang.String, java.lang.String, boolean)">getPrefixForURI</A></B>(java.lang.String&nbsp;uri,
java.lang.String&nbsp;defaultPrefix,
boolean&nbsp;attribute)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a prefix for the given namespace URI.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getPretty()">getPretty</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get whether the serialization should be pretty printed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getQNameForClass(java.lang.Class)">getQNameForClass</A></B>(java.lang.Class&nbsp;cls)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the QName associated with the specified class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getSerializerForJavaType(java.lang.Class)">getSerializerForJavaType</A></B>(java.lang.Class&nbsp;javaType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to get the Serializer for a specific
java type</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getTypeMapping()">getTypeMapping</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the TypeMapping we're using.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getTypeMappingRegistry()">getTypeMappingRegistry</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the TypeMappingRegistry we're using.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getValueAsString(java.lang.Object, javax.xml.namespace.QName, java.lang.Class)">getValueAsString</A></B>(java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Class&nbsp;javaClass)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#isEncoded()">isEncoded</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this context should be encoded or not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#isPrimitive(java.lang.Object)">isPrimitive</A></B>(java.lang.Object&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether the object should be interpretted as a primitive
for the purposes of multi-ref processing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#outputMultiRefs()">outputMultiRefs</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The serialize method uses hrefs to reference all non-primitive
values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#qName2String(javax.xml.namespace.QName)">qName2String</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#qName2String(javax.xml.namespace.QName, boolean)">qName2String</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName,
boolean&nbsp;writeNS)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert QName to a string of the form <prefix>:<localpart></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#registerPrefixForURI(java.lang.String, java.lang.String)">registerPrefixForURI</A></B>(java.lang.String&nbsp;prefix,
java.lang.String&nbsp;uri)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Register prefix for the indicated uri</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object)">serialize</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize the indicated value as an element with the name
indicated by elemQName.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName)">serialize</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use serialize(QName, Attributes, Object, QName, Class) instead</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, boolean, java.lang.Boolean)">serialize</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
boolean&nbsp;sendNull,
java.lang.Boolean&nbsp;sendType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use serialize(QName, Attributes, Object, QName,
Boolean, Boolean) instead.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, java.lang.Boolean, java.lang.Boolean)">serialize</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Boolean&nbsp;sendNull,
java.lang.Boolean&nbsp;sendType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize the indicated value as an element with the name
indicated by elemQName.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, java.lang.Class)">serialize</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Class&nbsp;javaType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize the indicated value as an element with the name
indicated by elemQName.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, java.lang.Class, java.lang.Boolean, java.lang.Boolean)">serialize</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Class&nbsp;javaClass,
java.lang.Boolean&nbsp;sendNull,
java.lang.Boolean&nbsp;sendType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize the indicated value as an element with the name
indicated by elemQName.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setDoMultiRefs(boolean)">setDoMultiRefs</A></B>(boolean&nbsp;shouldDo)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether we are doing multirefs</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String&nbsp;encoding)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set the encoding for the serialization</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setItemQName(javax.xml.namespace.QName)">setItemQName</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;itemQName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setItemType(javax.xml.namespace.QName)">setItemType</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;itemType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setPretty(boolean)">setPretty</A></B>(boolean&nbsp;pretty)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate whether the serialization should be pretty printed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setSendDecl(boolean)">setSendDecl</A></B>(boolean&nbsp;sendDecl)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether or not we should write XML declarations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.xml.sax.Attributes</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setTypeAttribute(org.xml.sax.Attributes, javax.xml.namespace.QName)">setTypeAttribute</A></B>(org.xml.sax.Attributes&nbsp;attributes,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains the type attribute that should be serialized and returns the new list of Attributes</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setWriteXMLType(javax.xml.namespace.QName)">setWriteXMLType</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#shouldSendXSIType()">shouldSendXSIType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get whether or not to write xsi:type attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#startElement(javax.xml.namespace.QName, org.xml.sax.Attributes)">startElement</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName,
org.xml.sax.Attributes&nbsp;attributes)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes (using the Writer) the start tag for element QName along with the
indicated attributes and namespace mappings.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#writeChars(char[], int, int)">writeChars</A></B>(char[]&nbsp;p1,
int&nbsp;p2,
int&nbsp;p3)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience operation to write out (to Writer) the characters
in p1 starting at index p2 for length p3.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#writeDOMElement(org.w3c.dom.Element)">writeDOMElement</A></B>(org.w3c.dom.Element&nbsp;el)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Output a DOM representation to a SerializationContext</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#writeSafeString(java.lang.String)">writeSafeString</A></B>(java.lang.String&nbsp;string)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience operation to write out (to Writer) the String
properly encoded with xml entities (like &amp)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#writeString(java.lang.String)">writeString</A></B>(java.lang.String&nbsp;string)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience operation to write out (to Writer) the String</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#writeXMLDeclaration()">writeXMLDeclaration</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="log"><!-- --></A><H3>
log</H3>
<PRE>
protected static org.apache.commons.logging.Log <B>log</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="startOfDocument"><!-- --></A><H3>
startOfDocument</H3>
<PRE>
protected boolean <B>startOfDocument</B></PRE>
<DL>
<DD>The flag whether the XML decl should be written
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="SerializationContext(java.io.Writer)"><!-- --></A><H3>
SerializationContext</H3>
<PRE>
public <B>SerializationContext</B>(java.io.Writer&nbsp;writer)</PRE>
<DL>
<DD>Construct SerializationContext with associated writer
<P>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - java.io.Writer</DL>
<HR>
<A NAME="SerializationContext(java.io.Writer, org.apache.axis.MessageContext)"><!-- --></A><H3>
SerializationContext</H3>
<PRE>
public <B>SerializationContext</B>(java.io.Writer&nbsp;writer,
<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A>&nbsp;msgContext)</PRE>
<DL>
<DD>Construct SerializationContext with associated writer and MessageContext
<P>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - java.io.Writer<DD><CODE>msgContext</CODE> - is the MessageContext</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getPretty()"><!-- --></A><H3>
getPretty</H3>
<PRE>
public boolean <B>getPretty</B>()</PRE>
<DL>
<DD>Get whether the serialization should be pretty printed.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true/false</DL>
</DD>
</DL>
<HR>
<A NAME="setPretty(boolean)"><!-- --></A><H3>
setPretty</H3>
<PRE>
public void <B>setPretty</B>(boolean&nbsp;pretty)</PRE>
<DL>
<DD>Indicate whether the serialization should be pretty printed.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pretty</CODE> - true/false</DL>
</DD>
</DL>
<HR>
<A NAME="getDoMultiRefs()"><!-- --></A><H3>
getDoMultiRefs</H3>
<PRE>
public boolean <B>getDoMultiRefs</B>()</PRE>
<DL>
<DD>Are we doing multirefs?
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true or false</DL>
</DD>
</DL>
<HR>
<A NAME="setDoMultiRefs(boolean)"><!-- --></A><H3>
setDoMultiRefs</H3>
<PRE>
public void <B>setDoMultiRefs</B>(boolean&nbsp;shouldDo)</PRE>
<DL>
<DD>Set whether we are doing multirefs
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setSendDecl(boolean)"><!-- --></A><H3>
setSendDecl</H3>
<PRE>
public void <B>setSendDecl</B>(boolean&nbsp;sendDecl)</PRE>
<DL>
<DD>Set whether or not we should write XML declarations.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sendDecl</CODE> - true/false</DL>
</DD>
</DL>
<HR>
<A NAME="shouldSendXSIType()"><!-- --></A><H3>
shouldSendXSIType</H3>
<PRE>
public boolean <B>shouldSendXSIType</B>()</PRE>
<DL>
<DD>Get whether or not to write xsi:type attributes.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true/false</DL>
</DD>
</DL>
<HR>
<A NAME="getTypeMapping()"><!-- --></A><H3>
getTypeMapping</H3>
<PRE>
public <A HREF="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</A> <B>getTypeMapping</B>()</PRE>
<DL>
<DD>Get the TypeMapping we're using.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>TypeMapping or null</DL>
</DD>
</DL>
<HR>
<A NAME="getTypeMappingRegistry()"><!-- --></A><H3>
getTypeMappingRegistry</H3>
<PRE>
public <A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</A> <B>getTypeMappingRegistry</B>()</PRE>
<DL>
<DD>Get the TypeMappingRegistry we're using.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>TypeMapping or null</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefixForURI(java.lang.String)"><!-- --></A><H3>
getPrefixForURI</H3>
<PRE>
public java.lang.String <B>getPrefixForURI</B>(java.lang.String&nbsp;uri)</PRE>
<DL>
<DD>Get a prefix for a namespace URI. This method will ALWAYS
return a valid prefix - if the given URI is already mapped in this
serialization, we return the previous prefix. If it is not mapped,
we will add a new mapping and return a generated prefix of the form
"ns<num>".
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - is the namespace uri
<DT><B>Returns:</B><DD>prefix</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefixForURI(java.lang.String, java.lang.String)"><!-- --></A><H3>
getPrefixForURI</H3>
<PRE>
public java.lang.String <B>getPrefixForURI</B>(java.lang.String&nbsp;uri,
java.lang.String&nbsp;defaultPrefix)</PRE>
<DL>
<DD>Get a prefix for the given namespace URI. If one has already been
defined in this serialization, use that. Otherwise, map the passed
default prefix to the URI, and return that. If a null default prefix
is passed, use one of the form "ns<num>"
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefixForURI(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
getPrefixForURI</H3>
<PRE>
public java.lang.String <B>getPrefixForURI</B>(java.lang.String&nbsp;uri,
java.lang.String&nbsp;defaultPrefix,
boolean&nbsp;attribute)</PRE>
<DL>
<DD>Get a prefix for the given namespace URI. If one has already been
defined in this serialization, use that. Otherwise, map the passed
default prefix to the URI, and return that. If a null default prefix
is passed, use one of the form "ns<num>"
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="registerPrefixForURI(java.lang.String, java.lang.String)"><!-- --></A><H3>
registerPrefixForURI</H3>
<PRE>
public void <B>registerPrefixForURI</B>(java.lang.String&nbsp;prefix,
java.lang.String&nbsp;uri)</PRE>
<DL>
<DD>Register prefix for the indicated uri
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - <DD><CODE>uri</CODE> - is the namespace uri</DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentMessage()"><!-- --></A><H3>
getCurrentMessage</H3>
<PRE>
public <A HREF="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</A> <B>getCurrentMessage</B>()</PRE>
<DL>
<DD>Return the current message
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMessageContext()"><!-- --></A><H3>
getMessageContext</H3>
<PRE>
public <A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> <B>getMessageContext</B>()</PRE>
<DL>
<DD>Get the MessageContext we're operating with
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getEncodingStyle()"><!-- --></A><H3>
getEncodingStyle</H3>
<PRE>
public java.lang.String <B>getEncodingStyle</B>()</PRE>
<DL>
<DD>Returns this context's encoding style. If we've got a message
context then we'll get the style from that; otherwise we'll
return a default.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a <code>String</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="isEncoded()"><!-- --></A><H3>
isEncoded</H3>
<PRE>
public boolean <B>isEncoded</B>()</PRE>
<DL>
<DD>Returns whether this context should be encoded or not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a <code>boolean</code> value</DL>
</DD>
</DL>
<HR>
<A NAME="qName2String(javax.xml.namespace.QName, boolean)"><!-- --></A><H3>
qName2String</H3>
<PRE>
public java.lang.String <B>qName2String</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName,
boolean&nbsp;writeNS)</PRE>
<DL>
<DD>Convert QName to a string of the form <prefix>:<localpart>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> -
<DT><B>Returns:</B><DD>prefixed qname representation for serialization.</DL>
</DD>
</DL>
<HR>
<A NAME="qName2String(javax.xml.namespace.QName)"><!-- --></A><H3>
qName2String</H3>
<PRE>
public java.lang.String <B>qName2String</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="attributeQName2String(javax.xml.namespace.QName)"><!-- --></A><H3>
attributeQName2String</H3>
<PRE>
public java.lang.String <B>attributeQName2String</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName)</PRE>
<DL>
<DD>Convert attribute QName to a string of the form <prefix>:<localpart>
There are slightly different rules for attributes:
- There is no default namespace
- any attribute in a namespace must have a prefix
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - QName
<DT><B>Returns:</B><DD>prefixed qname representation for serialization.</DL>
</DD>
</DL>
<HR>
<A NAME="getQNameForClass(java.lang.Class)"><!-- --></A><H3>
getQNameForClass</H3>
<PRE>
public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getQNameForClass</B>(java.lang.Class&nbsp;cls)</PRE>
<DL>
<DD>Get the QName associated with the specified class.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cls</CODE> - Class of an object requiring serialization.
<DT><B>Returns:</B><DD>appropriate QName associated with the class.</DL>
</DD>
</DL>
<HR>
<A NAME="isPrimitive(java.lang.Object)"><!-- --></A><H3>
isPrimitive</H3>
<PRE>
public boolean <B>isPrimitive</B>(java.lang.Object&nbsp;value)</PRE>
<DL>
<DD>Indicates whether the object should be interpretted as a primitive
for the purposes of multi-ref processing. A primitive value
is serialized directly instead of using id/href pairs. Thus
primitive serialization/deserialization is slightly faster.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - to be serialized
<DT><B>Returns:</B><DD>true/false</DL>
</DD>
</DL>
<HR>
<A NAME="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value)
throws java.io.IOException</PRE>
<DL>
<DD>Serialize the indicated value as an element with the name
indicated by elemQName.
The attributes are additional attribute to be serialized on the element.
The value is the object being serialized. (It may be serialized
directly or serialized as an mult-ref'd item)
The value is an Object, which may be a wrapped primitive, the
javaType is the actual unwrapped object type.
xsi:type is set by using the javaType to
find an appopriate xmlType from the TypeMappingRegistry.
Null values and the xsi:type flag will be sent or not depending
on previous configuration of this SerializationContext.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elemQName</CODE> - is the QName of the element<DD><CODE>attributes</CODE> - are additional attributes<DD><CODE>value</CODE> - is the object to serialize
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType)
throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>use serialize(QName, Attributes, Object, QName, Class) instead</I>
<P>
<DD>Serialize the indicated value as an element with the name
indicated by elemQName.
The attributes are additional attribute to be serialized on the element.
The value is the object being serialized. (It may be serialized
directly or serialized as an mult-ref'd item)
The value is an Object, which may be a wrapped primitive, the
javaType is the actual unwrapped object type.
The xmlType is the QName of the type that is used to set
xsi:type. If not specified, xsi:type is set by using the javaType to
find an appopriate xmlType from the TypeMappingRegistry.
Null values and the xsi:type flag will be sent or not depending
on previous configuration of this SerializationContext.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elemQName</CODE> - is the QName of the element<DD><CODE>attributes</CODE> - are additional attributes<DD><CODE>value</CODE> - is the object to serialize<DD><CODE>xmlType</CODE> - is the qname of the type or null.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, java.lang.Class)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Class&nbsp;javaType)
throws java.io.IOException</PRE>
<DL>
<DD>Serialize the indicated value as an element with the name
indicated by elemQName.
The attributes are additional attribute to be serialized on the element.
The value is the object being serialized. (It may be serialized
directly or serialized as an mult-ref'd item)
The value is an Object, which may be a wrapped primitive, the
javaType is the actual unwrapped object type.
The xmlType is the QName of the type that is used to set
xsi:type. If not specified, xsi:type is set by using the javaType to
find an appopriate xmlType from the TypeMappingRegistry.
Null values and the xsi:type flag will be sent or not depending
on previous configuration of this SerializationContext.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elemQName</CODE> - is the QName of the element<DD><CODE>attributes</CODE> - are additional attributes<DD><CODE>value</CODE> - is the object to serialize<DD><CODE>xmlType</CODE> - is the qname of the type or null.<DD><CODE>javaType</CODE> - is the java type of the value
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, boolean, java.lang.Boolean)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
boolean&nbsp;sendNull,
java.lang.Boolean&nbsp;sendType)
throws java.io.IOException</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>use serialize(QName, Attributes, Object, QName,
Boolean, Boolean) instead.</I>
<P>
<DD>Serialize the indicated value as an element with the name
indicated by elemQName.
The attributes are additional attribute to be serialized on the element.
The value is the object being serialized. (It may be serialized
directly or serialized as an mult-ref'd item)
The value is an Object, which may be a wrapped primitive.
The xmlType (if specified) is the QName of the type that is used to set
xsi:type.
The sendNull flag indicates whether null values should be sent over the
wire (default is to send such values with xsi:nil="true").
The sendType flag indicates whether the xsi:type flag should be sent
(default is true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elemQName</CODE> - is the QName of the element<DD><CODE>attributes</CODE> - are additional attributes<DD><CODE>value</CODE> - is the object to serialize<DD><CODE>xmlType</CODE> - is the qname of the type or null.<DD><CODE>sendNull</CODE> - determines whether to send null values.<DD><CODE>sendType</CODE> - determines whether to set xsi:type attribute.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, java.lang.Boolean, java.lang.Boolean)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Boolean&nbsp;sendNull,
java.lang.Boolean&nbsp;sendType)
throws java.io.IOException</PRE>
<DL>
<DD>Serialize the indicated value as an element with the name
indicated by elemQName.
The attributes are additional attribute to be serialized on the element.
The value is the object being serialized. (It may be serialized
directly or serialized as an mult-ref'd item)
The value is an Object, which may be a wrapped primitive.
The xmlType (if specified) is the QName of the type that is used to set
xsi:type.
The sendNull flag indicates whether to end an element with an xsi:nil="true" attribute for null
variables (if Boolean.TRUE), or nothing (if Boolean.FALSE).
The sendType flag indicates whether the xsi:type flag should be sent
(default is true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elemQName</CODE> - is the QName of the element<DD><CODE>attributes</CODE> - are additional attributes<DD><CODE>value</CODE> - is the object to serialize<DD><CODE>xmlType</CODE> - is the qname of the type or null.<DD><CODE>sendNull</CODE> - determines whether to send null values.<DD><CODE>sendType</CODE> - determines whether to set xsi:type attribute.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, java.lang.Class, java.lang.Boolean, java.lang.Boolean)"><!-- --></A><H3>
serialize</H3>
<PRE>
public void <B>serialize</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;elemQName,
org.xml.sax.Attributes&nbsp;attributes,
java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Class&nbsp;javaClass,
java.lang.Boolean&nbsp;sendNull,
java.lang.Boolean&nbsp;sendType)
throws java.io.IOException</PRE>
<DL>
<DD>Serialize the indicated value as an element with the name
indicated by elemQName.
The attributes are additional attribute to be serialized on the element.
The value is the object being serialized. (It may be serialized
directly or serialized as an mult-ref'd item)
The value is an Object, which may be a wrapped primitive.
The xmlType (if specified) is the QName of the type that is used to set
xsi:type.
The sendNull flag indicates whether to end an element with an xsi:nil="true" attribute for null
variables (if Boolean.TRUE), or nothing (if Boolean.FALSE).
The sendType flag indicates whether the xsi:type flag should be sent
(default is true).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elemQName</CODE> - is the QName of the element<DD><CODE>attributes</CODE> - are additional attributes<DD><CODE>value</CODE> - is the object to serialize<DD><CODE>xmlType</CODE> - is the qname of the type or null.<DD><CODE>sendNull</CODE> - determines whether to send null values.<DD><CODE>sendType</CODE> - determines whether to set xsi:type attribute.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="outputMultiRefs()"><!-- --></A><H3>
outputMultiRefs</H3>
<PRE>
public void <B>outputMultiRefs</B>()
throws java.io.IOException</PRE>
<DL>
<DD>The serialize method uses hrefs to reference all non-primitive
values. These values are stored and serialized by calling
outputMultiRefs after the serialize method completes.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="writeXMLDeclaration()"><!-- --></A><H3>
writeXMLDeclaration</H3>
<PRE>
public void <B>writeXMLDeclaration</B>()
throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(javax.xml.namespace.QName, org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
public void <B>startElement</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;qName,
org.xml.sax.Attributes&nbsp;attributes)
throws java.io.IOException</PRE>
<DL>
<DD>Writes (using the Writer) the start tag for element QName along with the
indicated attributes and namespace mappings.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - is the name of the element<DD><CODE>attributes</CODE> - are the attributes to write
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="endElement()"><!-- --></A><H3>
endElement</H3>
<PRE>
public void <B>endElement</B>()
throws java.io.IOException</PRE>
<DL>
<DD>Writes the end element tag for the open element.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="writeChars(char[], int, int)"><!-- --></A><H3>
writeChars</H3>
<PRE>
public void <B>writeChars</B>(char[]&nbsp;p1,
int&nbsp;p2,
int&nbsp;p3)
throws java.io.IOException</PRE>
<DL>
<DD>Convenience operation to write out (to Writer) the characters
in p1 starting at index p2 for length p3.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p1</CODE> - character array to write<DD><CODE>p2</CODE> - starting index in array<DD><CODE>p3</CODE> - length to write
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="writeString(java.lang.String)"><!-- --></A><H3>
writeString</H3>
<PRE>
public void <B>writeString</B>(java.lang.String&nbsp;string)
throws java.io.IOException</PRE>
<DL>
<DD>Convenience operation to write out (to Writer) the String
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>string</CODE> - is the String to write.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="writeSafeString(java.lang.String)"><!-- --></A><H3>
writeSafeString</H3>
<PRE>
public void <B>writeSafeString</B>(java.lang.String&nbsp;string)
throws java.io.IOException</PRE>
<DL>
<DD>Convenience operation to write out (to Writer) the String
properly encoded with xml entities (like &amp)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>string</CODE> - is the String to write.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="writeDOMElement(org.w3c.dom.Element)"><!-- --></A><H3>
writeDOMElement</H3>
<PRE>
public void <B>writeDOMElement</B>(org.w3c.dom.Element&nbsp;el)
throws java.io.IOException</PRE>
<DL>
<DD>Output a DOM representation to a SerializationContext
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>el</CODE> - is a DOM Element
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSerializerForJavaType(java.lang.Class)"><!-- --></A><H3>
getSerializerForJavaType</H3>
<PRE>
public final <A HREF="../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</A> <B>getSerializerForJavaType</B>(java.lang.Class&nbsp;javaType)</PRE>
<DL>
<DD>Convenience method to get the Serializer for a specific
java type
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>javaType</CODE> - is Class for a type to serialize
<DT><B>Returns:</B><DD>Serializer</DL>
</DD>
</DL>
<HR>
<A NAME="setTypeAttribute(org.xml.sax.Attributes, javax.xml.namespace.QName)"><!-- --></A><H3>
setTypeAttribute</H3>
<PRE>
public org.xml.sax.Attributes <B>setTypeAttribute</B>(org.xml.sax.Attributes&nbsp;attributes,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;type)</PRE>
<DL>
<DD>Obtains the type attribute that should be serialized and returns the new list of Attributes
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>attributes</CODE> - of the qname<DD><CODE>type</CODE> - is the qname of the type
<DT><B>Returns:</B><DD>new list of Attributes</DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentXMLType()"><!-- --></A><H3>
getCurrentXMLType</H3>
<PRE>
public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getCurrentXMLType</B>()</PRE>
<DL>
<DD>Get the currently prefered xmlType
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>QName of xmlType or null</DL>
</DD>
</DL>
<HR>
<A NAME="getValueAsString(java.lang.Object, javax.xml.namespace.QName, java.lang.Class)"><!-- --></A><H3>
getValueAsString</H3>
<PRE>
public java.lang.String <B>getValueAsString</B>(java.lang.Object&nbsp;value,
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;xmlType,
java.lang.Class&nbsp;javaClass)
throws java.io.IOException</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setWriteXMLType(javax.xml.namespace.QName)"><!-- --></A><H3>
setWriteXMLType</H3>
<PRE>
public void <B>setWriteXMLType</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;type)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getEncoder()"><!-- --></A><H3>
getEncoder</H3>
<PRE>
public <A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A> <B>getEncoder</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getEncoding()"><!-- --></A><H3>
getEncoding</H3>
<PRE>
public java.lang.String <B>getEncoding</B>()</PRE>
<DL>
<DD>get the encoding for the serialization
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
setEncoding</H3>
<PRE>
public void <B>setEncoding</B>(java.lang.String&nbsp;encoding)</PRE>
<DL>
<DD>set the encoding for the serialization
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getItemQName()"><!-- --></A><H3>
getItemQName</H3>
<PRE>
public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getItemQName</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setItemQName(javax.xml.namespace.QName)"><!-- --></A><H3>
setItemQName</H3>
<PRE>
public void <B>setItemQName</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;itemQName)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getItemType()"><!-- --></A><H3>
getItemType</H3>
<PRE>
public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getItemType</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setItemType(javax.xml.namespace.QName)"><!-- --></A><H3>
setItemType</H3>
<PRE>
public void <B>setItemType</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>&nbsp;itemType)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SerializationContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/axis/encoding/MethodTarget.html" title="class in org.apache.axis.encoding"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/axis/encoding/TextSerializationContext.html" title="class in org.apache.axis.encoding"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SerializationContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2005 Apache Web Services Project. All Rights Reserved.
</BODY>
</HTML>