| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.w3c.domts.DOMTestpublic abstract class DOMTestextends java.lang.ObjectConstructor Summary | |
| |
| |
Method Summary | |
InputStream |
|
String |
|
Object |
|
String | |
protected DOMTestDocumentBuilderFactory | |
DOMImplementation | |
int |
|
String |
|
abstract String | |
boolean |
|
boolean |
|
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
boolean |
|
boolean | |
Document |
|
void |
|
protected void |
|
public 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.
public DOMTest(DOMTestDocumentBuilderFactory factory)
This is the appropriate constructor for tests that make no requirements on the parser configuration.
- Parameters:
factory- must not be null
public Object createXPathEvaluator(Document doc)
public final String getContentType()
public DOMImplementation getImplementation()
public final 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
- Parameters:
public String getResourceURI(String href,
String scheme,
String contentType)
throws DOMTestLoadExceptionpublic abstract String getTargetURI()
public boolean hasFeature(String feature,
String version)public final boolean isCoalescing()
public final boolean isExpandEntityReferences()
public final boolean isHasNullString()
public final boolean isIgnoringElementContentWhitespace()
public final boolean isNamespaceAware()
public final boolean isSigned()
public final boolean isValidating()
public void preload(String contentType,
String docURI,
boolean willBeModified)
throws DOMTestIncompatibleExceptionprotected void setFactory(DOMTestDocumentBuilderFactory factory)
Should only be called in the constructor of a derived type.