com.sun.msv.verifier.jaxp
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.DocumentBuilderFactory
public void setAttribute(java.lang.String name, java.lang.Object value)
setAttribute
in class javax.xml.parsers.DocumentBuilderFactory
public boolean isCoalescing()
isCoalescing
in class javax.xml.parsers.DocumentBuilderFactory
public boolean isExpandEntityReference()
public boolean isIgnoringComments()
isIgnoringComments
in class javax.xml.parsers.DocumentBuilderFactory
public boolean isIgnoringElementContentWhitespace()
isIgnoringElementContentWhitespace
in class javax.xml.parsers.DocumentBuilderFactory
public boolean isNamespaceAware()
isNamespaceAware
in class javax.xml.parsers.DocumentBuilderFactory
public boolean isValidating()
isValidating
in class javax.xml.parsers.DocumentBuilderFactory
public javax.xml.parsers.DocumentBuilder newDocumentBuilder() throws javax.xml.parsers.ParserConfigurationException
newDocumentBuilder
in class javax.xml.parsers.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
public void setCoalescing(boolean newVal)
setCoalescing
in class javax.xml.parsers.DocumentBuilderFactory
public void setExpandEntityReference(boolean newVal)
public void setIgnoringComments(boolean newVal)
setIgnoringComments
in class javax.xml.parsers.DocumentBuilderFactory
public void setIgnoringElementContentWhitespace(boolean newVal)
setIgnoringElementContentWhitespace
in class javax.xml.parsers.DocumentBuilderFactory
public void setNamespaceAware(boolean newVal)
setNamespaceAware
in class javax.xml.parsers.DocumentBuilderFactory
public void setValidating(boolean newVal)
setValidating
in class javax.xml.parsers.DocumentBuilderFactory
public boolean getFeature(java.lang.String name)
getFeature
in class javax.xml.parsers.DocumentBuilderFactory
public void setFeature(java.lang.String name, boolean value)
setFeature
in class javax.xml.parsers.DocumentBuilderFactory