| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>SerializationContext (Apache Axis)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SerializationContext (Apache Axis)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/SerializationContext.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis/encoding/MixedContentType.html" title="interface in org.apache.axis.encoding"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis/encoding/SerializationContext.html" target="_top">Frames</a></li> |
| <li><a href="SerializationContext.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis.encoding</div> |
| <h2 title="Class SerializationContext" class="title">Class SerializationContext</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis.encoding.SerializationContext</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../javax/xml/rpc/encoding/SerializationContext.html" title="interface in javax.xml.rpc.encoding">SerializationContext</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <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> |
| <br> |
| <pre>public class <span class="strong">SerializationContext</span> |
| extends <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../javax/xml/rpc/encoding/SerializationContext.html" title="interface in javax.xml.rpc.encoding">SerializationContext</a></pre> |
| <div class="block">Manage a serialization, including keeping track of namespace mappings |
| and element stacks.</div> |
| <dl><dt><span class="strong">Author:</span></dt> |
| <dd>Glen Daniels (gdaniels@apache.org), Rich Scheuerle <scheu@us.ibm.com></dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static org.apache.commons.logging.Log</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#log">log</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#startOfDocument">startOfDocument</a></strong></code> |
| <div class="block">The flag whether the XML decl should be written</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#SerializationContext(java.io.Writer)">SerializationContext</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> |
| <div class="block">Construct SerializationContext with associated writer</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#SerializationContext(java.io.Writer,%20org.apache.axis.MessageContext)">SerializationContext</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| <a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</code> |
| <div class="block">Construct SerializationContext with associated writer and MessageContext</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#attributeQName2String(javax.xml.namespace.QName)">attributeQName2String</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName)</code> |
| <div class="block">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</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#endElement()">endElement</a></strong>()</code> |
| <div class="block">Writes the end element tag for the open element.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getCurrentMessage()">getCurrentMessage</a></strong>()</code> |
| <div class="block">Return the current message</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getCurrentXMLType()">getCurrentXMLType</a></strong>()</code> |
| <div class="block">Get the currently prefered xmlType</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getDoMultiRefs()">getDoMultiRefs</a></strong>()</code> |
| <div class="block">Are we doing multirefs?</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getEncoder()">getEncoder</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getEncoding()">getEncoding</a></strong>()</code> |
| <div class="block">get the encoding for the serialization</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getEncodingStyle()">getEncodingStyle</a></strong>()</code> |
| <div class="block">Returns this context's encoding style.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getItemQName()">getItemQName</a></strong>()</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getItemType()">getItemType</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getMessageContext()">getMessageContext</a></strong>()</code> |
| <div class="block">Get the MessageContext we're operating with</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getPrefixForURI(java.lang.String)">getPrefixForURI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</code> |
| <div class="block">Get a prefix for a namespace URI.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getPrefixForURI(java.lang.String,%20java.lang.String)">getPrefixForURI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultPrefix)</code> |
| <div class="block">Get a prefix for the given namespace URI.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getPrefixForURI(java.lang.String,%20java.lang.String,%20boolean)">getPrefixForURI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultPrefix, |
| boolean attribute)</code> |
| <div class="block">Get a prefix for the given namespace URI.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getPretty()">getPretty</a></strong>()</code> |
| <div class="block">Get whether the serialization should be pretty printed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getQNameForClass(java.lang.Class)">getQNameForClass</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> cls)</code> |
| <div class="block">Get the QName associated with the specified class.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getSerializerForJavaType(java.lang.Class)">getSerializerForJavaType</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaType)</code> |
| <div class="block">Convenience method to get the Serializer for a specific |
| java type</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getTypeMapping()">getTypeMapping</a></strong>()</code> |
| <div class="block">Get the TypeMapping we're using.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getTypeMappingRegistry()">getTypeMappingRegistry</a></strong>()</code> |
| <div class="block">Get the TypeMappingRegistry we're using.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#getValueAsString(java.lang.Object,%20javax.xml.namespace.QName,%20java.lang.Class)">getValueAsString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaClass)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#isEncoded()">isEncoded</a></strong>()</code> |
| <div class="block">Returns whether this context should be encoded or not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#isPrimitive(java.lang.Object)">isPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Indicates whether the object should be interpretted as a primitive |
| for the purposes of multi-ref processing.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#outputMultiRefs()">outputMultiRefs</a></strong>()</code> |
| <div class="block">The serialize method uses hrefs to reference all non-primitive |
| values.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#qName2String(javax.xml.namespace.QName)">qName2String</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#qName2String(javax.xml.namespace.QName,%20boolean)">qName2String</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName, |
| boolean writeNS)</code> |
| <div class="block">Convert QName to a string of the form <prefix>:<localpart></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#registerPrefixForURI(java.lang.String,%20java.lang.String)">registerPrefixForURI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</code> |
| <div class="block">Register prefix for the indicated uri</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName,%20org.xml.sax.Attributes,%20java.lang.Object)">serialize</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> |
| <div class="block">Serialize the indicated value as an element with the name |
| indicated by elemQName.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName,%20org.xml.sax.Attributes,%20java.lang.Object,%20javax.xml.namespace.QName)">serialize</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType)</code> |
| <div class="block"><strong>Deprecated.</strong> |
| <div class="block"><i>use serialize(QName, Attributes, Object, QName, Class) instead</i></div> |
| </div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName,%20org.xml.sax.Attributes,%20java.lang.Object,%20javax.xml.namespace.QName,%20boolean,%20java.lang.Boolean)">serialize</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| boolean sendNull, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendType)</code> |
| <div class="block"><strong>Deprecated.</strong> |
| <div class="block"><i>use serialize(QName, Attributes, Object, QName, |
| Boolean, Boolean) instead.</i></div> |
| </div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName,%20org.xml.sax.Attributes,%20java.lang.Object,%20javax.xml.namespace.QName,%20java.lang.Boolean,%20java.lang.Boolean)">serialize</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendNull, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendType)</code> |
| <div class="block">Serialize the indicated value as an element with the name |
| indicated by elemQName.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName,%20org.xml.sax.Attributes,%20java.lang.Object,%20javax.xml.namespace.QName,%20java.lang.Class)">serialize</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaType)</code> |
| <div class="block">Serialize the indicated value as an element with the name |
| indicated by elemQName.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#serialize(javax.xml.namespace.QName,%20org.xml.sax.Attributes,%20java.lang.Object,%20javax.xml.namespace.QName,%20java.lang.Class,%20java.lang.Boolean,%20java.lang.Boolean)">serialize</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaClass, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendNull, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendType)</code> |
| <div class="block">Serialize the indicated value as an element with the name |
| indicated by elemQName.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setDoMultiRefs(boolean)">setDoMultiRefs</a></strong>(boolean shouldDo)</code> |
| <div class="block">Set whether we are doing multirefs</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setEncoding(java.lang.String)">setEncoding</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encoding)</code> |
| <div class="block">set the encoding for the serialization</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setItemQName(javax.xml.namespace.QName)">setItemQName</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> itemQName)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setItemType(javax.xml.namespace.QName)">setItemType</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> itemType)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setPretty(boolean)">setPretty</a></strong>(boolean pretty)</code> |
| <div class="block">Indicate whether the serialization should be pretty printed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setSendDecl(boolean)">setSendDecl</a></strong>(boolean sendDecl)</code> |
| <div class="block">Set whether or not we should write XML declarations.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setTypeAttribute(org.xml.sax.Attributes,%20javax.xml.namespace.QName)">setTypeAttribute</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> type)</code> |
| <div class="block">Obtains the type attribute that should be serialized and returns the new list of Attributes</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#setWriteXMLType(javax.xml.namespace.QName)">setWriteXMLType</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> type)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#shouldSendXSIType()">shouldSendXSIType</a></strong>()</code> |
| <div class="block">Get whether or not to write xsi:type attributes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#startElement(javax.xml.namespace.QName,%20org.xml.sax.Attributes)">startElement</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes)</code> |
| <div class="block">Writes (using the Writer) the start tag for element QName along with the |
| indicated attributes and namespace mappings.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#writeChars(char[],%20int,%20int)">writeChars</a></strong>(char[] p1, |
| int p2, |
| int p3)</code> |
| <div class="block">Convenience operation to write out (to Writer) the characters |
| in p1 starting at index p2 for length p3.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#writeDOMElement(org.w3c.dom.Element)">writeDOMElement</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> el)</code> |
| <div class="block">Output a DOM representation to a SerializationContext</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#writeSafeString(java.lang.String)">writeSafeString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</code> |
| <div class="block">Convenience operation to write out (to Writer) the String |
| properly encoded with xml entities (like &)</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#writeString(java.lang.String)">writeString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</code> |
| <div class="block">Convenience operation to write out (to Writer) the String</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/SerializationContext.html#writeXMLDeclaration()">writeXMLDeclaration</a></strong>()</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="log"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>protected static org.apache.commons.logging.Log log</pre> |
| </li> |
| </ul> |
| <a name="startOfDocument"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>startOfDocument</h4> |
| <pre>protected boolean startOfDocument</pre> |
| <div class="block">The flag whether the XML decl should be written</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="SerializationContext(java.io.Writer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>SerializationContext</h4> |
| <pre>public SerializationContext(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| <div class="block">Construct SerializationContext with associated writer</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>writer</code> - java.io.Writer</dd></dl> |
| </li> |
| </ul> |
| <a name="SerializationContext(java.io.Writer, org.apache.axis.MessageContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SerializationContext</h4> |
| <pre>public SerializationContext(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| <a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</pre> |
| <div class="block">Construct SerializationContext with associated writer and MessageContext</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>writer</code> - java.io.Writer</dd><dd><code>msgContext</code> - is the MessageContext</dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getPretty()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPretty</h4> |
| <pre>public boolean getPretty()</pre> |
| <div class="block">Get whether the serialization should be pretty printed.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true/false</dd></dl> |
| </li> |
| </ul> |
| <a name="setPretty(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPretty</h4> |
| <pre>public void setPretty(boolean pretty)</pre> |
| <div class="block">Indicate whether the serialization should be pretty printed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>pretty</code> - true/false</dd></dl> |
| </li> |
| </ul> |
| <a name="getDoMultiRefs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDoMultiRefs</h4> |
| <pre>public boolean getDoMultiRefs()</pre> |
| <div class="block">Are we doing multirefs?</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true or false</dd></dl> |
| </li> |
| </ul> |
| <a name="setDoMultiRefs(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDoMultiRefs</h4> |
| <pre>public void setDoMultiRefs(boolean shouldDo)</pre> |
| <div class="block">Set whether we are doing multirefs</div> |
| </li> |
| </ul> |
| <a name="setSendDecl(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSendDecl</h4> |
| <pre>public void setSendDecl(boolean sendDecl)</pre> |
| <div class="block">Set whether or not we should write XML declarations.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>sendDecl</code> - true/false</dd></dl> |
| </li> |
| </ul> |
| <a name="shouldSendXSIType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>shouldSendXSIType</h4> |
| <pre>public boolean shouldSendXSIType()</pre> |
| <div class="block">Get whether or not to write xsi:type attributes.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true/false</dd></dl> |
| </li> |
| </ul> |
| <a name="getTypeMapping()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeMapping</h4> |
| <pre>public <a href="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</a> getTypeMapping()</pre> |
| <div class="block">Get the TypeMapping we're using.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>TypeMapping or null</dd></dl> |
| </li> |
| </ul> |
| <a name="getTypeMappingRegistry()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTypeMappingRegistry</h4> |
| <pre>public <a href="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</a> getTypeMappingRegistry()</pre> |
| <div class="block">Get the TypeMappingRegistry we're using.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>TypeMapping or null</dd></dl> |
| </li> |
| </ul> |
| <a name="getPrefixForURI(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrefixForURI</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPrefixForURI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</pre> |
| <div class="block">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>".</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - is the namespace uri</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>prefix</dd></dl> |
| </li> |
| </ul> |
| <a name="getPrefixForURI(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrefixForURI</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPrefixForURI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultPrefix)</pre> |
| <div class="block">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>"</div> |
| </li> |
| </ul> |
| <a name="getPrefixForURI(java.lang.String, java.lang.String, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrefixForURI</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPrefixForURI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultPrefix, |
| boolean attribute)</pre> |
| <div class="block">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>"</div> |
| </li> |
| </ul> |
| <a name="registerPrefixForURI(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>registerPrefixForURI</h4> |
| <pre>public void registerPrefixForURI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</pre> |
| <div class="block">Register prefix for the indicated uri</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefix</code> - </dd><dd><code>uri</code> - is the namespace uri</dd></dl> |
| </li> |
| </ul> |
| <a name="getCurrentMessage()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrentMessage</h4> |
| <pre>public <a href="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</a> getCurrentMessage()</pre> |
| <div class="block">Return the current message</div> |
| </li> |
| </ul> |
| <a name="getMessageContext()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMessageContext</h4> |
| <pre>public <a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> getMessageContext()</pre> |
| <div class="block">Get the MessageContext we're operating with</div> |
| </li> |
| </ul> |
| <a name="getEncodingStyle()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEncodingStyle</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEncodingStyle()</pre> |
| <div class="block">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.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a <code>String</code> value</dd></dl> |
| </li> |
| </ul> |
| <a name="isEncoded()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEncoded</h4> |
| <pre>public boolean isEncoded()</pre> |
| <div class="block">Returns whether this context should be encoded or not.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a <code>boolean</code> value</dd></dl> |
| </li> |
| </ul> |
| <a name="qName2String(javax.xml.namespace.QName, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>qName2String</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> qName2String(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName, |
| boolean writeNS)</pre> |
| <div class="block">Convert QName to a string of the form <prefix>:<localpart></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>qName</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd>prefixed qname representation for serialization.</dd></dl> |
| </li> |
| </ul> |
| <a name="qName2String(javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>qName2String</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> qName2String(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName)</pre> |
| </li> |
| </ul> |
| <a name="attributeQName2String(javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>attributeQName2String</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> attributeQName2String(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName)</pre> |
| <div class="block">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</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>qName</code> - QName</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>prefixed qname representation for serialization.</dd></dl> |
| </li> |
| </ul> |
| <a name="getQNameForClass(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQNameForClass</h4> |
| <pre>public <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> getQNameForClass(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> cls)</pre> |
| <div class="block">Get the QName associated with the specified class.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - Class of an object requiring serialization.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>appropriate QName associated with the class.</dd></dl> |
| </li> |
| </ul> |
| <a name="isPrimitive(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPrimitive</h4> |
| <pre>public boolean isPrimitive(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> |
| <div class="block">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.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - to be serialized</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>true/false</dd></dl> |
| </li> |
| </ul> |
| <a name="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serialize</h4> |
| <pre>public void serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">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.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elemQName</code> - is the QName of the element</dd><dd><code>attributes</code> - are additional attributes</dd><dd><code>value</code> - is the object to serialize</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serialize</h4> |
| <pre>public void serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="strong">Deprecated.</span> <i>use serialize(QName, Attributes, Object, QName, Class) instead</i></div> |
| <div class="block">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.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elemQName</code> - is the QName of the element</dd><dd><code>attributes</code> - are additional attributes</dd><dd><code>value</code> - is the object to serialize</dd><dd><code>xmlType</code> - is the qname of the type or null.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serialize</h4> |
| <pre>public void serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaType) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">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.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elemQName</code> - is the QName of the element</dd><dd><code>attributes</code> - are additional attributes</dd><dd><code>value</code> - is the object to serialize</dd><dd><code>xmlType</code> - is the qname of the type or null.</dd><dd><code>javaType</code> - is the java type of the value</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, javax.xml.namespace.QName, boolean, java.lang.Boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serialize</h4> |
| <pre>public void serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| boolean sendNull, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendType) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block"><span class="strong">Deprecated.</span> <i>use serialize(QName, Attributes, Object, QName, |
| Boolean, Boolean) instead.</i></div> |
| <div class="block">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).</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elemQName</code> - is the QName of the element</dd><dd><code>attributes</code> - are additional attributes</dd><dd><code>value</code> - is the object to serialize</dd><dd><code>xmlType</code> - is the qname of the type or null.</dd><dd><code>sendNull</code> - determines whether to send null values.</dd><dd><code>sendType</code> - determines whether to set xsi:type attribute.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <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> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serialize</h4> |
| <pre>public void serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendNull, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendType) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">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).</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elemQName</code> - is the QName of the element</dd><dd><code>attributes</code> - are additional attributes</dd><dd><code>value</code> - is the object to serialize</dd><dd><code>xmlType</code> - is the qname of the type or null.</dd><dd><code>sendNull</code> - determines whether to send null values.</dd><dd><code>sendType</code> - determines whether to set xsi:type attribute.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <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> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>serialize</h4> |
| <pre>public void serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> elemQName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaClass, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendNull, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sendType) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">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).</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>elemQName</code> - is the QName of the element</dd><dd><code>attributes</code> - are additional attributes</dd><dd><code>value</code> - is the object to serialize</dd><dd><code>xmlType</code> - is the qname of the type or null.</dd><dd><code>javaType</code> - is the java type of the value</dd><dd><code>sendNull</code> - determines whether to send null values.</dd><dd><code>sendType</code> - determines whether to set xsi:type attribute.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="outputMultiRefs()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>outputMultiRefs</h4> |
| <pre>public void outputMultiRefs() |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">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.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="writeXMLDeclaration()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeXMLDeclaration</h4> |
| <pre>public void writeXMLDeclaration() |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="startElement(javax.xml.namespace.QName, org.xml.sax.Attributes)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startElement</h4> |
| <pre>public void startElement(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qName, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes (using the Writer) the start tag for element QName along with the |
| indicated attributes and namespace mappings.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>qName</code> - is the name of the element</dd><dd><code>attributes</code> - are the attributes to write</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="endElement()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endElement</h4> |
| <pre>public void endElement() |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the end element tag for the open element.</div> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="writeChars(char[], int, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeChars</h4> |
| <pre>public void writeChars(char[] p1, |
| int p2, |
| int p3) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Convenience operation to write out (to Writer) the characters |
| in p1 starting at index p2 for length p3.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>p1</code> - character array to write</dd><dd><code>p2</code> - starting index in array</dd><dd><code>p3</code> - length to write</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="writeString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeString</h4> |
| <pre>public void writeString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Convenience operation to write out (to Writer) the String</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>string</code> - is the String to write.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="writeSafeString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeSafeString</h4> |
| <pre>public void writeSafeString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Convenience operation to write out (to Writer) the String |
| properly encoded with xml entities (like &)</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>string</code> - is the String to write.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="writeDOMElement(org.w3c.dom.Element)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeDOMElement</h4> |
| <pre>public void writeDOMElement(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> el) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Output a DOM representation to a SerializationContext</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>el</code> - is a DOM Element</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getSerializerForJavaType(java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSerializerForJavaType</h4> |
| <pre>public final <a href="../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</a> getSerializerForJavaType(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaType)</pre> |
| <div class="block">Convenience method to get the Serializer for a specific |
| java type</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>javaType</code> - is Class for a type to serialize</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Serializer</dd></dl> |
| </li> |
| </ul> |
| <a name="setTypeAttribute(org.xml.sax.Attributes, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTypeAttribute</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> setTypeAttribute(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</a> attributes, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> type)</pre> |
| <div class="block">Obtains the type attribute that should be serialized and returns the new list of Attributes</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>attributes</code> - of the qname</dd><dd><code>type</code> - is the qname of the type</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>new list of Attributes</dd></dl> |
| </li> |
| </ul> |
| <a name="getCurrentXMLType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrentXMLType</h4> |
| <pre>public <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> getCurrentXMLType()</pre> |
| <div class="block">Get the currently prefered xmlType</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>QName of xmlType or null</dd></dl> |
| </li> |
| </ul> |
| <a name="getValueAsString(java.lang.Object, javax.xml.namespace.QName, java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueAsString</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getValueAsString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> xmlType, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a> javaClass) |
| throws <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl><dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="setWriteXMLType(javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setWriteXMLType</h4> |
| <pre>public void setWriteXMLType(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> type)</pre> |
| </li> |
| </ul> |
| <a name="getEncoder()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEncoder</h4> |
| <pre>public <a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a> getEncoder()</pre> |
| </li> |
| </ul> |
| <a name="getEncoding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEncoding</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEncoding()</pre> |
| <div class="block">get the encoding for the serialization</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd></dd></dl> |
| </li> |
| </ul> |
| <a name="setEncoding(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEncoding</h4> |
| <pre>public void setEncoding(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encoding)</pre> |
| <div class="block">set the encoding for the serialization</div> |
| </li> |
| </ul> |
| <a name="getItemQName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemQName</h4> |
| <pre>public <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> getItemQName()</pre> |
| </li> |
| </ul> |
| <a name="setItemQName(javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItemQName</h4> |
| <pre>public void setItemQName(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> itemQName)</pre> |
| </li> |
| </ul> |
| <a name="getItemType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemType</h4> |
| <pre>public <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> getItemType()</pre> |
| </li> |
| </ul> |
| <a name="setItemType(javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setItemType</h4> |
| <pre>public void setItemType(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> itemType)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/SerializationContext.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis/encoding/MixedContentType.html" title="interface in org.apache.axis.encoding"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis/encoding/SerializationContext.html" target="_top">Frames</a></li> |
| <li><a href="SerializationContext.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |