|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.domts.DOMTest
This is an abstract base class for generated DOM tests
Constructor Summary | |
DOMTest()
This constructor is used by tests that must create a modified document factory to meet requirements on the parser configuration. |
|
DOMTest(DOMTestDocumentBuilderFactory factory)
This is the appropriate constructor for tests that make no requirements on the parser configuration. |
Method Summary | |
java.io.InputStream |
createStream(java.lang.String bytes)
|
java.lang.String |
createTempURI(java.lang.String scheme)
|
java.lang.Object |
createXPathEvaluator(org.w3c.dom.Document doc)
|
java.lang.String |
getContentType()
|
protected DOMTestDocumentBuilderFactory |
getFactory()
|
org.w3c.dom.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 |
java.lang.String |
getResourceURI(java.lang.String href,
java.lang.String scheme,
java.lang.String contentType)
|
abstract java.lang.String |
getTargetURI()
|
boolean |
hasFeature(java.lang.String feature,
java.lang.String version)
|
boolean |
hasSetting(DocumentBuilderSetting setting)
|
boolean |
isCoalescing()
|
boolean |
isExpandEntityReferences()
|
boolean |
isHasNullString()
|
boolean |
isIgnoringElementContentWhitespace()
|
boolean |
isNamespaceAware()
|
boolean |
isSigned()
|
boolean |
isValidating()
|
org.w3c.dom.Document |
load(java.lang.String docURI,
boolean willBeModified)
|
void |
preload(java.lang.String contentType,
java.lang.String docURI,
boolean willBeModified)
|
protected void |
setFactory(DOMTestDocumentBuilderFactory factory)
Should only be called in the constructor of a derived type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMTest(DOMTestDocumentBuilderFactory factory)
factory
- must not be nullpublic DOMTest()
Method Detail |
protected void setFactory(DOMTestDocumentBuilderFactory factory)
public boolean hasFeature(java.lang.String feature, java.lang.String version)
public boolean hasSetting(DocumentBuilderSetting setting)
protected DOMTestDocumentBuilderFactory getFactory()
public org.w3c.dom.DOMImplementation getImplementation()
public java.lang.String getResourceURI(java.lang.String href, java.lang.String scheme, java.lang.String contentType) throws DOMTestLoadException
DOMTestLoadException
public java.lang.String createTempURI(java.lang.String scheme) throws DOMTestLoadException
DOMTestLoadException
public org.w3c.dom.Document load(java.lang.String docURI, boolean willBeModified) throws DOMTestLoadException
DOMTestLoadException
public void preload(java.lang.String contentType, java.lang.String docURI, boolean willBeModified) throws DOMTestIncompatibleException
DOMTestIncompatibleException
public java.lang.Object createXPathEvaluator(org.w3c.dom.Document doc)
public java.io.InputStream createStream(java.lang.String bytes) throws DOMTestLoadException, java.io.IOException
DOMTestLoadException
java.io.IOException
public abstract java.lang.String getTargetURI()
public final boolean isCoalescing()
public final boolean isExpandEntityReferences()
public final boolean isIgnoringElementContentWhitespace()
public final boolean isNamespaceAware()
public final boolean isValidating()
public final boolean isSigned()
public final boolean isHasNullString()
public final java.lang.String getContentType()
public final int getMutationCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |