Package com.sun.tools.ws.wsdl.parser
Class DOMForestParser
- java.lang.Object
-
- com.sun.tools.ws.wsdl.parser.DOMForestParser
-
-
Constructor Summary
Constructors Constructor Description DOMForestParser(DOMForest forest, XMLParser fallbackParser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidparse(InputSource source, ContentHandler handler, EntityResolver entityResolver, ErrorHandler errHandler)voidparse(InputSource source, ContentHandler handler, ErrorHandler errorHandler, EntityResolver entityResolver)Parses the document identified by the given input source and sends SAX events to the given content handler.
-
-
-
Method Detail
-
parse
public void parse(InputSource source, ContentHandler handler, EntityResolver entityResolver, ErrorHandler errHandler) throws SAXException, IOException
- Throws:
SAXExceptionIOException
-
parse
public void parse(InputSource source, ContentHandler handler, ErrorHandler errorHandler, EntityResolver entityResolver) throws SAXException, IOException
Description copied from interface:XMLParserParses the document identified by the given input source and sends SAX events to the given content handler.This method must be re-entrant.
- Specified by:
parsein interfaceXMLParsererrorHandler- Errors found during the parsing must be reported to this handler so that XSOM can recognize that something went wrong. Always a non-null valid objectentityResolver- Entity resolution should be done through this interface. Can be null.- Throws:
SAXException- If ErrorHandler throws a SAXException, this method will tunnel it to the caller. All the other errors must be reported to the error handler.IOException
-
-