com.sun.tools.xjc.reader.internalizer
public class DOMForestScanner extends Object
This class hides a logic of re-associating Locator to the generated SAX event stream.
| Constructor Summary | |
|---|---|
| DOMForestScanner(DOMForest _forest)
Scans DOM nodes of the given forest.
| |
| Method Summary | |
|---|---|
| void | scan(Element e, ContentHandler contentHandler)
Generates the whole set of SAX events by treating
element e as if it's a root element. |
| void | scan(Document d, ContentHandler contentHandler)
Generates the whole set of SAX events from the given Document
in the DOMForest. |