public class TypeFactoryImpl extends 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,
String pURI,
String pLocalName)
Creates a parser for a parameter or result object.
|
TypeSerializer |
getSerializer(XmlRpcStreamConfig pConfig,
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, Object pObject) throws SAXException
TypeFactory
pObject
.getSerializer
in interface TypeFactory
pConfig
- The request configuration.pObject
- The object being serialized.pObject
.SAXException
- Creating the serializer failed.public TypeParser getParser(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, String pURI, String pLocalName)
TypeFactory
getParser
in interface TypeFactory
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.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.