public class SingleFeatureTypeAttributeIterator extends Object implements NodeIterator
| Modifier and Type | Field and Description |
|---|---|
protected ComplexType |
featureType |
protected Name |
name |
protected NodePointer |
pointer
The feature type node pointer
|
| Constructor and Description |
|---|
SingleFeatureTypeAttributeIterator(NodePointer pointer,
ComplexType featureType,
Name name)
Creates the iteartor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected NodePointer pointer
protected Name name
protected ComplexType featureType
public SingleFeatureTypeAttributeIterator(NodePointer pointer,
ComplexType featureType,
Name name)
pointer - The pointer to the feature.public int getPosition()
getPosition in interface NodeIteratorpublic boolean setPosition(int position)
setPosition in interface NodeIteratorpublic NodePointer getNodePointer()
getNodePointer in interface NodeIteratorCopyright © 1996–2021 Geotools. All rights reserved.