|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeFactory
A type factory creates serializers or handlers, based on the object type.
Method Summary | |
---|---|
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 . |
Method Detail |
---|
TypeSerializer getSerializer(XmlRpcStreamConfig pConfig, Object pObject) throws SAXException
pObject
.
pConfig
- The request configuration.pObject
- The object being serialized.
pObject
.
SAXException
- Creating the serializer failed.TypeParser getParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName)
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 |