org.apache.xmlrpc.common

Class TypeFactoryImpl

public class TypeFactoryImpl extends Object implements TypeFactory

Default implementation of a type factory.
Constructor Summary
TypeFactoryImpl(XmlRpcController pController)
Creates a new instance.
Method Summary
XmlRpcControllergetController()
Returns the controller, which operates the type factory.
TypeParsergetParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName)
TypeSerializergetSerializer(XmlRpcStreamConfig pConfig, Object pObject)

Constructor Detail

TypeFactoryImpl

public TypeFactoryImpl(XmlRpcController pController)
Creates a new instance.

Parameters: pController The controller, which operates the type factory.

Method Detail

getController

public XmlRpcController getController()
Returns the controller, which operates the type factory.

Returns: The controller, an instance of {@link org.apache.xmlrpc.client.XmlRpcClient}, or {@link org.apache.xmlrpc.server.XmlRpcServer}.

getParser

public TypeParser getParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName)

getSerializer

public TypeSerializer getSerializer(XmlRpcStreamConfig pConfig, Object pObject)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.