org.geotools.feature.xpath
Class FeatureTypeAttributeIterator

Object
  extended by 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
protected  List<PropertyDescriptor> children
           
protected  ComplexType featureType
          The feature type
protected  NodePointer pointer
          The feature type node pointer
protected  int position
          current position
 
Constructor Summary
FeatureTypeAttributeIterator(NodePointer pointer, ComplexType featureType)
           
 
Method Summary
 NodePointer getNodePointer()
           
 int getPosition()
           
 boolean setPosition(int position)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface NodeIterator

setPosition

public boolean setPosition(int position)
Specified by:
setPosition in interface NodeIterator

getNodePointer

public NodePointer getNodePointer()
Specified by:
getNodePointer in interface NodeIterator


Copyright © 1996-2014 Geotools. All Rights Reserved.