blob: a2d00d0ea274e702ef532ae663629eeb55a28a0d [file] [log] [blame]
<!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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;</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">&nbsp;</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>&nbsp;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>&nbsp;writer,
<a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a>&nbsp;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">&nbsp;</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>&nbsp;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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;defaultPrefix,
boolean&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;javaClass)</code>&nbsp;</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>&nbsp;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>&nbsp;qName)</code>&nbsp;</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>&nbsp;qName,
boolean&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;xmlType)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<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>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;xmlType,
boolean&nbsp;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>&nbsp;sendType)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<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>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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&nbsp;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>&nbsp;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>&nbsp;itemQName)</code>&nbsp;</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>&nbsp;itemType)</code>&nbsp;</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&nbsp;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&nbsp;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>&nbsp;attributes,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;type)</code>&nbsp;</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>&nbsp;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>&nbsp;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[]&nbsp;p1,
int&nbsp;p2,
int&nbsp;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>&nbsp;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>&nbsp;string)</code>
<div class="block">Convenience operation to write out (to Writer) the String
properly encoded with xml entities (like &amp)</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>&nbsp;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>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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&nbsp;org.apache.commons.logging.Log log</pre>
</li>
</ul>
<a name="startOfDocument">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>startOfDocument</h4>
<pre>protected&nbsp;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&nbsp;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>&nbsp;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&nbsp;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>&nbsp;writer,
<a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a>&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setPretty(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;void&nbsp;setDoMultiRefs(boolean&nbsp;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&nbsp;void&nbsp;setSendDecl(boolean&nbsp;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&nbsp;boolean&nbsp;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&nbsp;<a href="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</a>&nbsp;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&nbsp;<a href="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</a>&nbsp;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&nbsp;<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>&nbsp;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>&nbsp;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&nbsp;<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>&nbsp;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>&nbsp;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>&nbsp;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&nbsp;<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>&nbsp;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>&nbsp;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>&nbsp;defaultPrefix,
boolean&nbsp;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&nbsp;void&nbsp;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>&nbsp;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>&nbsp;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&nbsp;<a href="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</a>&nbsp;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&nbsp;<a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a>&nbsp;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&nbsp;<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>&nbsp;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&nbsp;boolean&nbsp;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&nbsp;<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>&nbsp;qName2String(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;qName,
boolean&nbsp;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&nbsp;<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>&nbsp;qName2String(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;qName)</pre>
</li>
</ul>
<a name="attributeQName2String(javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>attributeQName2String</h4>
<pre>public&nbsp;<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>&nbsp;attributeQName2String(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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&nbsp;<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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&nbsp;boolean&nbsp;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>&nbsp;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&nbsp;void&nbsp;serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;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&nbsp;void&nbsp;serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;<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&nbsp;void&nbsp;serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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&nbsp;void&nbsp;serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;xmlType,
boolean&nbsp;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>&nbsp;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>&nbsp;<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&nbsp;void&nbsp;serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;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&nbsp;void&nbsp;serialize(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;startElement(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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&nbsp;void&nbsp;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&nbsp;void&nbsp;writeChars(char[]&nbsp;p1,
int&nbsp;p2,
int&nbsp;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&nbsp;void&nbsp;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>&nbsp;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&nbsp;void&nbsp;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>&nbsp;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 &amp)</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&nbsp;void&nbsp;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>&nbsp;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&nbsp;<a href="../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</a>&nbsp;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>&nbsp;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&nbsp;<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>&nbsp;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>&nbsp;attributes,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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&nbsp;<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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&nbsp;<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>&nbsp;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>&nbsp;value,
<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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>&nbsp;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&nbsp;void&nbsp;setWriteXMLType(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;type)</pre>
</li>
</ul>
<a name="getEncoder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncoder</h4>
<pre>public&nbsp;<a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a>&nbsp;getEncoder()</pre>
</li>
</ul>
<a name="getEncoding()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEncoding</h4>
<pre>public&nbsp;<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>&nbsp;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&nbsp;void&nbsp;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>&nbsp;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&nbsp;<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;getItemQName()</pre>
</li>
</ul>
<a name="setItemQName(javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setItemQName</h4>
<pre>public&nbsp;void&nbsp;setItemQName(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;itemQName)</pre>
</li>
</ul>
<a name="getItemType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemType</h4>
<pre>public&nbsp;<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;getItemType()</pre>
</li>
</ul>
<a name="setItemType(javax.xml.namespace.QName)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setItemType</h4>
<pre>public&nbsp;void&nbsp;setItemType(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a>&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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>