public class DocumentBuilderFactoryImpl
extends javax.xml.parsers.DocumentBuilderFactory
This class uses another DocumentBuilderFactory implementation and adds the validation capability to it.
| Constructor and Description |
|---|
DocumentBuilderFactoryImpl()
Creates a new instance by using the default DocumentBuilderFactory implementation
as the underlying parser.
|
DocumentBuilderFactoryImpl(javax.xml.parsers.DocumentBuilderFactory _factory)
Creates a new instance by specifying the underlying SAXParserFactory
implementation.
|
DocumentBuilderFactoryImpl(javax.xml.parsers.DocumentBuilderFactory _factory,
org.iso_relax.verifier.Schema _schema) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
boolean |
getFeature(java.lang.String name) |
boolean |
isCoalescing() |
boolean |
isExpandEntityReference() |
boolean |
isIgnoringComments() |
boolean |
isIgnoringElementContentWhitespace() |
boolean |
isNamespaceAware() |
boolean |
isValidating() |
javax.xml.parsers.DocumentBuilder |
newDocumentBuilder() |
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
void |
setCoalescing(boolean newVal) |
void |
setExpandEntityReference(boolean newVal) |
void |
setFeature(java.lang.String name,
boolean value) |
void |
setIgnoringComments(boolean newVal) |
void |
setIgnoringElementContentWhitespace(boolean newVal) |
void |
setNamespaceAware(boolean newVal) |
void |
setValidating(boolean newVal) |
public DocumentBuilderFactoryImpl()
public DocumentBuilderFactoryImpl(javax.xml.parsers.DocumentBuilderFactory _factory)
public DocumentBuilderFactoryImpl(javax.xml.parsers.DocumentBuilderFactory _factory,
org.iso_relax.verifier.Schema _schema)
public java.lang.Object getAttribute(java.lang.String name)
getAttribute in class javax.xml.parsers.DocumentBuilderFactorypublic void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in class javax.xml.parsers.DocumentBuilderFactorypublic boolean isCoalescing()
isCoalescing in class javax.xml.parsers.DocumentBuilderFactorypublic boolean isExpandEntityReference()
public boolean isIgnoringComments()
isIgnoringComments in class javax.xml.parsers.DocumentBuilderFactorypublic boolean isIgnoringElementContentWhitespace()
isIgnoringElementContentWhitespace in class javax.xml.parsers.DocumentBuilderFactorypublic boolean isNamespaceAware()
isNamespaceAware in class javax.xml.parsers.DocumentBuilderFactorypublic boolean isValidating()
isValidating in class javax.xml.parsers.DocumentBuilderFactorypublic javax.xml.parsers.DocumentBuilder newDocumentBuilder()
throws javax.xml.parsers.ParserConfigurationException
newDocumentBuilder in class javax.xml.parsers.DocumentBuilderFactoryjavax.xml.parsers.ParserConfigurationExceptionpublic void setCoalescing(boolean newVal)
setCoalescing in class javax.xml.parsers.DocumentBuilderFactorypublic void setExpandEntityReference(boolean newVal)
public void setIgnoringComments(boolean newVal)
setIgnoringComments in class javax.xml.parsers.DocumentBuilderFactorypublic void setIgnoringElementContentWhitespace(boolean newVal)
setIgnoringElementContentWhitespace in class javax.xml.parsers.DocumentBuilderFactorypublic void setNamespaceAware(boolean newVal)
setNamespaceAware in class javax.xml.parsers.DocumentBuilderFactorypublic void setValidating(boolean newVal)
setValidating in class javax.xml.parsers.DocumentBuilderFactorypublic boolean getFeature(java.lang.String name)
getFeature in class javax.xml.parsers.DocumentBuilderFactorypublic void setFeature(java.lang.String name,
boolean value)
setFeature in class javax.xml.parsers.DocumentBuilderFactoryMSV