org.iso_relax.jaxp
public class ValidatingDocumentBuilderFactory extends DocumentBuilderFactory
| Constructor Summary | |
|---|---|
| ValidatingDocumentBuilderFactory(Schema schema)
creates a new instance that wraps the default DocumentBuilderFactory | |
| ValidatingDocumentBuilderFactory(DocumentBuilderFactory wrapped, Schema schema)
creates a new instance with an internal DocumentBuilderFactory and Schema. | |
| Method Summary | |
|---|---|
| Object | getAttribute(String name) |
| boolean | getFeature(String name) |
| boolean | isCoalescing() |
| boolean | isExpandEntityReference() |
| boolean | isIgnoringComments() |
| boolean | isIgnoringElementContentWhitespace() |
| boolean | isNamespaceAware() |
| boolean | isValidating() |
| DocumentBuilder | newDocumentBuilder()
returns a new DOM parser.
|
| void | setAttribute(String name, Object value) |
| void | setCoalescing(boolean coalescing) |
| void | setExpandEntityReference(boolean expandEntityRef) |
| void | setFeature(String name, boolean value) |
| void | setIgnoringComments(boolean ignoreComments) |
| void | setIgnoringElementContentWhitespace(boolean whitespace) |
| void | setNamespaceAware(boolean awareness) |
| void | setValidating(boolean _validating) |
Parameters: schema the compiled Schema object. It can not be null.
Parameters: wrapped internal DocumentBuilderFactory schema compiled schema.
See Also: DocumentBuilderFactory#getAttribute(String)
See Also: DocumentBuilderFactory#setAttribute(String, Object)