public class JAXBUnmarshallerHandler extends SAXDocumentBuilder implements jakarta.xml.bind.UnmarshallerHandler
Implementation of UnmarshallerHandler to be used by JAXBUnmarshaller.
JAXBUnmarshaller
,
UnmarshallerHandler
document, locator, namespaceDeclarations, nodes, stringBuffer, xmlPlatform
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.
|
addNamespaceDeclaration, appendChildNode, characters, characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, getDocument, getInitializedDocument, ignorableWhitespace, processingInstruction, setDocumentLocator, setNil, skippedEntity, startCDATA, startDTD, startElement, startEntity, startPrefixMapping
clone, equals, finalize, 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 jakarta.xml.bind.JAXBException, IllegalStateException
getResult
in interface jakarta.xml.bind.UnmarshallerHandler
jakarta.xml.bind.JAXBException
IllegalStateException
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.