org.w3c.domts
public abstract class DOMTest extends Object
| Constructor Summary | |
|---|---|
| DOMTest(DOMTestDocumentBuilderFactory factory)
This is the appropriate constructor for tests that make no requirements
on the parser configuration.
| |
| DOMTest()
This constructor is used by tests that must create a modified document
factory to meet requirements on the parser configuration. setFactory
should be called within the test's constructor. | |
| Method Summary | |
|---|---|
| InputStream | createStream(String bytes) |
| String | createTempURI(String scheme) |
| Object | createXPathEvaluator(Document doc) |
| String | getContentType() |
| protected DOMTestDocumentBuilderFactory | getFactory() |
| DOMImplementation | getImplementation() |
| int | getMutationCount()
Implementation of EventListener.handleEvent
This method is called when a mutation is reported for a document that
was declared to not be modified during testing
|
| String | getResourceURI(String href, String scheme, String contentType) |
| abstract String | getTargetURI() |
| boolean | hasFeature(String feature, String version) |
| boolean | hasSetting(DocumentBuilderSetting setting) |
| boolean | isCoalescing() |
| boolean | isExpandEntityReferences() |
| boolean | isHasNullString() |
| boolean | isIgnoringElementContentWhitespace() |
| boolean | isNamespaceAware() |
| boolean | isSigned() |
| boolean | isValidating() |
| Document | load(String docURI, boolean willBeModified) |
| void | preload(String contentType, String docURI, boolean willBeModified) |
| protected void | setFactory(DOMTestDocumentBuilderFactory factory)
Should only be called in the constructor of a derived type. |
Parameters: factory must not be null
Parameters: evt mutation event