Public Methods | |
| documenttypegetentitieslength (DOMTestDocumentBuilderFactory factory) | |
| void | runTest () throws java.lang.Throwable |
| String | getTargetURI () |
Static Public Methods | |
| void | main (String[] args) |
Retrieve the Document Type for this document and create
a NamedNodeMap of all its entities. The entity named
"ent1" is defined twice and therefore that last
occurrance should be discarded.
Definition at line 51 of file documenttypegetentitieslength.java.
|
|
Definition at line 53 of file documenttypegetentitieslength.java.
00054 {
00055 super(factory);
00056
00057 }
|
|
|
Reimplemented from DOMTest. Definition at line 69 of file documenttypegetentitieslength.java.
00069 {
00070 return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/documenttypegetentitieslength";
00071 }
|
|
|
Definition at line 72 of file documenttypegetentitieslength.java. References DOMTestCase::doMain().
00072 {
00073 DOMTestCase.doMain(documenttypegetentitieslength.class,args);
00074 }
|
|
|
Reimplemented from DOMTestCase. Definition at line 59 of file documenttypegetentitieslength.java. References DOMTestCase::assertSize(), and DOMTest::load().
00059 {
00060 Document doc;
00061 DocumentType docType;
00062 NamedNodeMap entityList;
00063 doc = load("staff");
00064 docType = doc.getDoctype();
00065 entityList = docType.getEntities();
00066 assertSize("documenttypeGetEntitiesLengthAssert",5,entityList);
00067
00068 }
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001