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

List of all members.

Public Member Functions

Object getResult () throws XmlRpcException
 JaxbParser (JAXBContext pContext)

Protected Member Functions

ContentHandler getExtHandler () throws SAXException
String getTagName ()

Private Attributes

final JAXBContext context
UnmarshallerHandler handler

Detailed Description

A parser for JAXB objects.

Definition at line 33 of file JaxbParser.java.


Constructor & Destructor Documentation

org.apache.xmlrpc.jaxb.JaxbParser.JaxbParser ( JAXBContext  pContext) [inline]

Creates a new instance with the given context.

Parameters:
pContextThe context being used for creating unmarshallers.

Definition at line 40 of file JaxbParser.java.


Member Function Documentation

ContentHandler org.apache.xmlrpc.jaxb.JaxbParser.getExtHandler ( ) throws SAXException [inline, protected, virtual]

Returns a content handler for parsing the actual contents.

Returns:
A SAX handler for parsing the XML inside the outer ex:foo element.
Exceptions:
SAXExceptionCreating the handler failed.

Implements org.apache.xmlrpc.parser.ExtParser.

Definition at line 44 of file JaxbParser.java.

Returns the parsed object.

Returns:
The parameter or result object.
Exceptions:
XmlRpcExceptionCreating the result object failed.
IllegalStateExceptionThe method was invoked before org.xml.sax.ContentHandler#endDocument.

Implements org.apache.xmlrpc.parser.TypeParser.

Definition at line 55 of file JaxbParser.java.

String org.apache.xmlrpc.jaxb.JaxbParser.getTagName ( ) [inline, protected, virtual]

Returns the outer node name.

Implements org.apache.xmlrpc.parser.ExtParser.

Definition at line 53 of file JaxbParser.java.


Member Data Documentation

final JAXBContext org.apache.xmlrpc.jaxb.JaxbParser.context [private]

Definition at line 34 of file JaxbParser.java.

UnmarshallerHandler org.apache.xmlrpc.jaxb.JaxbParser.handler [private]

Reimplemented from org.apache.xmlrpc.parser.ExtParser.

Definition at line 35 of file JaxbParser.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