|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.xml.impl.jxpath.SingleFeaturePropertyIterator
public class SingleFeaturePropertyIterator
Iterates over a single property of a feature.
Will "iterate" over fid if index is set to -1.
Constructor Summary | |
---|---|
SingleFeaturePropertyIterator(FeaturePointer pointer,
int index)
Creates the iteartor. |
Method Summary | |
---|---|
org.apache.commons.jxpath.ri.model.NodePointer |
getNodePointer()
Return a pointer to the property at the set index. |
int |
getPosition()
Always return 1, only a single property. |
boolean |
setPosition(int position)
Return true if position == 1. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleFeaturePropertyIterator(FeaturePointer pointer, int index)
pointer
- The pointer to the feature.index
- The index of the property to iterate over, or -1 for the feature id.Method Detail |
---|
public int getPosition()
getPosition
in interface org.apache.commons.jxpath.ri.model.NodeIterator
public boolean setPosition(int position)
setPosition
in interface org.apache.commons.jxpath.ri.model.NodeIterator
public org.apache.commons.jxpath.ri.model.NodePointer getNodePointer()
getNodePointer
in interface org.apache.commons.jxpath.ri.model.NodeIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |