public class XercesDOMParser extends GenericDOMParser
document, errorBuffer, errorOut, LOAD_EXTERNAL_DTD_FEATURE, VALIDATION_FEATURE| Constructor and Description |
|---|
XercesDOMParser()
Constructs a non-validating Xerces DOM Parser.
|
XercesDOMParser(boolean validate)
Constructs a Xerces DOM Parser.
|
| Modifier and Type | Method and Description |
|---|---|
DOMWrapper |
create(String tagName)
Creates a wrapper representing an XML element.
|
protected Document |
parseInputSource(InputSource in)
Parses the specified URI and returns the document.
|
error, fatalError, getLocation, handleErrors, isKeepPositions, parse, parse, parse, parse, prepareParse, setKeepPositions, warningpublic XercesDOMParser() throws XOMException
XOMExceptionpublic XercesDOMParser(boolean validate) throws XOMException
validate - whether to enable validationXOMExceptionprotected Document parseInputSource(InputSource in) throws XOMException
GenericDOMParserparseInputSource in class GenericDOMParserin - Input sourceXOMException - on errorpublic DOMWrapper create(String tagName)
Parsercreate in interface Parsercreate in class GenericDOMParsertagName - Name of element