public class DOMForestScanner
extends java.lang.Object
This class hides a logic of re-associating Locator
to the generated SAX event stream.
| Constructor and Description |
|---|
DOMForestScanner(DOMForest _forest)
Scans DOM nodes of the given forest.
|
| Modifier and Type | Method and Description |
|---|---|
void |
scan(org.w3c.dom.Document d,
org.xml.sax.ContentHandler contentHandler)
Generates the whole set of SAX events from the given Document
in the DOMForest.
|
void |
scan(org.w3c.dom.Element e,
org.xml.sax.ContentHandler contentHandler)
Generates the whole set of SAX events by treating
element e as if it's a root element.
|
public DOMForestScanner(DOMForest _forest)
public void scan(org.w3c.dom.Element e,
org.xml.sax.ContentHandler contentHandler)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void scan(org.w3c.dom.Document d,
org.xml.sax.ContentHandler contentHandler)
throws org.xml.sax.SAXException
org.xml.sax.SAXException