Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

notationgetsystemidnull Class Reference

Inherits DOMTestCase.

List of all members.

Public Methods

 notationgetsystemidnull (DOMTestDocumentBuilderFactory factory)
void runTest () throws java.lang.Throwable
String getTargetURI ()

Static Public Methods

void main (String[] args)


Detailed Description

The "getSystemId()" method of a Notation node contains the system identifier associated with the notation, if one was not specified a null value should be returned.

Retrieve the notation named "notation1" and access its system identifier. Since a system identifier was not specified for this notation, the "getSystemId()" method should return null.

Author:
NIST , Mary Brady
See also:
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core#ID-E8AAB1D0

Definition at line 46 of file notationgetsystemidnull.java.


Constructor & Destructor Documentation

notationgetsystemidnull::notationgetsystemidnull DOMTestDocumentBuilderFactory    factory [inline]
 

Definition at line 48 of file notationgetsystemidnull.java.

00049  {
00050       super(factory);
00051 
00052    }


Member Function Documentation

String notationgetsystemidnull::getTargetURI   [inline, virtual]
 

Reimplemented from DOMTest.

Definition at line 68 of file notationgetsystemidnull.java.

00068                                 {
00069       return "http://www.w3.org/2001/DOM-Test-Suite/level1/core/notationgetsystemidnull";
00070    }

void notationgetsystemidnull::main String    args[] [inline, static]
 

Definition at line 71 of file notationgetsystemidnull.java.

References DOMTestCase::doMain().

00071                                           {
00072         DOMTestCase.doMain(notationgetsystemidnull.class,args);
00073    }

void notationgetsystemidnull::runTest   [inline, virtual]
 

Reimplemented from DOMTestCase.

Definition at line 54 of file notationgetsystemidnull.java.

References DOMTestCase::assertNull(), and DOMTest::load().

00054                                                     {
00055       Document doc;
00056       DocumentType docType;
00057       NamedNodeMap notations;
00058       Notation notationNode;
00059       String systemId;
00060       doc = load("staff");
00061       docType = doc.getDoctype();
00062       notations = docType.getNotations();
00063       notationNode = (Notation)notations.getNamedItem("notation1");
00064       systemId = notationNode.getSystemId();
00065       assertNull("notationGetSystemIdNullAssert",systemId);
00066       
00067    }


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 19:47:12 2002 for DOM Level 1 Core Test Suite by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001