Class SingleFeatureTypeAttributeIterator

  • All Implemented Interfaces:

    public class SingleFeatureTypeAttributeIterator
    extends Object
    implements NodeIterator
    Iterates over a single attribute of a feature type.
    Niels Charlier (Curtin University of Technology)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • 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
      • name

        protected Name name
    • Constructor Detail

      • SingleFeatureTypeAttributeIterator

        public SingleFeatureTypeAttributeIterator​(NodePointer pointer,
                                                  ComplexType featureType,
                                                  Name name)
        Creates the iteartor.
        pointer - The pointer to the feature.
    • Method Detail

      • getPosition

        public int getPosition()
        Always return 1, only a single property.
        Specified by:
        getPosition in interface NodeIterator
      • setPosition

        public boolean setPosition​(int position)
        Return true if position == 1.
        Specified by:
        setPosition in interface NodeIterator
      • getNodePointer

        public NodePointer getNodePointer()
        Return a pointer to the property at the set index.
        Specified by:
        getNodePointer in interface NodeIterator