Java Doc for DocumentBuilderFactoryImpl.java in » XML » saxonb » net » sf » saxon » dom » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Implementation of JAXP 1.1 DocumentBuilderFactory. To build a Document using
Saxon, set the system property javax.xml.parsers.DocumentBuilderFactory to
"net.sf.saxon.om.DocumentBuilderFactoryImpl" and then call
DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(InputSource);
Feature names are fully qualified
java.net.URI s.
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.
Parameters: name - Feature name.
Feature names are fully qualified
java.net.URI s.
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.
Parameters: name - Feature name. State of the named feature. throws: javax.xml.parsers.ParserConfigurationException - if this DocumentBuilderFactoryor the DocumentBuilders it creates cannot support this feature.
Set a feature for this DocumentBuilderFactory and DocumentBuilders created by this factory.
Feature names are fully qualified
java.net.URI s.
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.FEATURE_SECURE_PROCESSING feature.
When the feature is:
false: the implementation will processing XML according to the XML specifications without
regard to possible implementation limits.
Parameters: name - Feature name. Parameters: value - Is feature state true or false. throws: javax.xml.parsers.ParserConfigurationException - if this DocumentBuilderFactory or the DocumentBuildersit creates cannot support this feature. throws: NullPointerException - If the name parameter is null.
Methods inherited from javax.xml.parsers.DocumentBuilderFactory