blob: 9e31cc0747e603eb9e99ffce6490e412afd94282 [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>TypeMappingRegistryImpl (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="TypeMappingRegistryImpl (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/TypeMappingRegistryImpl.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/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/axis/encoding/XMLType.html" title="class 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/TypeMappingRegistryImpl.html" target="_top">Frames</a></li>
<li><a href="TypeMappingRegistryImpl.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>Field&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>Field&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 TypeMappingRegistryImpl" class="title">Class TypeMappingRegistryImpl</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.TypeMappingRegistryImpl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">TypeMappingRegistryImpl</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="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</a></pre>
<div class="block"><p>
The TypeMappingRegistry keeps track of the individual TypeMappings.
</p>
<p>
The TypeMappingRegistry for axis contains a default type mapping
that is set for either SOAP 1.1 or SOAP 1.2
The default type mapping is a singleton used for the entire
runtime and should not have anything new registered in it.
</p>
<p>
Instead the new TypeMappings for the deploy and service are
made in a separate TypeMapping which is identified by
the soap encoding. These new TypeMappings delegate back to
the default type mapping when information is not found.
</p>
<p>
So logically we have:
<pre>
TMR
| |
| +---------------> DefaultTM
| ^
| |
+----> TM --delegate---+
</pre>
But in the implementation, the TMR references
"delegate" TypeMappings (TM') which then reference the actual TM's
</p>
<p>
So the picture is really:
<pre>
TMR
| |
| +-----------TM'------> DefaultTM
| ^
| |
+-TM'-> TM ----+
</pre>
This extra indirection is necessary because the user may want to
change the default type mapping. In such cases, the TMR
just needs to adjust the TM' for the DefaultTM, and all of the
other TMs will properly delegate to the new one. Here's the picture:
<pre>
TMR
| |
| +-----------TM'--+ DefaultTM
| ^ |
| | +---> New User Defined Default TM
+-TM'-> TM ----+
</pre>
The other reason that it is necessary is when a deploy
has a TMR, and then TMR's are defined for the individual services
in such cases the delegate() method is invoked on the service
to delegate to the deploy TMR
<pre>
Deploy TMR
| |
| +-----------TM'------> DefaultTM
| ^
| |
+-TM'-> TM ----+
Service TMR
| |
| +-----------TM'------> DefaultTM
| ^
| |
+-TM'-> TM ----+
ServiceTMR.delegate(DeployTMR)
Deploy TMR
| |
| +------------TM'------> DefaultTM
| ^ ^
| | |
+-TM'-> TM ----+ |
^ |
+-------+ |
| |
| Service TMR |
| | | |
| | +----------TM'-+
| |
| |
| +-TM'-> TM +
| |
+----------------+
</pre>
So now the service uses the DefaultTM of the Deploy TMR, and
the Service TM properly delegates to the deploy's TM. And
if either the deploy defaultTM or TMs change, the links are not broken.
</p></div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>James Snell (jasnell@us.ibm.com), Sam Ruby (rubys@us.ibm.com)
Re-written for JAX-RPC Compliance by, Rich Scheuerle (scheu@us.ibm.com</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.apache.axis.encoding.TypeMappingRegistryImpl">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/TypeMappingRegistryImpl.html#TypeMappingRegistryImpl()">TypeMappingRegistryImpl</a></strong>()</code>
<div class="block">Construct TypeMappingRegistry</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#TypeMappingRegistryImpl(boolean)">TypeMappingRegistryImpl</a></strong>(boolean&nbsp;registerDefaults)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#TypeMappingRegistryImpl(org.apache.axis.encoding.TypeMappingImpl)">TypeMappingRegistryImpl</a></strong>(<a href="../../../../org/apache/axis/encoding/TypeMappingImpl.html" title="class in org.apache.axis.encoding">TypeMappingImpl</a>&nbsp;tm)</code>
<div class="block">Construct TypeMappingRegistry</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>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#clear()">clear</a></strong>()</code>
<div class="block">Removes all TypeMappings and namespaceURIs from this TypeMappingRegistry.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#createTypeMapping()">createTypeMapping</a></strong>()</code>
<div class="block">Creates a new empty TypeMapping object for the specified
encoding style or XML schema namespace.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#delegate(org.apache.axis.encoding.TypeMappingRegistry)">delegate</a></strong>(<a href="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</a>&nbsp;secondaryTMR)</code>
<div class="block">delegate
Changes the contained type mappings to delegate to
their corresponding types in the secondary TMR.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#doRegisterFromVersion(java.lang.String)">doRegisterFromVersion</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;version)</code>
<div class="block">Set up the default type mapping (and the SOAP encoding type mappings)
as per the passed "version" option.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#getDefaultTypeMapping()">getDefaultTypeMapping</a></strong>()</code>
<div class="block">Return the default TypeMapping</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/TypeMappingRegistryImpl.html#getOrMakeTypeMapping(java.lang.String)">getOrMakeTypeMapping</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;encodingStyle)</code>
<div class="block">Obtain a type mapping for the given encodingStyle.</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/TypeMappingRegistryImpl.html#getRegisteredEncodingStyleURIs()">getRegisteredEncodingStyleURIs</a></strong>()</code>
<div class="block">Gets a list of namespace URIs registered with this TypeMappingRegistry.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#getTypeMapping(java.lang.String)">getTypeMapping</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;namespaceURI)</code>
<div class="block">Gets the TypeMapping for the namespace.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#register(java.lang.String,%20javax.xml.rpc.encoding.TypeMapping)">register</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;namespaceURI,
<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;mapping)</code>
<div class="block">The method register adds a TypeMapping instance for a specific
namespace</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#registerDefault(javax.xml.rpc.encoding.TypeMapping)">registerDefault</a></strong>(<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;mapping)</code>
<div class="block">The method register adds a default TypeMapping instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#removeTypeMapping(javax.xml.rpc.encoding.TypeMapping)">removeTypeMapping</a></strong>(<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;mapping)</code>
<div class="block">Removes the TypeMapping for the namespace.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#unregisterTypeMapping(java.lang.String)">unregisterTypeMapping</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;namespaceURI)</code>
<div class="block">Unregisters the TypeMapping for the namespace.</div>
</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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="TypeMappingRegistryImpl(org.apache.axis.encoding.TypeMappingImpl)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TypeMappingRegistryImpl</h4>
<pre>public&nbsp;TypeMappingRegistryImpl(<a href="../../../../org/apache/axis/encoding/TypeMappingImpl.html" title="class in org.apache.axis.encoding">TypeMappingImpl</a>&nbsp;tm)</pre>
<div class="block">Construct TypeMappingRegistry</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tm</code> - </dd></dl>
</li>
</ul>
<a name="TypeMappingRegistryImpl()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TypeMappingRegistryImpl</h4>
<pre>public&nbsp;TypeMappingRegistryImpl()</pre>
<div class="block">Construct TypeMappingRegistry</div>
</li>
</ul>
<a name="TypeMappingRegistryImpl(boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TypeMappingRegistryImpl</h4>
<pre>public&nbsp;TypeMappingRegistryImpl(boolean&nbsp;registerDefaults)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="delegate(org.apache.axis.encoding.TypeMappingRegistry)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delegate</h4>
<pre>public&nbsp;void&nbsp;delegate(<a href="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</a>&nbsp;secondaryTMR)</pre>
<div class="block">delegate
Changes the contained type mappings to delegate to
their corresponding types in the secondary TMR.</div>
</li>
</ul>
<a name="register(java.lang.String, javax.xml.rpc.encoding.TypeMapping)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>register</h4>
<pre>public&nbsp;<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;register(<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;namespaceURI,
<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;mapping)</pre>
<div class="block">The method register adds a TypeMapping instance for a specific
namespace</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#register(java.lang.String,%20javax.xml.rpc.encoding.TypeMapping)">register</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>namespaceURI</code> - </dd><dd><code>mapping</code> - - TypeMapping for specific namespaces</dd>
<dt><span class="strong">Returns:</span></dt><dd>Previous TypeMapping associated with the specified namespaceURI,
or null if there was no TypeMapping associated with the specified namespaceURI</dd></dl>
</li>
</ul>
<a name="registerDefault(javax.xml.rpc.encoding.TypeMapping)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerDefault</h4>
<pre>public&nbsp;void&nbsp;registerDefault(<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;mapping)</pre>
<div class="block">The method register adds a default TypeMapping instance. If a specific
TypeMapping is not found, the default TypeMapping is used.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#registerDefault(javax.xml.rpc.encoding.TypeMapping)">registerDefault</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>mapping</code> - - TypeMapping for specific type namespaces
java.lang.IllegalArgumentException -
if an invalid type mapping is specified or the delegate is already set</dd></dl>
</li>
</ul>
<a name="doRegisterFromVersion(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doRegisterFromVersion</h4>
<pre>public&nbsp;void&nbsp;doRegisterFromVersion(<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;version)</pre>
<div class="block">Set up the default type mapping (and the SOAP encoding type mappings)
as per the passed "version" option.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>version</code> - </dd></dl>
</li>
</ul>
<a name="getTypeMapping(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeMapping</h4>
<pre>public&nbsp;<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;getTypeMapping(<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;namespaceURI)</pre>
<div class="block">Gets the TypeMapping for the namespace. If not found, the default
TypeMapping is returned.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#getTypeMapping(java.lang.String)">getTypeMapping</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>namespaceURI</code> - - The namespace URI of a Web Service</dd>
<dt><span class="strong">Returns:</span></dt><dd>The registered TypeMapping
(which may be the default TypeMapping) or null.</dd></dl>
</li>
</ul>
<a name="getOrMakeTypeMapping(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrMakeTypeMapping</h4>
<pre>public&nbsp;<a href="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</a>&nbsp;getOrMakeTypeMapping(<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;encodingStyle)</pre>
<div class="block">Obtain a type mapping for the given encodingStyle. If no specific
mapping exists for this encodingStyle, we will create and register
one before returning it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>encodingStyle</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a registered TypeMapping for the given encodingStyle</dd></dl>
</li>
</ul>
<a name="unregisterTypeMapping(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unregisterTypeMapping</h4>
<pre>public&nbsp;<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;unregisterTypeMapping(<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;namespaceURI)</pre>
<div class="block">Unregisters the TypeMapping for the namespace.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#unregisterTypeMapping(java.lang.String)">unregisterTypeMapping</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>namespaceURI</code> - - The namespace URI</dd>
<dt><span class="strong">Returns:</span></dt><dd>The registered TypeMapping .</dd></dl>
</li>
</ul>
<a name="removeTypeMapping(javax.xml.rpc.encoding.TypeMapping)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTypeMapping</h4>
<pre>public&nbsp;boolean&nbsp;removeTypeMapping(<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;mapping)</pre>
<div class="block">Removes the TypeMapping for the namespace.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#removeTypeMapping(javax.xml.rpc.encoding.TypeMapping)">removeTypeMapping</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>mapping</code> - The type mapping to remove</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if found and removed</dd></dl>
</li>
</ul>
<a name="createTypeMapping()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTypeMapping</h4>
<pre>public&nbsp;<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;createTypeMapping()</pre>
<div class="block">Creates a new empty TypeMapping object for the specified
encoding style or XML schema namespace.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#createTypeMapping()">createTypeMapping</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>An empty generic TypeMapping object</dd></dl>
</li>
</ul>
<a name="getRegisteredEncodingStyleURIs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegisteredEncodingStyleURIs</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;getRegisteredEncodingStyleURIs()</pre>
<div class="block">Gets a list of namespace URIs registered with this TypeMappingRegistry.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#getRegisteredEncodingStyleURIs()">getRegisteredEncodingStyleURIs</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>String[] containing names of all registered namespace URIs</dd></dl>
</li>
</ul>
<a name="clear()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;void&nbsp;clear()</pre>
<div class="block">Removes all TypeMappings and namespaceURIs from this TypeMappingRegistry.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#clear()">clear</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
</dl>
</li>
</ul>
<a name="getDefaultTypeMapping()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getDefaultTypeMapping</h4>
<pre>public&nbsp;<a href="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</a>&nbsp;getDefaultTypeMapping()</pre>
<div class="block">Return the default TypeMapping</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#getDefaultTypeMapping()">getDefaultTypeMapping</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>TypeMapping or null</dd></dl>
</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/TypeMappingRegistryImpl.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/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/axis/encoding/XMLType.html" title="class 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/TypeMappingRegistryImpl.html" target="_top">Frames</a></li>
<li><a href="TypeMappingRegistryImpl.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>Field&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>Field&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>