org.apache.axiom.om.impl.dom
Class NodeListImpl
java.lang.Object
org.apache.axiom.om.impl.dom.NodeListImpl
- All Implemented Interfaces:
- org.w3c.dom.NodeList
public abstract class NodeListImpl
- extends Object
- implements org.w3c.dom.NodeList
Implementation of org.w3c.dom.NodeList
Method Summary |
protected abstract Iterator |
getIterator()
|
int |
getLength()
Returns the number of nodes. |
org.w3c.dom.Node |
item(int index)
Returns the node at the given index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeListImpl
public NodeListImpl()
getIterator
protected abstract Iterator getIterator()
getLength
public int getLength()
- Returns the number of nodes.
- Specified by:
getLength
in interface org.w3c.dom.NodeList
- See Also:
NodeList.getLength()
item
public org.w3c.dom.Node item(int index)
- Returns the node at the given index. Returns null if the index is invalid.
- Specified by:
item
in interface org.w3c.dom.NodeList
- See Also:
NodeList.item(int)
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.