org.apache.xmlrpc.common
Interface TypeFactory
- JaxbTypeFactory, TypeFactoryImpl
public interface TypeFactory
A type factory creates serializers or handlers, based on the object
type.
getParser
public TypeParser 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.
getSerializer
public TypeSerializer getSerializer(XmlRpcStreamConfig pConfig,
Object pObject)
throws SAXExceptionCreates a serializer for the object pObject.
pConfig - The request configuration.pObject - The object being serialized.
- A serializer for
pObject.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.