java.lang.Object
com.sun.tools.ws.wsdl.parser.DOMForestParser
- All Implemented Interfaces:
com.sun.xml.xsom.parser.XMLParser
XMLParser
implementation that
parses XML from a DOM forest instead of parsing it from
its original location.- Author:
- Kohsuke Kawaguchi ([email protected]), Vivek Pandey
-
Constructor Summary
ConstructorDescriptionDOMForestParser
(DOMForest forest, com.sun.xml.xsom.parser.XMLParser fallbackParser) -
Method Summary
Modifier and TypeMethodDescriptionvoid
parse
(InputSource source, ContentHandler handler, EntityResolver entityResolver, ErrorHandler errHandler) void
parse
(InputSource source, ContentHandler handler, ErrorHandler errorHandler, EntityResolver entityResolver)
-
Constructor Details
-
DOMForestParser
- Parameters:
fallbackParser
- This parser will be used when DOMForestParser needs to parse documents that are not in the forest.
-
-
Method Details
-
parse
public void parse(InputSource source, ContentHandler handler, EntityResolver entityResolver, ErrorHandler errHandler) throws SAXException, IOException - Throws:
SAXException
IOException
-
parse
public void parse(InputSource source, ContentHandler handler, ErrorHandler errorHandler, EntityResolver entityResolver) throws SAXException, IOException - Specified by:
parse
in interfacecom.sun.xml.xsom.parser.XMLParser
- Throws:
SAXException
IOException
-