com.sun.tools.ws.wsdl.parser
Class DOMForestParser
java.lang.Object
com.sun.tools.ws.wsdl.parser.DOMForestParser
- All Implemented Interfaces:
- com.sun.xml.xsom.parser.XMLParser
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMForestParser
public DOMForestParser(DOMForest forest,
com.sun.xml.xsom.parser.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 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 interface com.sun.xml.xsom.parser.XMLParser
- Throws:
SAXException
IOException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.