|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlrpc.common.TypeFactoryImpl
public class TypeFactoryImpl
Default implementation of a type factory.
Constructor Summary | |
---|---|
TypeFactoryImpl(XmlRpcController pController)
Creates a new instance. |
Method Summary | |
---|---|
XmlRpcController |
getController()
Returns the controller, which operates the type factory. |
TypeParser |
getParser(XmlRpcStreamConfig pConfig,
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeFactoryImpl(XmlRpcController pController)
pController
- The controller, which operates the type factory.Method Detail |
---|
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, 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |