public class DOMReader extends XMLReaderAdapter
Purpose: An implementation of XMLReader for parsing DOM Nodes into SAX events.
Responsibilities:
NAMESPACE_PREFIXES_FEATURE, REPORT_IGNORED_ELEMENT_CONTENT_WHITESPACE_FEATURE| Constructor and Description |
|---|
DOMReader() |
DOMReader(Unmarshaller xmlUnmarshaller) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCurrentObject(CoreAbstractSession session,
Mapping selfRecordMapping) |
DocumentPreservationPolicy |
getDocPresPolicy() |
void |
newObjectEvent(java.lang.Object object,
java.lang.Object parent,
Mapping selfRecordMapping)
An EclipseLink specific callback into the Reader.
|
void |
parse(org.xml.sax.InputSource input) |
void |
parse(org.w3c.dom.Node node) |
void |
parse(org.w3c.dom.Node node,
java.lang.String newURI,
java.lang.String newName) |
void |
setDocPresPolicy(DocumentPreservationPolicy policy) |
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getProperty, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setPropertyconvertValueBasedOnSchemaType, getLocator, getMediaType, getNamespaceSeparator, getValidatorHandler, getValue, isInCollection, isNamespaceAware, isNullRecord, isNullRepresentedByXsiNil, setLocator, setNamespaceAware, setNamespaceSeparator, setValidatorHandlerpublic DOMReader()
public DOMReader(Unmarshaller xmlUnmarshaller)
public void parse(org.xml.sax.InputSource input)
throws org.xml.sax.SAXException
public void parse(org.w3c.dom.Node node,
java.lang.String newURI,
java.lang.String newName)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void parse(org.w3c.dom.Node node)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void newObjectEvent(java.lang.Object object,
java.lang.Object parent,
Mapping selfRecordMapping)
newObjectEvent in class XMLReaderpublic java.lang.Object getCurrentObject(CoreAbstractSession session, Mapping selfRecordMapping)
getCurrentObject in class XMLReaderpublic DocumentPreservationPolicy getDocPresPolicy()
public void setDocPresPolicy(DocumentPreservationPolicy policy)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference