fcmodeler.util
Class NoTextNodeList

java.lang.Object
  |
  +--fcmodeler.util.NoTextNodeList
All Implemented Interfaces:
org.w3c.dom.NodeList

public final class NoTextNodeList
extends java.lang.Object
implements org.w3c.dom.NodeList

A node list containing all nodes of another node list except text nodes.

Since:
JDK1.3
Version:
$Revision: 1.1 $
Author:
Julie Dickerson , Zach Cox

Constructor Summary
NoTextNodeList(org.w3c.dom.NodeList nodeList)
          Creates a new NoTestNodeList using the specified node list.
 
Method Summary
 int getLength()
          Returns the number of nodes in this list.
 org.w3c.dom.Node item(int index)
          Returns the node at the specified index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoTextNodeList

public NoTextNodeList(org.w3c.dom.NodeList nodeList)
Creates a new NoTestNodeList using the specified node list.
Parameters:
nodeList - the node list.
Method Detail

getLength

public int getLength()
Returns the number of nodes in this list.
Specified by:
getLength in interface org.w3c.dom.NodeList
Returns:
the number of nodes in this list.

item

public org.w3c.dom.Node item(int index)
Returns the node at the specified index.
Specified by:
item in interface org.w3c.dom.NodeList
Parameters:
index - the index of the desired node.
Returns:
the node at the specified index.