Package org.eigenbase.xom.wrappers
Class JaxpDOMParser
java.lang.Object
org.eigenbase.xom.wrappers.GenericDOMParser
org.eigenbase.xom.wrappers.JaxpDOMParser
- All Implemented Interfaces:
Locator,Parser,ErrorHandler
- Since:
- Aug 29, 2002
- Version:
- $Id: //open/util/resgen/src/org/eigenbase/xom/wrappers/JaxpDOMParser.java#3 $
- Author:
- jhyde
-
Field Summary
Fields inherited from class org.eigenbase.xom.wrappers.GenericDOMParser
document, errorBuffer, errorOut, LOAD_EXTERNAL_DTD_FEATURE, VALIDATION_FEATURE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a non-validating parser.JaxpDOMParser(boolean validating) Creates a parser. -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentParses the specified URI and returns the document.Methods inherited from class org.eigenbase.xom.wrappers.GenericDOMParser
create, error, fatalError, getLocation, handleErrors, isKeepPositions, parse, parse, parse, parse, prepareParse, setKeepPositions, warning
-
Constructor Details
-
JaxpDOMParser
Creates a non-validating parser.- Throws:
XOMException
-
JaxpDOMParser
Creates a parser.- Throws:
XOMException
-
-
Method Details
-
parseInputSource
Description copied from class:GenericDOMParserParses the specified URI and returns the document.- Specified by:
parseInputSourcein classGenericDOMParser- Parameters:
in- Input source- Returns:
- Document
- Throws:
XOMException- on error
-