# Uses of Class
javax.xml.parsers.SAXParserFactory

Packages that use SAXParserFactory
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 SAXParserFactory in javax.xml.parsers

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