com.ibm.portal.state.dom
Interface Node


public interface Node

Representation of a single node in the document model hierarcy. This node is not aware of its position in the hierarchy or of its attributes, but only of its content. You may query hierarchy or attribute from the document model that issued the node.

Since:
5.1

Method Summary
 boolean equals(java.lang.Object o)
          Checks if two nodes are equal.
 java.lang.String getNamespaceURI()
           
 java.lang.String getNodeName()
           
 java.lang.String getNodeValue()
           
 int hashCode()
          Hashcode, must be the identity hash code.
 

Method Detail

equals

boolean equals(java.lang.Object o)
Checks if two nodes are equal. This method MUST NOT be overridden and must only be equal if the objects are identical.

Overrides:
equals in class java.lang.Object
Parameters:
o - the node to compare to, may be null
Returns:
true if the nodes equal, else false

getNamespaceURI

java.lang.String getNamespaceURI()
Returns:
Namespace URI of the node, not null but may be an empty string

getNodeName

java.lang.String getNodeName()
Returns:
Name of the node, neither null nor an empty string

getNodeValue

java.lang.String getNodeValue()
Returns:
Value of the node, may be null

hashCode

int hashCode()
Hashcode, must be the identity hash code.

Overrides:
hashCode in class java.lang.Object
Returns:
the hash code
See Also:
System.identityHashCode(Object)