public class JaxbParser extends ExtParser
| Constructor and Description |
|---|
JaxbParser(javax.xml.bind.JAXBContext pContext)
Creates a new instance with the given context.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.xml.sax.ContentHandler |
getExtHandler()
Returns a content handler for parsing the actual
contents.
|
java.lang.Object |
getResult()
Returns the parsed object.
|
protected java.lang.String |
getTagName()
Returns the outer node name.
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMappingpublic JaxbParser(javax.xml.bind.JAXBContext pContext)
pContext - The context being used for creating unmarshallers.protected org.xml.sax.ContentHandler getExtHandler()
throws org.xml.sax.SAXException
ExtParsergetExtHandler in class ExtParserorg.xml.sax.SAXException - Creating the handler failed.protected java.lang.String getTagName()
ExtParsergetTagName in class ExtParserpublic java.lang.Object getResult()
throws XmlRpcException
TypeParserXmlRpcException - Creating the result object failed.Copyright © 2001–2017. All rights reserved.