Class FeatureTypeAttributeIterator
- Object
-
- FeatureTypeAttributeIterator
-
- All Implemented Interfaces:
NodeIterator
public class FeatureTypeAttributeIterator extends Object implements NodeIterator
A special iterator for iterating over the attributes of a feature type.- Author:
- Niels Charlier (Curtin University of Technology)
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PropertyDescriptor>
children
protected ComplexType
featureType
The feature typeprotected NodePointer
pointer
The feature type node pointerprotected int
position
current position
-
Constructor Summary
Constructors Constructor Description FeatureTypeAttributeIterator(NodePointer pointer, ComplexType featureType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePointer
getNodePointer()
int
getPosition()
boolean
setPosition(int position)
-
-
-
Field Detail
-
pointer
protected NodePointer pointer
The feature type node pointer
-
featureType
protected ComplexType featureType
The feature type
-
children
protected List<PropertyDescriptor> children
-
position
protected int position
current position
-
-
Constructor Detail
-
FeatureTypeAttributeIterator
public FeatureTypeAttributeIterator(NodePointer pointer, ComplexType featureType)
-
-
Method Detail
-
getPosition
public int getPosition()
- Specified by:
getPosition
in interfaceNodeIterator
-
setPosition
public boolean setPosition(int position)
- Specified by:
setPosition
in interfaceNodeIterator
-
getNodePointer
public NodePointer getNodePointer()
- Specified by:
getNodePointer
in interfaceNodeIterator
-
-