Class NotationImpl

All Implemented Interfaces:
Node, Notation

public class NotationImpl
extends LeafNodeImpl
implements Notation
Provides a straightforward implementation of the corresponding W3C DOM interface. The class is used internally only, thus only notable members that are not in the original interface are documented (the W3C docs are quite extensive). Hope that's ok.

Some of the fields may have package visibility, so other classes belonging to the DOM implementation can easily access them while maintaining the DOM tree structure.

  • Method Details

    • getNodeName

      public String getNodeName()
      Description copied from interface: Node
      The name of this node, depending on its type; see the table above.
      Specified by:
      getNodeName in interface Node
      Overrides:
      getNodeName in class NodeImpl
    • getNodeType

      public short getNodeType()
      Description copied from interface: Node
      A code representing the type of the underlying object, as defined above.
      Specified by:
      getNodeType in interface Node
      Specified by:
      getNodeType in class NodeImpl
    • getPublicId

      public String getPublicId()
      Description copied from interface: Notation
      The public identifier of this notation. If the public identifier was not specified, this is null.
      Specified by:
      getPublicId in interface Notation
    • getSystemId

      public String getSystemId()
      Description copied from interface: Notation
      The system identifier of this notation. If the system identifier was not specified, this is null. This may be an absolute URI or not.
      Specified by:
      getSystemId in interface Notation