org.w3c.domts.level2.core
Class isSupported11
public final class isSupported11
The "feature" parameter in the
isSupported(feature,version)" method is the name
of the feature and the version is the version number of the
feature to test. XML is a legal value for the feature parameter
(Test for XML, upper case).
Legal values for the version parameter are 1.0 and 2.0
(Test for 2.0).
Retrieve the root node of the DOM document by invoking
the "getDocumentElement()" method. This should create a
node object on which the "isSupported(feature,version)"
method is invoked with "feature" equal to "XML" and the version equal to 2.0.
The method should return a boolean "true".
String | getTargetURI() - Gets URI that identifies the test.
|
static void | main(String[] args) - Runs this test from the command line.
|
void | runTest() - Runs the test case.
|
assertEqualAutoCase , assertEquals , assertEquals , assertEquals , assertEquals , assertEquals , assertEquals , assertEqualsAutoCase , assertEqualsAutoCase , assertEqualsIgnoreCase , assertEqualsIgnoreCase , assertEqualsIgnoreCase , assertFalse , assertFalse , assertInstanceOf , assertNotEquals , assertNotEquals , assertNotEquals , assertNotEqualsAutoCase , assertNotEqualsIgnoreCase , assertNotNull , assertNull , assertSame , assertSize , assertSize , assertSize , assertTrue , assertTrue , assertURIEquals , doMain , equals , equals , equals , equals , equals , equalsAutoCase , equalsAutoCase , equalsAutoCase , equalsIgnoreCase , equalsIgnoreCase , equalsIgnoreCase , fail , runTest , same , setFramework , size , size , size , wait |
createStream , createTempURI , createXPathEvaluator , getContentType , getFactory , getImplementation , getMutationCount , getResourceURI , getTargetURI , hasFeature , hasSetting , isCoalescing , isExpandEntityReferences , isHasNullString , isIgnoringElementContentWhitespace , isNamespaceAware , isSigned , isValidating , load , preload , setFactory |
getTargetURI
public String getTargetURI()
Gets URI that identifies the test.
- getTargetURI in interface DOMTest
main
public static void main(String[] args)
Runs this test from the command line.
args
- command line arguments
runTest
public void runTest()
throws Throwable
Runs the test case.
- runTest in interface DOMTestCase