- All Implemented Interfaces:
NodeList
A NodeList implementation based on a List.
- See Also:
-
-
Constructor Summary
Constructors
Create a new NodeListAdapter.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NodeListAdapter
public NodeListAdapter(List nodeList)
Create a new NodeListAdapter.
- Parameters:
nodeList - The List containing the nodes.
-
Method Details
-
item
public Node item(int index)
- Specified by:
item in interface NodeList
- See Also:
-
-
getLength
public int getLength()
- Specified by:
getLength in interface NodeList
- See Also:
-