public class DocumentBuilderFactoryImpl
extends javax.xml.parsers.DocumentBuilderFactory
| Constructor and Description |
|---|
DocumentBuilderFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Allows the user to retrieve specific attributes on the underlying
implementation.
|
boolean |
getFeature(java.lang.String name) |
javax.xml.validation.Schema |
getSchema() |
boolean |
isXIncludeAware() |
javax.xml.parsers.DocumentBuilder |
newDocumentBuilder()
Creates a new instance of a
DocumentBuilder
using the currently configured parameters. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Allows the user to set specific attributes on the underlying
implementation.
|
void |
setFeature(java.lang.String name,
boolean value) |
void |
setSchema(javax.xml.validation.Schema grammar) |
void |
setXIncludeAware(boolean state) |
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, newInstance, newInstance, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setValidatingpublic javax.xml.parsers.DocumentBuilder newDocumentBuilder()
throws javax.xml.parsers.ParserConfigurationException
DocumentBuilder
using the currently configured parameters.newDocumentBuilder in class javax.xml.parsers.DocumentBuilderFactoryjavax.xml.parsers.ParserConfigurationExceptionpublic void setAttribute(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
setAttribute in class javax.xml.parsers.DocumentBuilderFactoryname - name of attributevalue - null means to remove attributejava.lang.IllegalArgumentExceptionpublic java.lang.Object getAttribute(java.lang.String name)
throws java.lang.IllegalArgumentException
getAttribute in class javax.xml.parsers.DocumentBuilderFactoryjava.lang.IllegalArgumentExceptionpublic javax.xml.validation.Schema getSchema()
getSchema in class javax.xml.parsers.DocumentBuilderFactorypublic void setSchema(javax.xml.validation.Schema grammar)
setSchema in class javax.xml.parsers.DocumentBuilderFactorypublic boolean isXIncludeAware()
isXIncludeAware in class javax.xml.parsers.DocumentBuilderFactorypublic void setXIncludeAware(boolean state)
setXIncludeAware in class javax.xml.parsers.DocumentBuilderFactorypublic boolean getFeature(java.lang.String name)
throws javax.xml.parsers.ParserConfigurationException
getFeature in class javax.xml.parsers.DocumentBuilderFactoryjavax.xml.parsers.ParserConfigurationExceptionpublic void setFeature(java.lang.String name,
boolean value)
throws javax.xml.parsers.ParserConfigurationException
setFeature in class javax.xml.parsers.DocumentBuilderFactoryjavax.xml.parsers.ParserConfigurationExceptionCopyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.