public class JaxbParser extends ExtParser
Constructor and Description |
---|
JaxbParser(JAXBContext pContext)
Creates a new instance with the given context.
|
Modifier and Type | Method and Description |
---|---|
protected ContentHandler |
getExtHandler()
Returns a content handler for parsing the actual
contents.
|
Object |
getResult()
Returns the parsed object.
|
protected String |
getTagName()
Returns the outer node name.
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
public JaxbParser(JAXBContext pContext)
pContext
- The context being used for creating unmarshallers.protected ContentHandler getExtHandler() throws SAXException
ExtParser
getExtHandler
in class ExtParser
SAXException
- Creating the handler failed.protected String getTagName()
ExtParser
getTagName
in class ExtParser
public Object getResult() throws XmlRpcException
TypeParser
XmlRpcException
- Creating the result object failed.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.