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.index
- The index of the property to iterate overpublic int getPosition()
getPosition
in interface NodeIterator
public boolean setPosition(int position)
setPosition
in interface NodeIterator
public NodePointer getNodePointer()
getNodePointer
in interface NodeIterator
Copyright © 1996–2019 Geotools. All rights reserved.