Public Methods | |
| nodeentitynodetype (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
returns the constant value 6.
Retrieve the first Entity declaration in the "DOCTYPE"
section of the XML file and invoke the "getNodeType()"
method. The method should return 6.
Definition at line 51 of file nodeentitynodetype.java.
|
|
Definition at line 53 of file nodeentitynodetype.java.
00054 {
00055 super(factory);
00056
00057 }
|
|
|
Reimplemented from DOMTest. Definition at line 73 of file nodeentitynodetype.java.
00073 {
00074 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/nodeentitynodetype";
00075 }
|
|
|
Definition at line 76 of file nodeentitynodetype.java. References DOMTestCase::doMain().
00076 {
00077 DOMTestCase.doMain(nodeentitynodetype.class,args);
00078 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 59 of file nodeentitynodetype.java. References DOMTestCase::assertEquals(), and DOMTest::load().
00059 {
00060 Document doc;
00061 DocumentType docType1;
00062 NamedNodeMap testName;
00063 Node entityNode;
00064 int nodeType;
00065 doc = load("staff");
00066 docType1 = doc.getDoctype();
00067 testName = docType1.getEntities();
00068 entityNode = testName.getNamedItem("ent1");
00069 nodeType = (int)entityNode.getNodeType();
00070 assertEquals("nodeEntityNodeTypeAssert1",6,nodeType);
00071
00072 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001