com.sun.tools.xjc.reader.internalizer
Class DOMForestParser
java.lang.Object
com.sun.tools.xjc.reader.internalizer.DOMForestParser
- All Implemented Interfaces:
- XMLParser
class DOMForestParser
- extends Object
- implements XMLParser
XMLParser
implementation that
parses XML from a DOM forest instead of parsing it from
its original location.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMForestParser
DOMForestParser(DOMForest forest,
XMLParser fallbackParser)
- Parameters:
fallbackParser
- This parser will be used when DOMForestParser needs to parse
documents that are not in the forest.
parse
public void parse(InputSource source,
ContentHandler contentHandler,
ErrorHandler errorHandler,
EntityResolver entityResolver)
throws SAXException,
IOException
- Specified by:
parse
in interface XMLParser
- Throws:
SAXException
IOException