| java.lang.Object org.geotools.xml.impl.jxpath.SingleFeaturePropertyIterator
SingleFeaturePropertyIterator | public class SingleFeaturePropertyIterator implements NodeIterator(Code) | | Iterates over a single property of a feature.
Will "iterate" over fid if index is set to -1.
author: Justin Deoliveira, The Open Planning Project |
Method Summary | |
public NodePointer | getNodePointer() Return a pointer to the property at the set index. | public int | getPosition() Always return 1, only a single property. | public boolean | setPosition(int position) Return true if position == 1. |
index | int index(Code) | | indedx of property
|
SingleFeaturePropertyIterator | public SingleFeaturePropertyIterator(FeaturePointer pointer, int index)(Code) | | Creates the iteartor.
Parameters: pointer - The pointer to the feature. Parameters: index - The index of the property to iterate over, or -1 for the feature id. |
getNodePointer | public NodePointer getNodePointer()(Code) | | Return a pointer to the property at the set index.
|
getPosition | public int getPosition()(Code) | | Always return 1, only a single property.
|
setPosition | public boolean setPosition(int position)(Code) | | Return true if position == 1.
|
|
|