November 2002
Intermediate to advanced
1120 pages
21h 2m
English
The Notation interface represents a notation declared in the DTD; it is not part of the tree. A Notation object has no parent and no children. The only way to access a document's notations is through the getNotations() method of the DocumentType object.
Note
Notations are very uncommon in practice. You may want to skip this section unless you discover a specific need for it.
Example 11.24 summarizes the Notation interface. This interface has methods to get the system ID and public ID for the notation, either of which may be null. As usual, Notation objects also have all the methods of the Node superinterface such as getNodeName() and getNodeValue().
package org.w3c.dom; public interface ... |
Read now
Unlock full access