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(java.lang.String tagName)
Creates a wrapper representing an XML element.
|
protected org.w3c.dom.Document |
parseInputSource(org.xml.sax.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 org.w3c.dom.Document parseInputSource(org.xml.sax.InputSource in)
throws XOMException
GenericDOMParserparseInputSource in class GenericDOMParserin - Input sourceXOMException - on errorpublic DOMWrapper create(java.lang.String tagName)
Parsercreate in interface Parsercreate in class GenericDOMParsertagName - Name of element