|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSingleFeatureTypeAttributeIterator
public class SingleFeatureTypeAttributeIterator
Iterates over a single attribute of a feature type.
Field Summary | |
---|---|
protected ComplexType |
featureType
|
protected Name |
name
|
protected NodePointer |
pointer
The feature type node pointer |
Constructor Summary | |
---|---|
SingleFeatureTypeAttributeIterator(NodePointer pointer,
ComplexType featureType,
Name name)
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 |
Field Detail |
---|
protected NodePointer pointer
protected Name name
protected ComplexType featureType
Constructor Detail |
---|
public SingleFeatureTypeAttributeIterator(NodePointer pointer, ComplexType featureType, Name name)
pointer
- The pointer to the feature.index
- The index of the property to iterate overMethod 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 |