public class JaxbTypeFactory extends TypeFactoryImpl
| Constructor and Description |
|---|
JaxbTypeFactory(XmlRpcController pController,
JAXBContext pContext)
Creates a new instance with the given controller and
JAXB context.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
getControllerpublic JaxbTypeFactory(XmlRpcController pController, JAXBContext pContext)
pController - The controller, which will invoke the factory.pContext - The context being used to create marshallers
and unmarshallers.public TypeParser getParser(XmlRpcStreamConfig pConfig, org.apache.ws.commons.util.NamespaceContextImpl pContext, String pURI, String pLocalName)
TypeFactorygetParser in interface TypeFactorygetParser in class TypeFactoryImplpConfig - 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.public TypeSerializer getSerializer(XmlRpcStreamConfig pConfig, Object pObject) throws SAXException
TypeFactorypObject.getSerializer in interface TypeFactorygetSerializer in class TypeFactoryImplpConfig - The request configuration.pObject - The object being serialized.pObject.SAXException - Creating the serializer failed.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.