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.
|
public JAXBUnmarshallerHandler(JAXBUnmarshaller newXMLUnmarshaller)
newXMLUnmarshaller - the JAXBUnmarshaller.public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXExceptionpublic void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXExceptionpublic java.lang.Object getResult()
throws javax.xml.bind.JAXBException,
java.lang.IllegalStateException
getResult in interface javax.xml.bind.UnmarshallerHandlerjavax.xml.bind.JAXBExceptionjava.lang.IllegalStateException