org.apache.axiom.om.impl.dom
Class NodeListImpl

java.lang.Object
  extended by org.apache.axiom.om.impl.dom.NodeListImpl
All Implemented Interfaces:
NodeList

public abstract class NodeListImpl
extends Object
implements NodeList

Implementation of org.w3c.dom.NodeList


Constructor Summary
NodeListImpl()
           
 
Method Summary
protected abstract  Iterator getIterator()
           
 int getLength()
          Returns the number of nodes.
 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
 

Constructor Detail

NodeListImpl

public NodeListImpl()
Method Detail

getIterator

protected abstract Iterator getIterator()

getLength

public int getLength()
Returns the number of nodes.

Specified by:
getLength in interface NodeList
See Also:
NodeList.getLength()

item

public Node item(int index)
Returns the node at the given index. Returns null if the index is invalid.

Specified by:
item in interface NodeList
See Also:
NodeList.item(int)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.