org.apache.xmlrpc.jaxb
Class JaxbParser
- ContentHandler, TypeParser
A parser for JAXB objects.
JaxbParser(JAXBContext pContext)- Creates a new instance with the given context.
|
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, getExtHandler, getTagName, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
JaxbParser
public JaxbParser(JAXBContext pContext)
Creates a new instance with the given context.
pContext - The context being used for creating unmarshallers.
getExtHandler
protected ContentHandler getExtHandler()
throws SAXExceptionReturns a content handler for parsing the actual
contents.
- getExtHandler in interface ExtParser
- A SAX handler for parsing the XML inside
the outer ex:foo element.
getTagName
protected String getTagName()
Returns the outer node name.
- getTagName in interface ExtParser
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.