public class DocumentBuilderFactoryImpl extends 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(DocumentBuilderFactory _factory)
Creates a new instance by specifying the underlying SAXParserFactory
implementation.
|
DocumentBuilderFactoryImpl(DocumentBuilderFactory _factory,
org.iso_relax.verifier.Schema _schema) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
boolean |
getFeature(String name) |
boolean |
isCoalescing() |
boolean |
isExpandEntityReference() |
boolean |
isIgnoringComments() |
boolean |
isIgnoringElementContentWhitespace() |
boolean |
isNamespaceAware() |
boolean |
isValidating() |
DocumentBuilder |
newDocumentBuilder() |
void |
setAttribute(String name,
Object value) |
void |
setCoalescing(boolean newVal) |
void |
setExpandEntityReference(boolean newVal) |
void |
setFeature(String name,
boolean value) |
void |
setIgnoringComments(boolean newVal) |
void |
setIgnoringElementContentWhitespace(boolean newVal) |
void |
setNamespaceAware(boolean newVal) |
void |
setValidating(boolean newVal) |
getSchema, isExpandEntityReferences, isXIncludeAware, newInstance, newInstance, setExpandEntityReferences, setSchema, setXIncludeAwarepublic DocumentBuilderFactoryImpl()
public DocumentBuilderFactoryImpl(DocumentBuilderFactory _factory)
public DocumentBuilderFactoryImpl(DocumentBuilderFactory _factory, org.iso_relax.verifier.Schema _schema)
public Object getAttribute(String name)
getAttribute in class DocumentBuilderFactorypublic void setAttribute(String name, Object value)
setAttribute in class DocumentBuilderFactorypublic boolean isCoalescing()
isCoalescing in class DocumentBuilderFactorypublic boolean isExpandEntityReference()
public boolean isIgnoringComments()
isIgnoringComments in class DocumentBuilderFactorypublic boolean isIgnoringElementContentWhitespace()
isIgnoringElementContentWhitespace in class DocumentBuilderFactorypublic boolean isNamespaceAware()
isNamespaceAware in class DocumentBuilderFactorypublic boolean isValidating()
isValidating in class DocumentBuilderFactorypublic DocumentBuilder newDocumentBuilder() throws ParserConfigurationException
newDocumentBuilder in class DocumentBuilderFactoryParserConfigurationExceptionpublic void setCoalescing(boolean newVal)
setCoalescing in class DocumentBuilderFactorypublic void setExpandEntityReference(boolean newVal)
public void setIgnoringComments(boolean newVal)
setIgnoringComments in class DocumentBuilderFactorypublic void setIgnoringElementContentWhitespace(boolean newVal)
setIgnoringElementContentWhitespace in class DocumentBuilderFactorypublic void setNamespaceAware(boolean newVal)
setNamespaceAware in class DocumentBuilderFactorypublic void setValidating(boolean newVal)
setValidating in class DocumentBuilderFactorypublic boolean getFeature(String name)
getFeature in class DocumentBuilderFactorypublic void setFeature(String name, boolean value)
setFeature in class DocumentBuilderFactoryCopyright © 2014 Oracle Corporation. All Rights Reserved.