Class FeatureTypeAttributePointer
Object
NodePointer
FeatureTypeAttributePointer
- All Implemented Interfaces:
Serializable,Cloneable,Comparable,Pointer
public class FeatureTypeAttributePointer
extends NodePointer
Pointer to a single attribute of a feature type.
- Author:
- Niels Charlier (Curtin University of Technology)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AttributeTypethe feature typeprotected PropertyDescriptordescriptorprotected Namethe indedx of hte property being pointed atprotected ComplexTypethe feature typeFields inherited from class NodePointer
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION -
Constructor Summary
ConstructorsConstructorDescriptionFeatureTypeAttributePointer(NodePointer parent, ComplexType parentType, Name name) Creates the pointer. -
Method Summary
Modifier and TypeMethodDescriptionNodeIteratorattributeIterator(QName qname) NodeIteratorchildIterator(NodeTest test, boolean reverse, NodePointer startWith) intcompareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intReturn number of elementsQNamegetName()Returns the qnamebooleanbooleanisLeaf()voidMethods inherited from class NodePointer
asPath, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, escape, getAbstractFactory, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, getNodeSetByKey, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValue, getValuePointer, isActual, isAttribute, isContainer, isDefaultNamespace, isLanguage, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, testNode, toString
-
Field Details
-
parentType
the feature type -
attType
the feature type -
descriptor
descriptor -
name
the indedx of hte property being pointed at
-
-
Constructor Details
-
FeatureTypeAttributePointer
Creates the pointer.- Parameters:
parent- The parent pointer, pointer at the feature type.parentType- Feature Type of parentname- Name of Attribute
-
-
Method Details
-
getDescriptor
-
isLeaf
public boolean isLeaf()- Specified by:
isLeafin classNodePointer
-
isCollection
public boolean isCollection()- Specified by:
isCollectionin classNodePointer
-
getLength
public int getLength()Return number of elements- Specified by:
getLengthin classNodePointer
-
getName
public QName getName()Returns the qname- Specified by:
getNamein classNodePointer
-
getBaseValue
- Specified by:
getBaseValuein classNodePointer
-
getImmediateNode
- Specified by:
getImmediateNodein classNodePointer
-
setValue
- Specified by:
setValuein interfacePointer- Specified by:
setValuein classNodePointer
-
compareChildNodePointers
public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) - Specified by:
compareChildNodePointersin classNodePointer
-
childIterator
public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith) - Overrides:
childIteratorin classNodePointer
-
attributeIterator
public NodeIterator attributeIterator(QName qname) - Overrides:
attributeIteratorin classNodePointer
-