Public Methods | |
| nodeparentnodenull (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Create a new "employee" Element node using the "createElement(name)" method from the Document interface. Since this new node has not yet been added to the tree, the "getParentNode()" method will return null.
Definition at line 45 of file nodeparentnodenull.java.
|
|
Definition at line 47 of file nodeparentnodenull.java.
00048 {
00049 super(factory);
00050
00051 }
|
|
|
Reimplemented from DOMTest. Definition at line 63 of file nodeparentnodenull.java.
00063 {
00064 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodeparentnodenull";
00065 }
|
|
|
Definition at line 66 of file nodeparentnodenull.java. References DOMTestCase::doMain().
00066 {
00067 DOMTestCase.doMain(nodeparentnodenull.class,args);
00068 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 53 of file nodeparentnodenull.java. References DOMTestCase::assertNull(), and DOMTest::load().
00053 {
00054 Document doc;
00055 Element createdNode;
00056 Node parentNode;
00057 doc = load("staff");
00058 createdNode = doc.createElement("employee");
00059 parentNode = createdNode.getParentNode();
00060 assertNull("parentNode",parentNode);
00061
00062 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001