|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNodePointer
FeaturePropertyPointer
public class FeaturePropertyPointer
Pointer to a single property of a feature.
THe property of the feature is specified via index. Setting the index to -1 will cause the pointer to point at the feature id.
Field Summary |
---|
Fields inherited from class NodePointer |
---|
locale, UNKNOWN_NAMESPACE, WHOLE_COLLECTION |
Constructor Summary | |
---|---|
FeaturePropertyPointer(FeaturePointer parent,
int index)
Creates the pointer. |
Method Summary | |
---|---|
int |
compareChildNodePointers(NodePointer pointer1,
NodePointer pointer2)
Always return 0 , can never have child pointers. |
Object |
getBaseValue()
|
Object |
getImmediateNode()
|
int |
getLength()
Return 1 |
QName |
getName()
Returns the qname with prefix as null , and local part the name of the
feature attribute. |
boolean |
isCollection()
Return false . |
boolean |
isLeaf()
Return true . |
void |
setValue(Object value)
|
Methods inherited from class NodePointer |
---|
asPath, attributeIterator, childIterator, clone, compareTo, createAttribute, createChild, createChild, createPath, createPath, getDefaultNamespaceURI, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLocale, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, 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 |
Constructor Detail |
---|
public FeaturePropertyPointer(FeaturePointer parent, int index)
parent
- The parent pointer, pointer at the feature.index
- The index of hte property to point to, or -1 to point
to the feature id.Method Detail |
---|
public boolean isLeaf()
true
.
isLeaf
in class NodePointer
public boolean isCollection()
false
.
isCollection
in class NodePointer
public int getLength()
1
getLength
in class NodePointer
public QName getName()
null
, and local part the name of the
feature attribute.
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)
0
, can never have child pointers.
compareChildNodePointers
in class NodePointer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |