|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSingleFeaturePropertyIterator
public class SingleFeaturePropertyIterator
Iterates over a single property of a feature.
Will "iterate" over fid if index is set to -1.
modules/extension/xsd-core (gt-xsd-core.jar)
Constructor Summary | |
---|---|
SingleFeaturePropertyIterator(FeaturePointer pointer,
int index)
Creates the iteartor. |
Method Summary | |
---|---|
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 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 NodeIterator
public boolean setPosition(int position)
setPosition
in interface NodeIterator
public NodePointer getNodePointer()
getNodePointer
in interface NodeIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |