deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.framework.xml
Class ElementList

java.lang.Object
  extended by org.deegree.framework.xml.ElementList

public class ElementList
extends Object

Convenience class for easy handling of NodeLists containing only objects of type org.w3c.dom.Element.

Version:
1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Field Summary
(package private)  ArrayList<Element> elements
          The actual elements this list wraps.
 
Constructor Summary
ElementList()
           
 
Method Summary
 void addElement(Element element)
           
 int getLength()
           
 Element item(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

ArrayList<Element> elements
The actual elements this list wraps.

Constructor Detail

ElementList

public ElementList()
Method Detail

addElement

public void addElement(Element element)
Parameters:
element -

getLength

public int getLength()
Returns:
size of the list

item

public Element item(int i)
Parameters:
i -
Returns:
i-th element or null if i is out of the list bounds

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org