Public Member Functions | Private Attributes
org.apache.xmlrpc.jaxb.JaxbTypeFactory Class Reference
Inheritance diagram for org.apache.xmlrpc.jaxb.JaxbTypeFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

TypeParser getParser (XmlRpcStreamConfig pConfig, NamespaceContextImpl pContext, String pURI, String pLocalName)
TypeSerializer getSerializer (XmlRpcStreamConfig pConfig, Object pObject) throws SAXException
 JaxbTypeFactory (XmlRpcController pController, JAXBContext pContext)

Private Attributes

final JAXBContext context
final JaxbSerializer serializer

Detailed Description

A type factory with support for JAXB objects.

Definition at line 36 of file JaxbTypeFactory.java.


Constructor & Destructor Documentation

org.apache.xmlrpc.jaxb.JaxbTypeFactory.JaxbTypeFactory ( XmlRpcController  pController,
JAXBContext  pContext 
) [inline]

Creates a new instance with the given controller and JAXB context.

Parameters:
pControllerThe controller, which will invoke the factory.
pContextThe context being used to create marshallers and unmarshallers.

Definition at line 46 of file JaxbTypeFactory.java.


Member Function Documentation

TypeParser org.apache.xmlrpc.jaxb.JaxbTypeFactory.getParser ( XmlRpcStreamConfig  pConfig,
NamespaceContextImpl  pContext,
String  pURI,
String  pLocalName 
) [inline]

Creates a parser for a parameter or result object.

Parameters:
pConfigThe request configuration.
pContextA namespace context, for looking up prefix mappings.
pURIThe namespace URI of the element containing the parameter or result.
pLocalNameThe local name of the element containing the parameter or result.
Returns:
The created parser.

Reimplemented from org.apache.xmlrpc.common.TypeFactoryImpl.

Definition at line 52 of file JaxbTypeFactory.java.

TypeSerializer org.apache.xmlrpc.jaxb.JaxbTypeFactory.getSerializer ( XmlRpcStreamConfig  pConfig,
Object  pObject 
) throws SAXException [inline]

Creates a serializer for the object pObject.

Parameters:
pConfigThe request configuration.
pObjectThe object being serialized.
Returns:
A serializer for pObject.
Exceptions:
SAXExceptionCreating the serializer failed.

Reimplemented from org.apache.xmlrpc.common.TypeFactoryImpl.

Definition at line 62 of file JaxbTypeFactory.java.


Member Data Documentation

Definition at line 37 of file JaxbTypeFactory.java.

Definition at line 38 of file JaxbTypeFactory.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50