public class FeatureTypeAttributePointer
extends NodePointer
Modifier and Type | Field and Description |
---|---|
protected AttributeType |
attType
the feature type
|
protected PropertyDescriptor |
descriptor
descriptor
|
protected Name |
name
the indedx of hte property being pointed at
|
protected ComplexType |
parentType
the feature type
|
Constructor and Description |
---|
FeatureTypeAttributePointer(NodePointer parent,
ComplexType parentType,
Name name)
Creates the pointer.
|
Modifier and Type | Method and Description |
---|---|
NodeIterator |
attributeIterator(QName qname) |
NodeIterator |
childIterator(NodeTest test,
boolean reverse,
NodePointer startWith) |
int |
compareChildNodePointers(NodePointer pointer1,
NodePointer pointer2) |
Object |
getBaseValue() |
PropertyDescriptor |
getDescriptor() |
Object |
getImmediateNode() |
int |
getLength()
Return number of elements
|
QName |
getName()
Returns the qname
|
boolean |
isCollection() |
boolean |
isLeaf() |
void |
setValue(Object value) |
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
protected ComplexType parentType
protected AttributeType attType
protected PropertyDescriptor descriptor
protected Name name
public FeatureTypeAttributePointer(NodePointer parent, ComplexType parentType, Name name)
parent
- The parent pointer, pointer at the feature type.parentType
- Feature Type of parentname
- Name of Attributepublic PropertyDescriptor getDescriptor()
public boolean isLeaf()
isLeaf
in class NodePointer
public boolean isCollection()
isCollection
in class NodePointer
public int getLength()
getLength
in class NodePointer
public QName getName()
getName
in class NodePointer
public Object getBaseValue()
getBaseValue
in class NodePointer
public Object getImmediateNode()
getImmediateNode
in class NodePointer
public void setValue(Object value)
setValue
in interface Pointer
setValue
in class NodePointer
public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
compareChildNodePointers
in class NodePointer
public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith)
childIterator
in class NodePointer
public NodeIterator attributeIterator(QName qname)
attributeIterator
in class NodePointer
Copyright © 1996–2022 Geotools. All rights reserved.