public class TypeFactoryImpl extends java.lang.Object implements TypeFactory
| Constructor and Description |
|---|
TypeFactoryImpl(XmlRpcController pController)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
XmlRpcController |
getController()
Returns the controller, which operates the type factory.
|
TypeParser |
getParser(XmlRpcStreamConfig pConfig,
org.apache.ws.commons.util.NamespaceContextImpl pContext,
java.lang.String pURI,
java.lang.String pLocalName)
Creates a parser for a parameter or result object.
|
TypeSerializer |
getSerializer(XmlRpcStreamConfig pConfig,
java.lang.Object pObject)
Creates a serializer for the object
pObject. |
public TypeFactoryImpl(XmlRpcController pController)
pController - The controller, which operates the type factory.public XmlRpcController getController()
XmlRpcClient,
or XmlRpcServer.public TypeSerializer getSerializer(XmlRpcStreamConfig pConfig, java.lang.Object pObject) throws org.xml.sax.SAXException
TypeFactorypObject.getSerializer in interface TypeFactorypConfig - The request configuration.pObject - The object being serialized.pObject.org.xml.sax.SAXException - Creating the serializer failed.public TypeParser getParser(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, java.lang.String pURI, java.lang.String pLocalName)
TypeFactorygetParser in interface TypeFactorypConfig - The request configuration.pContext - A namespace context, for looking up prefix mappings.pURI - The namespace URI of the element containing the parameter or result.pLocalName - The local name of the element containing the parameter or result.Copyright © 2001-2013. All Rights Reserved.