org.w3c.domts
public class BatikTestDocumentBuilderFactory extends DOMTestDocumentBuilderFactory
| Constructor Summary | |
|---|---|
| BatikTestDocumentBuilderFactory(DocumentBuilderSetting[] settings)
Creates a Batik implementation of DOMTestDocumentBuilderFactory. | |
| Method Summary | |
|---|---|
| String | addExtension(String testFileName)
Adds any specialized extension required by the implementation. |
| String | getContentType()
Gets content type. |
| DOMImplementation | getDOMImplementation()
Gets DOMImplementation. |
| boolean | hasFeature(String feature, String version)
Determines if the implementation supports the specified feature. |
| boolean | isCoalescing()
Indicates whether the implementation combines text and cdata nodes. |
| boolean | isExpandEntityReferences()
Indicates whether the implementation expands entity references. |
| boolean | isIgnoringElementContentWhitespace()
Indicates whether the implementation ignores
element content whitespace. |
| boolean | isNamespaceAware()
Indicates whether the implementation is namespace aware. |
| boolean | isValidating()
Indicates whether the implementation is validating. |
| Document | load(URL url)
Loads specified URL. |
| DOMTestDocumentBuilderFactory | newInstance(DocumentBuilderSetting[] newSettings)
Create new instance of document builder factory
reflecting specified settings. |
Parameters: settings array of settings, may be null.
Throws: DOMTestIncompatibleException If implementation does not support the specified settings
Parameters: testFileName file name from test
Returns: possibly modified file name
Returns: content type, "image/svg+xml"
Returns: DOM implementation, may be null
Parameters: feature Feature version Version
Returns: true if implementation supports the feature
Returns: true if coalescing
Returns: true if expanding entity references
Returns: true if ignoring element content whitespace
Returns: true if namespace aware
Returns: true if validating
Parameters: url url to load
Returns: DOM document
Throws: DOMTestLoadException if unable to load document
Parameters: newSettings new settings
Returns: New instance
Throws: DOMTestIncompatibleException if settings are not supported by implementation