Class AttributeNodePointer
- Object
-
- NodePointer
-
- AttributeNodePointer
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable,Pointer
public class AttributeNodePointer extends NodePointerSpecial node pointer fororg.geotools.feature.Feature.- Author:
- Justin Deoliveira (The Open Planning Project), Gabriel Roldan (Axios Engineering)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttributeNodePointer(NodePointer parent, Attribute feature, QName name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeIteratorattributeIterator(QName qname)NodeIteratorchildIterator(NodeTest test, boolean reverse, NodePointer startWith)intcompareChildNodePointers(NodePointer pointer1, NodePointer pointer2)ObjectgetBaseValue()AttributegetImmediateAttribute()ObjectgetImmediateNode()intgetLength()QNamegetName()booleanisCollection()booleanisLeaf()voidsetValue(Object value)-
Methods 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
-
-
-
-
Constructor Detail
-
AttributeNodePointer
protected AttributeNodePointer(NodePointer parent, Attribute feature, QName name)
-
-
Method Detail
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeafin classNodePointer
-
isCollection
public boolean isCollection()
- Specified by:
isCollectionin classNodePointer
-
getLength
public int getLength()
- Specified by:
getLengthin classNodePointer
-
getName
public QName getName()
- Specified by:
getNamein classNodePointer
-
getBaseValue
public Object getBaseValue()
- Specified by:
getBaseValuein classNodePointer
-
getImmediateNode
public Object getImmediateNode()
- Specified by:
getImmediateNodein classNodePointer
-
getImmediateAttribute
public Attribute getImmediateAttribute()
-
setValue
public void setValue(Object value)
- 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
-
-