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, startPrefixMappingpublic JaxbParser(JAXBContext pContext)
pContext - The context being used for creating unmarshallers.protected ContentHandler getExtHandler() throws SAXException
ExtParsergetExtHandler in class ExtParserSAXException - Creating the handler failed.protected String getTagName()
ExtParsergetTagName in class ExtParserpublic Object getResult() throws XmlRpcException
TypeParserXmlRpcException - Creating the result object failed.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.