| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <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"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="TypeMappingRegistryImpl (Apache Axis)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TypeMappingRegistryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/axis/encoding/XMLType.html" title="class in org.apache.axis.encoding"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/axis/encoding/TypeMappingRegistryImpl.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TypeMappingRegistryImpl.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.axis.encoding</FONT> |
| <BR> |
| Class TypeMappingRegistryImpl</H2> |
| <PRE> |
| <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> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.axis.encoding.TypeMappingRegistryImpl</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <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> |
| <DL> |
| <DT><PRE>public class <B>TypeMappingRegistryImpl</B><DT>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><DT>implements <A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</A></DL> |
| </PRE> |
| |
| <P> |
| <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> |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></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><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.axis.encoding.TypeMappingRegistryImpl">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#TypeMappingRegistryImpl()">TypeMappingRegistryImpl</A></B>()</CODE> |
| |
| <BR> |
| Construct TypeMappingRegistry</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#TypeMappingRegistryImpl(boolean)">TypeMappingRegistryImpl</A></B>(boolean registerDefaults)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#TypeMappingRegistryImpl(org.apache.axis.encoding.TypeMappingImpl)">TypeMappingRegistryImpl</A></B>(<A HREF="../../../../org/apache/axis/encoding/TypeMappingImpl.html" title="class in org.apache.axis.encoding">TypeMappingImpl</A> tm)</CODE> |
| |
| <BR> |
| Construct TypeMappingRegistry</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#clear()">clear</A></B>()</CODE> |
| |
| <BR> |
| Removes all TypeMappings and namespaceURIs from this TypeMappingRegistry.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#createTypeMapping()">createTypeMapping</A></B>()</CODE> |
| |
| <BR> |
| Creates a new empty TypeMapping object for the specified |
| encoding style or XML schema namespace.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#delegate(org.apache.axis.encoding.TypeMappingRegistry)">delegate</A></B>(<A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</A> secondaryTMR)</CODE> |
| |
| <BR> |
| delegate |
| |
| Changes the contained type mappings to delegate to |
| their corresponding types in the secondary TMR.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#doRegisterFromVersion(java.lang.String)">doRegisterFromVersion</A></B>(<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> version)</CODE> |
| |
| <BR> |
| Set up the default type mapping (and the SOAP encoding type mappings) |
| as per the passed "version" option.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#getDefaultTypeMapping()">getDefaultTypeMapping</A></B>()</CODE> |
| |
| <BR> |
| Return the default TypeMapping</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#getOrMakeTypeMapping(java.lang.String)">getOrMakeTypeMapping</A></B>(<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> encodingStyle)</CODE> |
| |
| <BR> |
| Obtain a type mapping for the given encodingStyle.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <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></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#getRegisteredEncodingStyleURIs()">getRegisteredEncodingStyleURIs</A></B>()</CODE> |
| |
| <BR> |
| Gets a list of namespace URIs registered with this TypeMappingRegistry.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#getTypeMapping(java.lang.String)">getTypeMapping</A></B>(<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> namespaceURI)</CODE> |
| |
| <BR> |
| Gets the TypeMapping for the namespace.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#register(java.lang.String, javax.xml.rpc.encoding.TypeMapping)">register</A></B>(<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> namespaceURI, |
| <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> mapping)</CODE> |
| |
| <BR> |
| The method register adds a TypeMapping instance for a specific |
| namespace</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#registerDefault(javax.xml.rpc.encoding.TypeMapping)">registerDefault</A></B>(<A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> mapping)</CODE> |
| |
| <BR> |
| The method register adds a default TypeMapping instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#removeTypeMapping(javax.xml.rpc.encoding.TypeMapping)">removeTypeMapping</A></B>(<A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> mapping)</CODE> |
| |
| <BR> |
| Removes the TypeMapping for the namespace.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistryImpl.html#unregisterTypeMapping(java.lang.String)">unregisterTypeMapping</A></B>(<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> namespaceURI)</CODE> |
| |
| <BR> |
| Unregisters the TypeMapping for the namespace.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><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, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="TypeMappingRegistryImpl(org.apache.axis.encoding.TypeMappingImpl)"><!-- --></A><H3> |
| TypeMappingRegistryImpl</H3> |
| <PRE> |
| public <B>TypeMappingRegistryImpl</B>(<A HREF="../../../../org/apache/axis/encoding/TypeMappingImpl.html" title="class in org.apache.axis.encoding">TypeMappingImpl</A> tm)</PRE> |
| <DL> |
| <DD>Construct TypeMappingRegistry |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>tm</CODE> - </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="TypeMappingRegistryImpl()"><!-- --></A><H3> |
| TypeMappingRegistryImpl</H3> |
| <PRE> |
| public <B>TypeMappingRegistryImpl</B>()</PRE> |
| <DL> |
| <DD>Construct TypeMappingRegistry |
| <P> |
| </DL> |
| <HR> |
| |
| <A NAME="TypeMappingRegistryImpl(boolean)"><!-- --></A><H3> |
| TypeMappingRegistryImpl</H3> |
| <PRE> |
| public <B>TypeMappingRegistryImpl</B>(boolean registerDefaults)</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="delegate(org.apache.axis.encoding.TypeMappingRegistry)"><!-- --></A><H3> |
| delegate</H3> |
| <PRE> |
| public void <B>delegate</B>(<A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding">TypeMappingRegistry</A> secondaryTMR)</PRE> |
| <DL> |
| <DD>delegate |
| |
| Changes the contained type mappings to delegate to |
| their corresponding types in the secondary TMR. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="register(java.lang.String, javax.xml.rpc.encoding.TypeMapping)"><!-- --></A><H3> |
| register</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> <B>register</B>(<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> namespaceURI, |
| <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> mapping)</PRE> |
| <DL> |
| <DD>The method register adds a TypeMapping instance for a specific |
| namespace |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#register(java.lang.String, javax.xml.rpc.encoding.TypeMapping)">register</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - <DD><CODE>mapping</CODE> - - TypeMapping for specific namespaces |
| <DT><B>Returns:</B><DD>Previous TypeMapping associated with the specified namespaceURI, |
| or null if there was no TypeMapping associated with the specified namespaceURI</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="registerDefault(javax.xml.rpc.encoding.TypeMapping)"><!-- --></A><H3> |
| registerDefault</H3> |
| <PRE> |
| public void <B>registerDefault</B>(<A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> mapping)</PRE> |
| <DL> |
| <DD>The method register adds a default TypeMapping instance. If a specific |
| TypeMapping is not found, the default TypeMapping is used. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#registerDefault(javax.xml.rpc.encoding.TypeMapping)">registerDefault</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><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</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="doRegisterFromVersion(java.lang.String)"><!-- --></A><H3> |
| doRegisterFromVersion</H3> |
| <PRE> |
| public void <B>doRegisterFromVersion</B>(<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> version)</PRE> |
| <DL> |
| <DD>Set up the default type mapping (and the SOAP encoding type mappings) |
| as per the passed "version" option. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>version</CODE> - </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypeMapping(java.lang.String)"><!-- --></A><H3> |
| getTypeMapping</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> <B>getTypeMapping</B>(<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> namespaceURI)</PRE> |
| <DL> |
| <DD>Gets the TypeMapping for the namespace. If not found, the default |
| TypeMapping is returned. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#getTypeMapping(java.lang.String)">getTypeMapping</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - - The namespace URI of a Web Service |
| <DT><B>Returns:</B><DD>The registered TypeMapping |
| (which may be the default TypeMapping) or null.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOrMakeTypeMapping(java.lang.String)"><!-- --></A><H3> |
| getOrMakeTypeMapping</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/axis/encoding/TypeMapping.html" title="interface in org.apache.axis.encoding">TypeMapping</A> <B>getOrMakeTypeMapping</B>(<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> encodingStyle)</PRE> |
| <DL> |
| <DD>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. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>encodingStyle</CODE> - |
| <DT><B>Returns:</B><DD>a registered TypeMapping for the given encodingStyle</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="unregisterTypeMapping(java.lang.String)"><!-- --></A><H3> |
| unregisterTypeMapping</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> <B>unregisterTypeMapping</B>(<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> namespaceURI)</PRE> |
| <DL> |
| <DD>Unregisters the TypeMapping for the namespace. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#unregisterTypeMapping(java.lang.String)">unregisterTypeMapping</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>namespaceURI</CODE> - - The namespace URI |
| <DT><B>Returns:</B><DD>The registered TypeMapping .</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeTypeMapping(javax.xml.rpc.encoding.TypeMapping)"><!-- --></A><H3> |
| removeTypeMapping</H3> |
| <PRE> |
| public boolean <B>removeTypeMapping</B>(<A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> mapping)</PRE> |
| <DL> |
| <DD>Removes the TypeMapping for the namespace. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#removeTypeMapping(javax.xml.rpc.encoding.TypeMapping)">removeTypeMapping</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>mapping</CODE> - The type mapping to remove |
| <DT><B>Returns:</B><DD>true if found and removed</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeMapping()"><!-- --></A><H3> |
| createTypeMapping</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> <B>createTypeMapping</B>()</PRE> |
| <DL> |
| <DD>Creates a new empty TypeMapping object for the specified |
| encoding style or XML schema namespace. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#createTypeMapping()">createTypeMapping</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>An empty generic TypeMapping object</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getRegisteredEncodingStyleURIs()"><!-- --></A><H3> |
| getRegisteredEncodingStyleURIs</H3> |
| <PRE> |
| public <A HREF="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getRegisteredEncodingStyleURIs</B>()</PRE> |
| <DL> |
| <DD>Gets a list of namespace URIs registered with this TypeMappingRegistry. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#getRegisteredEncodingStyleURIs()">getRegisteredEncodingStyleURIs</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>String[] containing names of all registered namespace URIs</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="clear()"><!-- --></A><H3> |
| clear</H3> |
| <PRE> |
| public void <B>clear</B>()</PRE> |
| <DL> |
| <DD>Removes all TypeMappings and namespaceURIs from this TypeMappingRegistry. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#clear()">clear</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDefaultTypeMapping()"><!-- --></A><H3> |
| getDefaultTypeMapping</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/rpc/encoding/TypeMapping.html" title="interface in javax.xml.rpc.encoding">TypeMapping</A> <B>getDefaultTypeMapping</B>()</PRE> |
| <DL> |
| <DD>Return the default TypeMapping |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html#getDefaultTypeMapping()">getDefaultTypeMapping</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding">TypeMappingRegistry</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>TypeMapping or null</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TypeMappingRegistryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/axis/encoding/TypeMappingRegistry.html" title="interface in org.apache.axis.encoding"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/axis/encoding/XMLType.html" title="class in org.apache.axis.encoding"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/axis/encoding/TypeMappingRegistryImpl.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TypeMappingRegistryImpl.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |