Class FeatureTypeAttributePointer

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

    public class FeatureTypeAttributePointer
    extends NodePointer
    Pointer to a single attribute of a feature type.
    Niels Charlier (Curtin University of Technology)
    See Also:
    Serialized Form
    • Field Detail

      • parentType

        protected ComplexType parentType
        the feature type
      • name

        protected Name name
        the indedx of hte property being pointed at
    • Constructor Detail

      • FeatureTypeAttributePointer

        public FeatureTypeAttributePointer​(NodePointer parent,
                                           ComplexType parentType,
                                           Name name)
        Creates the pointer.
        parent - The parent pointer, pointer at the feature type.
        parentType - Feature Type of parent
        name - Name of Attribute
    • 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()
        Return number of elements
        Specified by:
        getLength in class NodePointer
      • getName

        public QName getName()
        Returns the qname
        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
      • 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)
        childIterator in class NodePointer
      • attributeIterator

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