BEA Systems, Inc.

com.beasys.commerce.util.dom
Class NotationImpl

java.lang.Object
  |
  +--com.beasys.commerce.util.dom.DOMBase
        |
        +--com.beasys.commerce.util.dom.NodeImpl
              |
              +--com.beasys.commerce.util.dom.NotationImpl

public class NotationImpl
extends NodeImpl
implements org.w3c.dom.Notation

An implementation of the W3C's DOM Notation object.

Notations are only created with a DocumentType.

See Also:
Serialized Form

Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
NotationImpl(org.w3c.dom.Document doc, java.lang.String name, java.lang.String publicId, java.lang.String systemId)
          Constructor.
 
Method Summary
 org.w3c.dom.Node cloneNode()
          Clone this node.
 java.lang.String getNodeName()
          Get the node name.
 short getNodeType()
          Return Node.NOTATION_NODE.
 java.lang.String getPublicId()
          Get the public id.
 java.lang.String getSystemId()
          Get the system id.
 void setNodeName(java.lang.String name)
          Set the node name.
 void setPublicId(java.lang.String publicId)
          Set the public id.
 void setSystemId(java.lang.String systemId)
          Set the system id.
 
Methods inherited from class com.beasys.commerce.util.dom.NodeImpl
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeType, getNodeValue, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, removeChild, replaceChild, setNodeValue, setParentNode
 
Methods inherited from class com.beasys.commerce.util.dom.DOMBase
checkOwnerDocument, getOwnerDocument, isReadOnly, setReadOnly
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotationImpl

public NotationImpl(org.w3c.dom.Document doc,
                    java.lang.String name,
                    java.lang.String publicId,
                    java.lang.String systemId)
Constructor.
Parameters:
doc - the document.
name - the name of the notation.
publicId - the public identifier of the notation.
systemId - the system identifier of the notation.
Method Detail

cloneNode

public org.w3c.dom.Node cloneNode()
Clone this node.
Overrides:
cloneNode in class NodeImpl

getNodeType

public short getNodeType()
Return Node.NOTATION_NODE.
Overrides:
getNodeType in class NodeImpl

getNodeName

public java.lang.String getNodeName()
Get the node name.

For Notations, the node name is the notation name.

Overrides:
getNodeName in class NodeImpl

setNodeName

public void setNodeName(java.lang.String name)
Set the node name.

getPublicId

public java.lang.String getPublicId()
Get the public id.
Specified by:
getPublicId in interface org.w3c.dom.Notation

setPublicId

public void setPublicId(java.lang.String publicId)
Set the public id.

getSystemId

public java.lang.String getSystemId()
Get the system id.
Specified by:
getSystemId in interface org.w3c.dom.Notation

setSystemId

public void setSystemId(java.lang.String systemId)
Set the system id.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved