org.deegree.framework.xml
Class ElementList
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elements
java.util.ArrayList<org.w3c.dom.Element> elements
- The actual elements this list wraps.
ElementList
public ElementList()
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org