Class AttributeNodePointer
Object
NodePointer
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:
-
Field Summary
Fields inherited from class NodePointer
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AttributeNodePointer
(NodePointer parent, Attribute feature, QName name) -
Method Summary
Modifier and TypeMethodDescriptionNodeIterator
attributeIterator
(QName qname) NodeIterator
childIterator
(NodeTest test, boolean reverse, NodePointer startWith) int
compareChildNodePointers
(NodePointer pointer1, NodePointer pointer2) int
QName
getName()
boolean
boolean
isLeaf()
void
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 Details
-
AttributeNodePointer
-
-
Method Details
-
isLeaf
public boolean isLeaf()- Specified by:
isLeaf
in classNodePointer
-
isCollection
public boolean isCollection()- Specified by:
isCollection
in classNodePointer
-
getLength
public int getLength()- Specified by:
getLength
in classNodePointer
-
getName
public QName getName()- Specified by:
getName
in classNodePointer
-
getBaseValue
- Specified by:
getBaseValue
in classNodePointer
-
getImmediateNode
- Specified by:
getImmediateNode
in classNodePointer
-
getImmediateAttribute
-
setValue
- Specified by:
setValue
in interfacePointer
- Specified by:
setValue
in classNodePointer
-
compareChildNodePointers
public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) - Specified by:
compareChildNodePointers
in classNodePointer
-
childIterator
public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith) - Overrides:
childIterator
in classNodePointer
-
attributeIterator
public NodeIterator attributeIterator(QName qname) - Overrides:
attributeIterator
in classNodePointer
-