org.apache.xmlrpc.jaxb

Class JaxbTypeFactory

public class JaxbTypeFactory extends TypeFactoryImpl

A type factory with support for JAXB objects.
Constructor Summary
JaxbTypeFactory(XmlRpcController pController, JAXBContext pContext)
Creates a new instance with the given controller and JAXB context.
Method Summary
TypeParsergetParser(XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName)
TypeSerializergetSerializer(XmlRpcStreamConfig pConfig, Object pObject)

Constructor Detail

JaxbTypeFactory

public JaxbTypeFactory(XmlRpcController pController, JAXBContext pContext)
Creates a new instance with the given controller and JAXB context.

Parameters: pController The controller, which will invoke the factory. pContext The context being used to create marshallers and unmarshallers.

Method Detail

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.