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

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

public abstract class NodeListImpl
extends java.lang.Object
implements org.w3c.dom.NodeList

Implementation of org.w3c.dom.NodeList


Constructor Summary
NodeListImpl()
           
 
Method Summary
protected abstract  java.util.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
 

Constructor Detail

NodeListImpl

public NodeListImpl()
Method Detail

getIterator

protected abstract java.util.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-2009 The Apache Software Foundation. All Rights Reserved.