|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.ri.model.NodePointer
org.geotools.xml.impl.jxpath.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 org.apache.commons.jxpath.ri.model.NodePointer |
---|
locale, UNKNOWN_NAMESPACE, WHOLE_COLLECTION |
Constructor Summary | |
---|---|
FeaturePropertyPointer(FeaturePointer parent,
int index)
Creates the pointer. |
Method Summary | |
---|---|
int |
compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1,
org.apache.commons.jxpath.ri.model.NodePointer pointer2)
Always return 0 , can never have child pointers. |
java.lang.Object |
getBaseValue()
|
java.lang.Object |
getImmediateNode()
|
int |
getLength()
Return 1 |
org.apache.commons.jxpath.ri.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(java.lang.Object value)
|
Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer |
---|
asPath, attributeIterator, childIterator, 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 java.lang.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 org.apache.commons.jxpath.ri.model.NodePointer
public boolean isCollection()
false
.
isCollection
in class org.apache.commons.jxpath.ri.model.NodePointer
public int getLength()
1
getLength
in class org.apache.commons.jxpath.ri.model.NodePointer
public org.apache.commons.jxpath.ri.QName getName()
null
, and local part the name of the
feature attribute.
getName
in class org.apache.commons.jxpath.ri.model.NodePointer
public java.lang.Object getBaseValue()
getBaseValue
in class org.apache.commons.jxpath.ri.model.NodePointer
public java.lang.Object getImmediateNode()
getImmediateNode
in class org.apache.commons.jxpath.ri.model.NodePointer
public void setValue(java.lang.Object value)
setValue
in interface org.apache.commons.jxpath.Pointer
setValue
in class org.apache.commons.jxpath.ri.model.NodePointer
public int compareChildNodePointers(org.apache.commons.jxpath.ri.model.NodePointer pointer1, org.apache.commons.jxpath.ri.model.NodePointer pointer2)
0
, can never have child pointers.
compareChildNodePointers
in class org.apache.commons.jxpath.ri.model.NodePointer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |