com.sapportals.portal.prt.pom
Interface INodeList

All Known Implementing Classes:
NodeList

public interface INodeList

The INodeList interface describes a list of INodes


Method Summary
 int getLength()
          The number of nodes in the list.
 int getNodeIndex(INode node)
          Gets the index of a node in this list.
 INode item(int index)
          The node of this list identified by the specified index.
 

Method Detail

getLength

public int getLength()
The number of nodes in the list.
Returns:
the number of nodes. Can be 0 if no items in the list

item

public INode item(int index)
The node of this list identified by the specified index.
Parameters:
index -  
Returns:
the node corresponding to the index or null if not found.

getNodeIndex

public int getNodeIndex(INode node)
Gets the index of a node in this list.
Parameters:
node -  
Returns:
the index or -1 if the node is not in the list.