public class DOMForestParser extends Object implements com.sun.xml.xsom.parser.XMLParser
XMLParser
implementation that
parses XML from a DOM forest instead of parsing it from
its original location.Constructor and Description |
---|
DOMForestParser(DOMForest forest,
com.sun.xml.xsom.parser.XMLParser fallbackParser) |
Modifier and Type | Method and Description |
---|---|
void |
parse(InputSource source,
ContentHandler handler,
EntityResolver entityResolver,
ErrorHandler errHandler) |
void |
parse(InputSource source,
ContentHandler handler,
ErrorHandler errorHandler,
EntityResolver entityResolver) |
public DOMForestParser(DOMForest forest, com.sun.xml.xsom.parser.XMLParser fallbackParser)
fallbackParser
- This parser will be used when DOMForestParser needs to parse
documents that are not in the forest.public void parse(InputSource source, ContentHandler handler, EntityResolver entityResolver, ErrorHandler errHandler) throws SAXException, IOException
SAXException
IOException
public void parse(InputSource source, ContentHandler handler, ErrorHandler errorHandler, EntityResolver entityResolver) throws SAXException, IOException
parse
in interface com.sun.xml.xsom.parser.XMLParser
SAXException
IOException
Copyright © 2019 Oracle Corporation. All rights reserved.