Public Member Functions | |
TypeParser | getParser (XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName) |
TypeSerializer | getSerializer (XmlRpcStreamConfig pConfig, Object pObject) throws SAXException |
A type factory creates serializers or handlers, based on the object type.
Definition at line 30 of file TypeFactory.java.
TypeParser org.apache.xmlrpc.common.TypeFactory.getParser | ( | XmlRpcStreamConfig | pConfig, |
NamespaceContextImpl | pContext, | ||
String | pURI, | ||
String | pLocalName | ||
) |
Creates a parser for a parameter or result object.
pConfig | 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. |
Implemented in org.apache.xmlrpc.common.TypeFactoryImpl, and org.apache.xmlrpc.jaxb.JaxbTypeFactory.
TypeSerializer org.apache.xmlrpc.common.TypeFactory.getSerializer | ( | XmlRpcStreamConfig | pConfig, |
Object | pObject | ||
) | throws SAXException |
Creates a serializer for the object pObject
.
pConfig | The request configuration. |
pObject | The object being serialized. |
pObject
. SAXException | Creating the serializer failed. |
Implemented in org.apache.xmlrpc.common.TypeFactoryImpl, and org.apache.xmlrpc.jaxb.JaxbTypeFactory.