typemapping.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 424 行 · 第 1/2 页

HTML
424
字号
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getSupportedEncodings()"><!-- --></A><H3>getSupportedEncodings</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getSupportedEncodings</B>()</PRE><DL><DD>Returns the encodingStyle URIs (as String[]) supported by    this TypeMapping instance. A TypeMapping that contains only   encoding style independent serializers and deserializers   returns <code>null</code> from this method.<P><DD><DL><DT><B>Returns:</B><DD>Array of encodingStyle URIs for the supported           encoding styles</DL></DD></DL><HR><A NAME="setSupportedEncodings(java.lang.String[])"><!-- --></A><H3>setSupportedEncodings</H3><PRE>void <B>setSupportedEncodings</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]&nbsp;encodingStyleURIs)</PRE><DL><DD>Sets the encodingStyle URIs supported by this TypeMapping   instance. A TypeMapping that contains only encoding   independent serializers and deserializers requires   <code>null</code> as the parameter for this method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>encodingStyleURIs</CODE> - Array of encodingStyle URIs for the                            supported encoding styles</DL></DD></DL><HR><A NAME="isRegistered(java.lang.Class, javax.xml.namespace.QName)"><!-- --></A><H3>isRegistered</H3><PRE>boolean <B>isRegistered</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;javaType,                     <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/namespace/QName.html" title="class or interface in javax.xml.namespace">QName</A>&nbsp;xmlType)</PRE><DL><DD>Checks whether or not type mapping between specified XML   type and Java type is registered.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>javaType</CODE> - Class of the Java type<DD><CODE>QName</CODE> - Qualified name of the XML data type<DT><B>Returns:</B><DD>boolean; <code>true</code> if type mapping between the           specified XML type and Java type is registered;           otherwise <code>false</code></DL></DD></DL><HR><A NAME="register(java.lang.Class, javax.xml.namespace.QName, javax.xml.rpc.encoding.SerializerFactory, javax.xml.rpc.encoding.DeserializerFactory)"><!-- --></A><H3>register</H3><PRE>void <B>register</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;javaType,              <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/namespace/QName.html" title="class or interface in javax.xml.namespace">QName</A>&nbsp;xmlType,              <A HREF="../../../../javax/xml/rpc/encoding/SerializerFactory.html" title="interface in javax.xml.rpc.encoding">SerializerFactory</A>&nbsp;sf,              <A HREF="../../../../javax/xml/rpc/encoding/DeserializerFactory.html" title="interface in javax.xml.rpc.encoding">DeserializerFactory</A>&nbsp;dsf)</PRE><DL><DD>Registers SerializerFactory and DeserializerFactory for a   specific type mapping between an XML type and Java type.  This method replaces any existing registered SerializerFactory  DeserializerFactory instances.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>javaType</CODE> - Class of the Java type<DD><CODE>QName</CODE> - Qualified name of the XML data type<DD><CODE>sf</CODE> - SerializerFactory<DD><CODE>dsf</CODE> - DeserializerFactory<DT><B>Throws:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - If any error during the registration</DL></DD></DL><HR><A NAME="getSerializer(java.lang.Class, javax.xml.namespace.QName)"><!-- --></A><H3>getSerializer</H3><PRE><A HREF="../../../../javax/xml/rpc/encoding/SerializerFactory.html" title="interface in javax.xml.rpc.encoding">SerializerFactory</A> <B>getSerializer</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;javaType,                                <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/namespace/QName.html" title="class or interface in javax.xml.namespace">QName</A>&nbsp;xmlType)</PRE><DL><DD>Gets the SerializerFactory registered for the specified  pair of Java type and XML data type.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>javaType</CODE> - Class of the Java type<DD><CODE>QName</CODE> - Qualified name of the XML data type<DT><B>Returns:</B><DD>Registered SerializerFactory or <code>null</code>          if there is no registered factory</DL></DD></DL><HR><A NAME="getDeserializer(java.lang.Class, javax.xml.namespace.QName)"><!-- --></A><H3>getDeserializer</H3><PRE><A HREF="../../../../javax/xml/rpc/encoding/DeserializerFactory.html" title="interface in javax.xml.rpc.encoding">DeserializerFactory</A> <B>getDeserializer</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;javaType,                                    <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/namespace/QName.html" title="class or interface in javax.xml.namespace">QName</A>&nbsp;xmlType)</PRE><DL><DD>Gets the DeserializerFactory registered for the specified  pair of Java type and XML data type.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>javaType</CODE> - Class of the Java type<DD><CODE>QName</CODE> - Qualified name of the XML data type<DT><B>Returns:</B><DD>Registered DeserializerFactory or <code>null</code>          if there is no registered factory</DL></DD></DL><HR><A NAME="removeSerializer(java.lang.Class, javax.xml.namespace.QName)"><!-- --></A><H3>removeSerializer</H3><PRE>void <B>removeSerializer</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;javaType,                      <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/namespace/QName.html" title="class or interface in javax.xml.namespace">QName</A>&nbsp;xmlType)</PRE><DL><DD>Removes the SerializerFactory registered for the specified  pair of Java type and XML data type.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - If there is error in removing the          registered SerializerFactory</DL></DD></DL><HR><A NAME="removeDeserializer(java.lang.Class, javax.xml.namespace.QName)"><!-- --></A><H3>removeDeserializer</H3><PRE>void <B>removeDeserializer</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A>&nbsp;javaType,                        <A HREF="http://java.sun.com/j2se/1.5/docs/api/javax/xml/namespace/QName.html" title="class or interface in javax.xml.namespace">QName</A>&nbsp;xmlType)</PRE><DL><DD>Removes the DeserializerFactory registered for the specified  pair of Java type and XML data type.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/JAXRPCException.html" title="class in javax.xml.rpc">JAXRPCException</A></CODE> - If there is error in removing the          registered DeserializerFactory</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../javax/xml/rpc/encoding/SerializerFactory.html" title="interface in javax.xml.rpc.encoding"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../javax/xml/rpc/encoding/TypeMappingRegistry.html" title="interface in javax.xml.rpc.encoding"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?javax/xml/rpc/encoding/TypeMapping.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="TypeMapping.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?