public class JAXBUnmarshallerHandler extends SAXDocumentBuilder implements 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.
|
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, startPrefixMapping
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping
public JAXBUnmarshallerHandler(JAXBUnmarshaller newXMLUnmarshaller)
newXMLUnmarshaller
- the JAXBUnmarshaller.public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class SAXDocumentBuilder
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class SAXDocumentBuilder
SAXException
public Object getResult() throws JAXBException, IllegalStateException
getResult
in interface UnmarshallerHandler
JAXBException
IllegalStateException
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference