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 |
A parser for JAXB objects.
Definition at line 33 of file JaxbParser.java.
org.apache.xmlrpc.jaxb.JaxbParser.JaxbParser | ( | JAXBContext | pContext | ) | [inline] |
Creates a new instance with the given context.
pContext | The context being used for creating unmarshallers. |
Definition at line 40 of file JaxbParser.java.
ContentHandler org.apache.xmlrpc.jaxb.JaxbParser.getExtHandler | ( | ) | throws SAXException [inline, protected, virtual] |
Returns a content handler for parsing the actual contents.
SAXException | Creating the handler failed. |
Implements org.apache.xmlrpc.parser.ExtParser.
Definition at line 44 of file JaxbParser.java.
Object org.apache.xmlrpc.jaxb.JaxbParser.getResult | ( | ) | throws XmlRpcException [inline] |
Returns the parsed object.
XmlRpcException | Creating the result object failed. |
IllegalStateException | The 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.
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.