org.w3c.domts.level2.core
Class importNode01
public final class importNode01
The "importNode(importedNode,deep)" method for a
Document should import the given importedNode into that Document.
The importedNode is of type Attr.
The ownerElement is set to null. Specified flag is set to true.
Children is imported.
Create a new attribute whose name is "elem:attr1" in a different document.
Create a child Text node with value "importedText" for the attribute node above.
Invoke method importNode(importedNode,deep) on this document with
importedNode being the newly created attribute.
Method should return a node whose name matches "elem:attr1" and a child node
whose value equals "importedText".
The returned node should belong to this document whose systemId is "staff.dtd"
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