org.jvoicexml.xml.ccxml
Class CcxmlNodeList

java.lang.Object
  extended by org.jvoicexml.xml.ccxml.CcxmlNodeList
All Implemented Interfaces:
NodeList

public class CcxmlNodeList
extends Object
implements NodeList

A list containing all voice xml nodes of a parent node.

Version:
$Revision: 1.3 $

Copyright © 2005 JVoiceXML group - http://jvoicexml.sourceforge.net/

Author:
Steve Doyle
See Also:
CcxmlNode

Field Summary
private  List<Node> list
          The list with the nodes.
 
Constructor Summary
CcxmlNodeList(NodeList nodeList)
          Construct a new node list.
 
Method Summary
 int getLength()
          The number of nodes in the list.
 Node item(int index)
          Returns the indexth item in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

private final List<Node> list
The list with the nodes.

Constructor Detail

CcxmlNodeList

CcxmlNodeList(NodeList nodeList)
Construct a new node list.

Parameters:
nodeList - node list.
Method Detail

getLength

public int getLength()
The number of nodes in the list.

Specified by:
getLength in interface NodeList
Returns:
int

item

public Node item(int index)
Returns the indexth item in the collection.

Specified by:
item in interface NodeList
Parameters:
index - Index into the collection.
Returns:
The node at the indexth position in the NodeList, or null if that is not a valid index.


Copyright © 2005 JVoiceXML group.