public class JAXBUnmarshallerHandler extends SAXDocumentBuilder implements jakarta.xml.bind.UnmarshallerHandler
Implementation of UnmarshallerHandler to be used by JAXBUnmarshaller.
JAXBUnmarshaller,
UnmarshallerHandlerdocument, 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, startPrefixMappingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMappingpublic JAXBUnmarshallerHandler(JAXBUnmarshaller newXMLUnmarshaller)
newXMLUnmarshaller - the JAXBUnmarshaller.public void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class SAXDocumentBuilderSAXExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class SAXDocumentBuilderSAXExceptionpublic Object getResult() throws jakarta.xml.bind.JAXBException, IllegalStateException
getResult in interface jakarta.xml.bind.UnmarshallerHandlerjakarta.xml.bind.JAXBExceptionIllegalStateExceptionCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.