- name
- Feature name.
- value
- Is feature state true or false.
Type Reason Javax.Xml.Parsers.ParserConfigurationException if this DocumentBuilderFactory or the DocumentBuilders it creates cannot support this feature. Java.Lang.NullPointerException If the name parameter is null.
Set a feature for this DocumentBuilderFactory and DocumentBuilders created by this factory.
Feature names are fully qualified Java.Net.URIs. Implementations may define their own features. An Javax.Xml.Parsers.ParserConfigurationException is thrown if this DocumentBuilderFactory or the DocumentBuilders it creates cannot support the feature. It is possible for an DocumentBuilderFactory to expose a feature value but be unable to change its state.
All implementations are required to support the Javax.Xml.XMLConstants.FeatureSecureProcessing feature. When the feature is: