# Uses of Class
javax.xml.parsers.DocumentBuilderFactory

Packages that use DocumentBuilderFactory
Package
Description
javax.xml.parsers
Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder.

## Uses of DocumentBuilderFactory in javax.xml.parsers

Methods in javax.xml.parsers that return DocumentBuilderFactory
Modifier and Type
Method
Description
`static DocumentBuilderFactory`
DocumentBuilderFactory.`newDefaultInstance()`
Creates a new instance of the `DocumentBuilderFactory` builtin system-default implementation.
`static DocumentBuilderFactory`
DocumentBuilderFactory.`newDefaultNSInstance()`
Creates a new NamespaceAware instance of the `DocumentBuilderFactory` builtin system-default implementation.
`static DocumentBuilderFactory`
DocumentBuilderFactory.`newInstance()`
Obtain a new instance of a `DocumentBuilderFactory`.
`static DocumentBuilderFactory`
DocumentBuilderFactory.`newInstance​(String factoryClassName, ClassLoader classLoader)`
Obtain a new instance of a `DocumentBuilderFactory` from class name.
`static DocumentBuilderFactory`
DocumentBuilderFactory.`newNSInstance()`
Creates a new NamespaceAware instance of a `DocumentBuilderFactory`.
`static DocumentBuilderFactory`
DocumentBuilderFactory.`newNSInstance​(String factoryClassName, ClassLoader classLoader)`
Creates a new NamespaceAware instance of a `DocumentBuilderFactory` from the class name.