Java javax.xml.parsers DocumentBuilder fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.parsers DocumentBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.parsers DocumentBuilder.

The text is from its open source code.

Subclass

javax.xml.parsers.DocumentBuilder has subclasses.
Click this link to see all its subclasses.

Method

ClassgetClass()
Returns the runtime class of this Object .
DOMImplementationgetDOMImplementation()
Obtain an instance of a DOMImplementation object.
booleanisNamespaceAware()
Indicates whether or not this parser is configured to understand namespaces.
booleanisValidating()
Indicates whether or not this parser is configured to validate XML documents.
booleanisXIncludeAware()

Get the XInclude processing mode for this parser.

DocumentnewDocument()
Obtain a new instance of a DOM Document object to build a DOM tree with.
Documentparse(InputStream is)
Parse the content of the given InputStream as an XML document and return a new DOM Document object.
Documentparse(String uri)
Parse the content of the given URI as an XML document and return a new DOM Document object.
Documentparse(File f)
Parse the content of the given file as an XML document and return a new DOM Document object.
Documentparse(InputSource is)
Parse the content of the given input source as an XML document and return a new DOM Document object.
Documentparse(InputStream is, String systemId)
Parse the content of the given InputStream as an XML document and return a new DOM Document object.
voidreset()

Reset this DocumentBuilder to its original configuration.

DocumentBuilder is reset to the same state as when it was created with DocumentBuilderFactory#newDocumentBuilder() .

voidsetEntityResolver(EntityResolver er)
Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed.
voidsetErrorHandler(ErrorHandler eh)
Specify the ErrorHandler to be used by the parser.