| Package | Description | 
|---|---|
| javax.xml.parsers | 
                Provides classes allowing the processing of XML documents. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| abstract boolean | DocumentBuilderFactory. getFeature(String name)Get the state of the named feature. | |
| abstract boolean | SAXParserFactory. getFeature(String name)Returns the particular property requested for in the underlying
 implementation of org.xml.sax.XMLReader. | |
| abstract DocumentBuilder | DocumentBuilderFactory. newDocumentBuilder()Creates a new instance of a  DocumentBuilderusing the currently configured parameters. | |
| abstract SAXParser | SAXParserFactory. newSAXParser()Creates a new instance of a SAXParser using the currently
 configured factory parameters. | |
| abstract void | DocumentBuilderFactory. setFeature(String name,
          boolean value)Set a feature for this  DocumentBuilderFactoryandDocumentBuilders created by this factory. | |
| abstract void | SAXParserFactory. setFeature(String name,
          boolean value)Sets the particular feature in the underlying implementation of
 org.xml.sax.XMLReader. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.