Package org.eigenbase.xom.wrappers
Class JaxpDOMParser
- java.lang.Object
-
- org.eigenbase.xom.wrappers.GenericDOMParser
-
- org.eigenbase.xom.wrappers.JaxpDOMParser
-
public class JaxpDOMParser extends GenericDOMParser
- 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
Constructors Constructor Description JaxpDOMParser()
Creates a non-validating parser.JaxpDOMParser(boolean validating)
Creates a parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.Document
parseInputSource(org.xml.sax.InputSource in)
Parses 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 Detail
-
JaxpDOMParser
public JaxpDOMParser() throws XOMException
Creates a non-validating parser.- Throws:
XOMException
-
JaxpDOMParser
public JaxpDOMParser(boolean validating) throws XOMException
Creates a parser.- Throws:
XOMException
-
-
Method Detail
-
parseInputSource
protected org.w3c.dom.Document parseInputSource(org.xml.sax.InputSource in) throws XOMException
Description copied from class:GenericDOMParser
Parses the specified URI and returns the document.- Specified by:
parseInputSource
in classGenericDOMParser
- Parameters:
in
- Input source- Returns:
- Document
- Throws:
XOMException
- on error
-
-