|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.unmarshaller.DOMScanner
public class DOMScanner
Visits a W3C DOM tree and generates SAX2 events from it.
This class is just intended to be used by AbstractUnmarshallerImpl
.
The javax.xml.bind.helpers package is generally a wrong place to put
classes like this.
Constructor Summary | |
---|---|
DOMScanner()
|
Method Summary | |
---|---|
org.w3c.dom.Node |
getCurrentLocation()
|
void |
parse(org.w3c.dom.Element e,
org.xml.sax.ContentHandler handler)
Parses a subtree starting from the element e and reports SAX2 events to the specified handler. |
void |
parseWithContext(org.w3c.dom.Element e,
org.xml.sax.ContentHandler handler)
Similar to the parse method but it visits the ancestor nodes and properly emulate the all in-scope namespace declarations. |
void |
visit(org.w3c.dom.Element e)
Visits an element and its subtree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMScanner()
Method Detail |
---|
public void parse(org.w3c.dom.Element e, org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void parseWithContext(org.w3c.dom.Element e, org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void visit(org.w3c.dom.Element e) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public org.w3c.dom.Node getCurrentLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |