Example usage for Java javax.xml.parsers DocumentBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | getClass() Returns the runtime class of this Object . |
DOMImplementation | getDOMImplementation() Obtain an instance of a DOMImplementation object. |
boolean | isNamespaceAware() Indicates whether or not this parser is configured to understand namespaces. |
boolean | isValidating() Indicates whether or not this parser is configured to validate XML documents. |
boolean | isXIncludeAware() Get the XInclude processing mode for this parser. |
Document | newDocument() Obtain a new instance of a DOM Document object to build a DOM tree with. |
Document | parse(InputStream is) Parse the content of the given InputStream as an XML document and return a new DOM Document object. |
Document | parse(String uri) Parse the content of the given URI as an XML document and return a new DOM Document object. |
Document | parse(File f) Parse the content of the given file as an XML document and return a new DOM Document object. |
Document | parse(InputSource is) Parse the content of the given input source as an XML document and return a new DOM Document object. |
Document | parse(InputStream is, String systemId) Parse the content of the given InputStream as an XML document and return a new DOM Document object. |
void | reset() Reset this
|
void | setEntityResolver(EntityResolver er) Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed. |
void | setErrorHandler(ErrorHandler eh) Specify the ErrorHandler to be used by the parser. |