|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNodePointer
FeatureTypeAttributePointer
public class FeatureTypeAttributePointer
Pointer to a single attribute of a feature type.
Field Summary | |
---|---|
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 |
Fields inherited from class NodePointer |
---|
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION |
Constructor Summary | |
---|---|
FeatureTypeAttributePointer(NodePointer parent,
ComplexType parentType,
Name name)
Creates the pointer. |
Method Summary | |
---|---|
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)
|
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 |
Methods inherited from class Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ComplexType parentType
protected AttributeType attType
protected PropertyDescriptor descriptor
protected Name name
Constructor Detail |
---|
public FeatureTypeAttributePointer(NodePointer parent, ComplexType parentType, Name name)
parent
- The parent pointer, pointer at the feature type.parentType
- Feature Type of parentname
- Name of AttributeMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |