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, setValidating
public javax.xml.parsers.DocumentBuilder newDocumentBuilder() throws javax.xml.parsers.ParserConfigurationException
DocumentBuilder
using the currently configured parameters.newDocumentBuilder
in class javax.xml.parsers.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
public void setAttribute(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException
setAttribute
in class javax.xml.parsers.DocumentBuilderFactory
name
- name of attributevalue
- null means to remove attributejava.lang.IllegalArgumentException
public java.lang.Object getAttribute(java.lang.String name) throws java.lang.IllegalArgumentException
getAttribute
in class javax.xml.parsers.DocumentBuilderFactory
java.lang.IllegalArgumentException
public javax.xml.validation.Schema getSchema()
getSchema
in class javax.xml.parsers.DocumentBuilderFactory
public void setSchema(javax.xml.validation.Schema grammar)
setSchema
in class javax.xml.parsers.DocumentBuilderFactory
public boolean isXIncludeAware()
isXIncludeAware
in class javax.xml.parsers.DocumentBuilderFactory
public void setXIncludeAware(boolean state)
setXIncludeAware
in class javax.xml.parsers.DocumentBuilderFactory
public boolean getFeature(java.lang.String name) throws javax.xml.parsers.ParserConfigurationException
getFeature
in class javax.xml.parsers.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
public void setFeature(java.lang.String name, boolean value) throws javax.xml.parsers.ParserConfigurationException
setFeature
in class javax.xml.parsers.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
Copyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.