XMLParser implementation that
parses XML from a DOM forest instead of parsing it from
its original location.
| Modifier and Type | Field and Description |
|---|---|
| private final XMLParser | |
| private final DOMForest | forest
DOM forest to be "parsed". |
| private final DOMForestScanner | scanner
Scanner object will do the actual SAX events generation. |
| Access | Constructor and Description |
|---|---|
| pack-priv | DOMForestParser(DOMForest forest, XMLParser
This parser will be used when DOMForestParser needs to parse
documents that are not in the forest. fallbackParser)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(InputSource source, ContentHandler contentHandler, ErrorHandler errorHandler, EntityResolver entityResolver)
Implements com. Parses the document identified by the given input source and sends SAX events to the given content handler. |
| fallbackParser | back to summary |
|---|---|
| private final XMLParser fallbackParser | |
| forest | back to summary |
|---|---|
| private final DOMForest forest DOM forest to be "parsed". | |
| scanner | back to summary |
|---|---|
| private final DOMForestScanner scanner Scanner object will do the actual SAX events generation. | |
| DOMForestParser | back to summary |
|---|---|
pack-priv DOMForestParser(DOMForest forest, XMLParser fallbackParser)
| |
| parse | back to summary |
|---|---|
| public void parse(InputSource source, ContentHandler contentHandler, ErrorHandler errorHandler, EntityResolver entityResolver) throws SAXException, IOException Implements com. Doc from com. Parses the document identified by the given input source and sends SAX events to the given content handler. This method must be re-entrant.
| |