org.deegree.ogcbase
Class IndexStep
java.lang.Object
org.deegree.ogcbase.PropertyPathStep
org.deegree.ogcbase.IndexStep
public class IndexStep
- extends PropertyPathStep
PropertyPathStep
implementation that selects a specified occurence of an element (using
the element name as property name).
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Markus Schneider , last edited by: $Author: mschneider $
- See Also:
PropertyPathStep
Constructor Summary |
IndexStep(QualifiedName elementName,
int selectedIndex)
Creates a new instance of IndexStep that selects the specified occurence of
the element with the given name. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IndexStep
IndexStep(QualifiedName elementName,
int selectedIndex)
- Creates a new instance of
IndexStep
that selects the specified occurence of
the element with the given name.
- Parameters:
elementName
- selectedIndex
-
getSelectedIndex
public int getSelectedIndex()
- Returns the index of the selected element.
- Returns:
- the index of the selected element
hashCode
public int hashCode()
- Overrides:
hashCode
in class PropertyPathStep
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org