|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.platform.xml.SAXDocumentBuilder
org.eclipse.persistence.jaxb.JAXBUnmarshallerHandler
public class JAXBUnmarshallerHandler
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.platform.xml.SAXDocumentBuilder |
---|
document, namespaceDeclarations, nodes, stringBuffer, xmlPlatform |
Constructor Summary | |
---|---|
JAXBUnmarshallerHandler(JAXBUnmarshaller newXMLUnmarshaller)
|
Method Summary | |
---|---|
void |
endDocument()
|
java.lang.Object |
getResult()
Obtains the unmarshalled result. |
void |
startDocument()
|
Methods inherited from class org.eclipse.persistence.platform.xml.SAXDocumentBuilder |
---|
addNamespaceDeclaration, appendChildNode, characters, characters, endElement, endPrefixMapping, getDocument, getInitializedDocument, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
---|
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping |
Constructor Detail |
---|
public JAXBUnmarshallerHandler(JAXBUnmarshaller newXMLUnmarshaller)
Method Detail |
---|
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class SAXDocumentBuilder
org.xml.sax.SAXException
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class SAXDocumentBuilder
org.xml.sax.SAXException
public java.lang.Object getResult() throws JAXBException, java.lang.IllegalStateException
UnmarshallerHandler
getResult
in interface UnmarshallerHandler
JAXBException
- if there is any unmarshalling error.
Note that the implementation is allowed to throw SAXException
during the parsing when it finds an error.
java.lang.IllegalStateException
- if this method is called before this handler
receives the endDocument event.
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |