deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.framework.xml
Class ElementList

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

public class ElementList
extends java.lang.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)  java.util.ArrayList<org.w3c.dom.Element> elements
          The actual elements this list wraps.
 
Constructor Summary
ElementList()
           
 
Method Summary
 void addElement(org.w3c.dom.Element element)
           
 int getLength()
           
 org.w3c.dom.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

java.util.ArrayList<org.w3c.dom.Element> elements
The actual elements this list wraps.

Constructor Detail

ElementList

public ElementList()
Method Detail

addElement

public void addElement(org.w3c.dom.Element element)
Parameters:
element -

getLength

public int getLength()
Returns:
size of the list

item

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

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