public class JAXBUnmarshallerHandler extends SAXDocumentBuilder implements javax.xml.bind.UnmarshallerHandler
Implementation of UnmarshallerHandler to be used by JAXBUnmarshaller.
JAXBUnmarshaller, UnmarshallerHandler| Constructor and Description |
|---|
JAXBUnmarshallerHandler(JAXBUnmarshaller newXMLUnmarshaller)
Create a new JAXBUnmarshallerHandler with the specified JAXBUnmarshaller
|
| Modifier and Type | Method and Description |
|---|---|
void |
endDocument()
Event that is called at the end of processing the document.
|
java.lang.Object |
getResult()
Return the unmarhalled document.
|
void |
startDocument()
Event that is called at the start of processing the document.
|
appendChildNode, characters, characters, endElement, endPrefixMapping, getDocument, getInitializedDocument, ignorableWhitespace, processingInstruction, setDocumentLocator, setNil, skippedEntity, startElement, startPrefixMappingpublic JAXBUnmarshallerHandler(JAXBUnmarshaller newXMLUnmarshaller)
newXMLUnmarshaller - the JAXBUnmarshaller.
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerendDocument in class SAXDocumentBuilderorg.xml.sax.SAXException
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class SAXDocumentBuilderorg.xml.sax.SAXException
public java.lang.Object getResult()
throws javax.xml.bind.JAXBException,
java.lang.IllegalStateException
getResult in interface javax.xml.bind.UnmarshallerHandlerjavax.xml.bind.JAXBExceptionjava.lang.IllegalStateException