deegree 2.2 (2008/12/22 11:33 build-3038-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: 9339 $, $Date: 2007-12-27 13:31:52 +0100 (Do, 27 Dez 2007) $
Author:
Markus Schneider, last edited by: $Author: apoth $

Field Summary
(package private)  ArrayList<Element> elements
           
 
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
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

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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