Class DOMForestScanner
java.lang.Object
com.sun.tools.xjc.reader.internalizer.DOMForestScanner
Produces a complete series of SAX events from any DOM node
in the DOMForest.
This class hides a logic of re-associating Locator
to the generated SAX event stream.
- Author:
- Kohsuke Kawaguchi ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
scan
(Document d, ContentHandler contentHandler) Generates the whole set of SAX events from the given Document in the DOMForest.void
scan
(Element e, ContentHandler contentHandler) Generates the whole set of SAX events by treating element e as if it's a root element.
-
Constructor Details
-
DOMForestScanner
Scans DOM nodes of the given forest. DOM node parameters to the scan method must be a part of this forest.
-
-
Method Details
-
scan
Generates the whole set of SAX events by treating element e as if it's a root element.- Throws:
SAXException
-
scan
Generates the whole set of SAX events from the given Document in the DOMForest.- Throws:
SAXException
-