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(XMLUnmarshaller xmlUnmarshaller) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCurrentObject(AbstractSession session,
XMLMapping selfRecordMapping) |
DocumentPreservationPolicy |
getDocPresPolicy() |
void |
newObjectEvent(java.lang.Object object,
java.lang.Object parent,
XMLMapping 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, isNullRepresentedByXsiNil, setLocator, setValidatorHandlerpublic DOMReader()
public DOMReader(XMLUnmarshaller 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,
XMLMapping selfRecordMapping)
newObjectEvent in class XMLReaderpublic java.lang.Object getCurrentObject(AbstractSession session, XMLMapping selfRecordMapping)
getCurrentObject in class XMLReaderpublic DocumentPreservationPolicy getDocPresPolicy()
public void setDocPresPolicy(DocumentPreservationPolicy policy)
EclipseLink 2.4.2, "build v20130514-5956486" API Reference