| <!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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SerializationContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/axis/encoding/MethodTarget.html" title="class in org.apache.axis.encoding"><B>PREV CLASS</B></A> |
| <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> |
| <A HREF="SerializationContext.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 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> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#startOfDocument">startOfDocument</A></B></CODE> |
| |
| <BR> |
| The flag whether the XML decl should be written</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== 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 writer)</CODE> |
| |
| <BR> |
| 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 writer, |
| <A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext)</CODE> |
| |
| <BR> |
| Construct SerializationContext with associated writer and MessageContext</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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> 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> qName)</CODE> |
| |
| <BR> |
| 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#endElement()">endElement</A></B>()</CODE> |
| |
| <BR> |
| 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> <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> |
| Return the current message</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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> |
| Get the currently prefered xmlType</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getDoMultiRefs()">getDoMultiRefs</A></B>()</CODE> |
| |
| <BR> |
| Are we doing multirefs?</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getEncoding()">getEncoding</A></B>()</CODE> |
| |
| <BR> |
| get the encoding for the serialization</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getEncodingStyle()">getEncodingStyle</A></B>()</CODE> |
| |
| <BR> |
| Returns this context's encoding style.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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> |
| 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> 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 uri)</CODE> |
| |
| <BR> |
| 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> 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 uri, |
| java.lang.String defaultPrefix)</CODE> |
| |
| <BR> |
| 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> 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 uri, |
| java.lang.String defaultPrefix, |
| boolean attribute)</CODE> |
| |
| <BR> |
| 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> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#getPretty()">getPretty</A></B>()</CODE> |
| |
| <BR> |
| 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> <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 cls)</CODE> |
| |
| <BR> |
| 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> <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 javaType)</CODE> |
| |
| <BR> |
| 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> <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> |
| Get the TypeMapping we're using.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <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> |
| Get the TypeMappingRegistry we're using.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> 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 value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Class javaClass)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#isEncoded()">isEncoded</A></B>()</CODE> |
| |
| <BR> |
| 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> 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 value)</CODE> |
| |
| <BR> |
| 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#outputMultiRefs()">outputMultiRefs</A></B>()</CODE> |
| |
| <BR> |
| 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> 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> qName)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> 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> qName, |
| boolean writeNS)</CODE> |
| |
| <BR> |
| 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> 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 prefix, |
| java.lang.String uri)</CODE> |
| |
| <BR> |
| Register prefix for the indicated uri</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value)</CODE> |
| |
| <BR> |
| 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> 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <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> 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| boolean sendNull, |
| java.lang.Boolean sendType)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <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> 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Boolean sendNull, |
| java.lang.Boolean sendType)</CODE> |
| |
| <BR> |
| 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> 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Class javaType)</CODE> |
| |
| <BR> |
| 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> 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Class javaClass, |
| java.lang.Boolean sendNull, |
| java.lang.Boolean sendType)</CODE> |
| |
| <BR> |
| 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setDoMultiRefs(boolean)">setDoMultiRefs</A></B>(boolean shouldDo)</CODE> |
| |
| <BR> |
| Set whether we are doing multirefs</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> 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 encoding)</CODE> |
| |
| <BR> |
| set the encoding for the serialization</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> 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> itemQName)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> 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> itemType)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setPretty(boolean)">setPretty</A></B>(boolean pretty)</CODE> |
| |
| <BR> |
| 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#setSendDecl(boolean)">setSendDecl</A></B>(boolean sendDecl)</CODE> |
| |
| <BR> |
| 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> 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 attributes, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> type)</CODE> |
| |
| <BR> |
| 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> 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> type)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#shouldSendXSIType()">shouldSendXSIType</A></B>()</CODE> |
| |
| <BR> |
| 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> 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> qName, |
| org.xml.sax.Attributes attributes)</CODE> |
| |
| <BR> |
| 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#writeChars(char[], int, int)">writeChars</A></B>(char[] p1, |
| int p2, |
| int p3)</CODE> |
| |
| <BR> |
| 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> 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 el)</CODE> |
| |
| <BR> |
| 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> 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 string)</CODE> |
| |
| <BR> |
| Convenience operation to write out (to Writer) the String |
| properly encoded with xml entities (like &)</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> 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 string)</CODE> |
| |
| <BR> |
| 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/SerializationContext.html#writeXMLDeclaration()">writeXMLDeclaration</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| <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> |
| |
| <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 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 writer, |
| <A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> 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 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 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 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 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 uri, |
| java.lang.String 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 uri, |
| java.lang.String defaultPrefix, |
| boolean 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 prefix, |
| java.lang.String 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> qName, |
| boolean 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> 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> 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 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 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType) |
| throws java.io.IOException</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Class 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| boolean sendNull, |
| java.lang.Boolean sendType) |
| throws java.io.IOException</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Boolean sendNull, |
| java.lang.Boolean 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> elemQName, |
| org.xml.sax.Attributes attributes, |
| java.lang.Object value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Class javaClass, |
| java.lang.Boolean sendNull, |
| java.lang.Boolean 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> qName, |
| org.xml.sax.Attributes 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[] p1, |
| int p2, |
| int 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 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 string) |
| throws java.io.IOException</PRE> |
| <DL> |
| <DD>Convenience operation to write out (to Writer) the String |
| properly encoded with xml entities (like &) |
| <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 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 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 attributes, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> 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 value, |
| <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType, |
| java.lang.Class 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> 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 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> 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> 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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SerializationContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/axis/encoding/MethodTarget.html" title="class in org.apache.axis.encoding"><B>PREV CLASS</B></A> |
| <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> |
| <A HREF="SerializationContext.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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> |