/lib/docs/org/apache/xmlrpc/common/TypeFactoryImpl.html
HTML | 338 lines | 280 code | 36 blank | 22 comment | 0 complexity | ba57d5663eff354a4cff6a82f709b11a MD5 | raw file
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_0) on Mon Apr 20 21:45:56 CEST 2009 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8TypeFactoryImpl (Apache XML-RPC 3.1.2 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2009-04-20"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="TypeFactoryImpl (Apache XML-RPC 3.1.2 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TypeFactoryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common"><B>PREV CLASS</B></A> 60 <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?org/apache/xmlrpc/common/TypeFactoryImpl.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="TypeFactoryImpl.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92org.apache.xmlrpc.common</FONT> 93<BR> 94Class TypeFactoryImpl</H2> 95<PRE> 96java.lang.Object 97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.common.TypeFactoryImpl</B> 98</PRE> 99<DL> 100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common">TypeFactory</A></DD> 101</DL> 102<DL> 103<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xmlrpc/jaxb/JaxbTypeFactory.html" title="class in org.apache.xmlrpc.jaxb">JaxbTypeFactory</A></DD> 104</DL> 105<HR> 106<DL> 107<DT><PRE>public class <B>TypeFactoryImpl</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common">TypeFactory</A></DL> 108</PRE> 109 110<P> 111Default implementation of a type factory. 112<P> 113 114<P> 115<HR> 116 117<P> 118 119<!-- ======== CONSTRUCTOR SUMMARY ======== --> 120 121<A NAME="constructor_summary"><!-- --></A> 122<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 123<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 124<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 125<B>Constructor Summary</B></FONT></TH> 126</TR> 127<TR BGCOLOR="white" CLASS="TableRowColor"> 128<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/TypeFactoryImpl.html#TypeFactoryImpl(org.apache.xmlrpc.common.XmlRpcController)">TypeFactoryImpl</A></B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common">XmlRpcController</A> pController)</CODE> 129 130<BR> 131 Creates a new instance.</TD> 132</TR> 133</TABLE> 134 135<!-- ========== METHOD SUMMARY =========== --> 136 137<A NAME="method_summary"><!-- --></A> 138<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 139<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 140<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 141<B>Method Summary</B></FONT></TH> 142</TR> 143<TR BGCOLOR="white" CLASS="TableRowColor"> 144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 145<CODE> <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common">XmlRpcController</A></CODE></FONT></TD> 146<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/TypeFactoryImpl.html#getController()">getController</A></B>()</CODE> 147 148<BR> 149 Returns the controller, which operates the type factory.</TD> 150</TR> 151<TR BGCOLOR="white" CLASS="TableRowColor"> 152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 153<CODE> <A HREF="../../../../org/apache/xmlrpc/parser/TypeParser.html" title="interface in org.apache.xmlrpc.parser">TypeParser</A></CODE></FONT></TD> 154<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/TypeFactoryImpl.html#getParser(org.apache.xmlrpc.common.XmlRpcStreamConfig, org.apache.ws.commons.util.NamespaceContextImpl, java.lang.String, java.lang.String)">getParser</A></B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamConfig</A> pConfig, 155 org.apache.ws.commons.util.NamespaceContextImpl pContext, 156 java.lang.String pURI, 157 java.lang.String pLocalName)</CODE> 158 159<BR> 160 Creates a parser for a parameter or result object.</TD> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 164<CODE> <A HREF="../../../../org/apache/xmlrpc/serializer/TypeSerializer.html" title="interface in org.apache.xmlrpc.serializer">TypeSerializer</A></CODE></FONT></TD> 165<TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/TypeFactoryImpl.html#getSerializer(org.apache.xmlrpc.common.XmlRpcStreamConfig, java.lang.Object)">getSerializer</A></B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamConfig</A> pConfig, 166 java.lang.Object pObject)</CODE> 167 168<BR> 169 Creates a serializer for the object <code>pObject</code>.</TD> 170</TR> 171</TABLE> 172 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 173<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 174<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 175<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> 176</TR> 177<TR BGCOLOR="white" CLASS="TableRowColor"> 178<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> 179</TR> 180</TABLE> 181 182<P> 183 184<!-- ========= CONSTRUCTOR DETAIL ======== --> 185 186<A NAME="constructor_detail"><!-- --></A> 187<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 188<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 189<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 190<B>Constructor Detail</B></FONT></TH> 191</TR> 192</TABLE> 193 194<A NAME="TypeFactoryImpl(org.apache.xmlrpc.common.XmlRpcController)"><!-- --></A><H3> 195TypeFactoryImpl</H3> 196<PRE> 197public <B>TypeFactoryImpl</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common">XmlRpcController</A> pController)</PRE> 198<DL> 199<DD>Creates a new instance. 200<P> 201<DL> 202<DT><B>Parameters:</B><DD><CODE>pController</CODE> - The controller, which operates the type factory.</DL> 203</DL> 204 205<!-- ============ METHOD DETAIL ========== --> 206 207<A NAME="method_detail"><!-- --></A> 208<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 209<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 210<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 211<B>Method Detail</B></FONT></TH> 212</TR> 213</TABLE> 214 215<A NAME="getController()"><!-- --></A><H3> 216getController</H3> 217<PRE> 218public <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common">XmlRpcController</A> <B>getController</B>()</PRE> 219<DL> 220<DD>Returns the controller, which operates the type factory. 221<P> 222<DD><DL> 223</DL> 224</DD> 225<DD><DL> 226 227<DT><B>Returns:</B><DD>The controller, an instance of 228 <A HREF="../../../../org/apache/xmlrpc/client/XmlRpcClient.html" title="class in org.apache.xmlrpc.client"><CODE>XmlRpcClient</CODE></A>, 229 or <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServer.html" title="class in org.apache.xmlrpc.server"><CODE>XmlRpcServer</CODE></A>.</DL> 230</DD> 231</DL> 232<HR> 233 234<A NAME="getSerializer(org.apache.xmlrpc.common.XmlRpcStreamConfig, java.lang.Object)"><!-- --></A><H3> 235getSerializer</H3> 236<PRE> 237public <A HREF="../../../../org/apache/xmlrpc/serializer/TypeSerializer.html" title="interface in org.apache.xmlrpc.serializer">TypeSerializer</A> <B>getSerializer</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamConfig</A> pConfig, 238 java.lang.Object pObject) 239 throws org.xml.sax.SAXException</PRE> 240<DL> 241<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html#getSerializer(org.apache.xmlrpc.common.XmlRpcStreamConfig, java.lang.Object)">TypeFactory</A></CODE></B></DD> 242<DD>Creates a serializer for the object <code>pObject</code>. 243<P> 244<DD><DL> 245<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html#getSerializer(org.apache.xmlrpc.common.XmlRpcStreamConfig, java.lang.Object)">getSerializer</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common">TypeFactory</A></CODE></DL> 246</DD> 247<DD><DL> 248<DT><B>Parameters:</B><DD><CODE>pConfig</CODE> - The request configuration.<DD><CODE>pObject</CODE> - The object being serialized. 249<DT><B>Returns:</B><DD>A serializer for <code>pObject</code>. 250<DT><B>Throws:</B> 251<DD><CODE>org.xml.sax.SAXException</CODE> - Creating the serializer failed.</DL> 252</DD> 253</DL> 254<HR> 255 256<A NAME="getParser(org.apache.xmlrpc.common.XmlRpcStreamConfig, org.apache.ws.commons.util.NamespaceContextImpl, java.lang.String, java.lang.String)"><!-- --></A><H3> 257getParser</H3> 258<PRE> 259public <A HREF="../../../../org/apache/xmlrpc/parser/TypeParser.html" title="interface in org.apache.xmlrpc.parser">TypeParser</A> <B>getParser</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamConfig</A> pConfig, 260 org.apache.ws.commons.util.NamespaceContextImpl pContext, 261 java.lang.String pURI, 262 java.lang.String pLocalName)</PRE> 263<DL> 264<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html#getParser(org.apache.xmlrpc.common.XmlRpcStreamConfig, org.apache.ws.commons.util.NamespaceContextImpl, java.lang.String, java.lang.String)">TypeFactory</A></CODE></B></DD> 265<DD>Creates a parser for a parameter or result object. 266<P> 267<DD><DL> 268<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html#getParser(org.apache.xmlrpc.common.XmlRpcStreamConfig, org.apache.ws.commons.util.NamespaceContextImpl, java.lang.String, java.lang.String)">getParser</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common">TypeFactory</A></CODE></DL> 269</DD> 270<DD><DL> 271<DT><B>Parameters:</B><DD><CODE>pConfig</CODE> - The request configuration.<DD><CODE>pContext</CODE> - A namespace context, for looking up prefix mappings.<DD><CODE>pURI</CODE> - The namespace URI of the element containing the parameter or result.<DD><CODE>pLocalName</CODE> - The local name of the element containing the parameter or result. 272<DT><B>Returns:</B><DD>The created parser.</DL> 273</DD> 274</DL> 275<!-- ========= END OF CLASS DATA ========= --> 276<HR> 277 278 279<!-- ======= START OF BOTTOM NAVBAR ====== --> 280<A NAME="navbar_bottom"><!-- --></A> 281<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 282<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 283<TR> 284<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 285<A NAME="navbar_bottom_firstrow"><!-- --></A> 286<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 287 <TR ALIGN="center" VALIGN="top"> 288 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 289 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 290 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 291 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TypeFactoryImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 292 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 293 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 294 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 295 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 296 </TR> 297</TABLE> 298</TD> 299<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 300</EM> 301</TD> 302</TR> 303 304<TR> 305<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 306 <A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common"><B>PREV CLASS</B></A> 307 <A HREF="../../../../org/apache/xmlrpc/common/XmlRpcController.html" title="class in org.apache.xmlrpc.common"><B>NEXT CLASS</B></A></FONT></TD> 308<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 309 <A HREF="../../../../index.html?org/apache/xmlrpc/common/TypeFactoryImpl.html" target="_top"><B>FRAMES</B></A> 310 <A HREF="TypeFactoryImpl.html" target="_top"><B>NO FRAMES</B></A> 311 <SCRIPT type="text/javascript"> 312 <!-- 313 if(window==top) { 314 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 315 } 316 //--> 317</SCRIPT> 318<NOSCRIPT> 319 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 320</NOSCRIPT> 321 322 323</FONT></TD> 324</TR> 325<TR> 326<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 327 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 328<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 329DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 330</TR> 331</TABLE> 332<A NAME="skip-navbar_bottom"></A> 333<!-- ======== END OF BOTTOM NAVBAR ======= --> 334 335<HR> 336Copyright © 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. 337</BODY> 338</HTML>