Class AttributeNodePointer

  • All Implemented Interfaces:
    Serializable, Cloneable, Comparable, Pointer

    public class AttributeNodePointer
    extends NodePointer
    Special node pointer for org.geotools.feature.Feature.
    Author:
    Justin Deoliveira (The Open Planning Project), Gabriel Roldan (Axios Engineering)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class NodePointer

        index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AttributeNodePointer​(NodePointer parent, Attribute feature, QName name)  
    • Constructor Detail

      • AttributeNodePointer

        protected AttributeNodePointer​(NodePointer parent,
                                       Attribute feature,
                                       QName name)
    • Method Detail

      • isLeaf

        public boolean isLeaf()
        Specified by:
        isLeaf in class NodePointer
      • isCollection

        public boolean isCollection()
        Specified by:
        isCollection in class NodePointer
      • getLength

        public int getLength()
        Specified by:
        getLength in class NodePointer
      • getName

        public QName getName()
        Specified by:
        getName in class NodePointer
      • getBaseValue

        public Object getBaseValue()
        Specified by:
        getBaseValue in class NodePointer
      • getImmediateNode

        public Object getImmediateNode()
        Specified by:
        getImmediateNode in class NodePointer
      • getImmediateAttribute

        public Attribute getImmediateAttribute()
      • setValue

        public void setValue​(Object value)
        Specified by:
        setValue in interface Pointer
        Specified by:
        setValue in class NodePointer
      • compareChildNodePointers

        public int compareChildNodePointers​(NodePointer pointer1,
                                            NodePointer pointer2)
        Specified by:
        compareChildNodePointers in class NodePointer
      • childIterator

        public NodeIterator childIterator​(NodeTest test,
                                          boolean reverse,
                                          NodePointer startWith)
        Overrides:
        childIterator in class NodePointer
      • attributeIterator

        public NodeIterator attributeIterator​(QName qname)
        Overrides:
        attributeIterator in class NodePointer