|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jxpath.ri.model.NodePointer | +--org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer | +--org.apache.commons.jxpath.ri.model.beans.DynamicPointer
A Pointer that points to an object with Dynamic Properties. It is used for the first element of a path; following elements will by of type PropertyPointer.
Field Summary |
Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer |
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION |
Constructor Summary | |
DynamicPointer(NodePointer parent,
QName name,
java.lang.Object bean,
DynamicPropertyHandler handler)
|
|
DynamicPointer(QName name,
java.lang.Object bean,
DynamicPropertyHandler handler,
java.util.Locale locale)
|
Method Summary | |
java.lang.String |
asPath()
Empty string |
boolean |
equals(java.lang.Object object)
|
java.lang.Object |
getBaseValue()
Returns the DP object iself. |
int |
getLength()
If the bean is a collection, returns the length of that collection, otherwise returns 1. |
QName |
getName()
Returns the name of this node. |
PropertyPointer |
getPropertyPointer()
|
int |
hashCode()
|
void |
setValue(java.lang.Object value)
Throws UnsupportedOperationException. |
Methods inherited from class org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer |
attributeIterator, childIterator, compareChildNodePointers, createChild, createChild, getNodeValue, isCollection, setIndex |
Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer |
clone, compareTo, createPath, createPath, getDefaultNamespaceURI, getExpandedName, getIndex, getLocale, getNamespaceURI, getNamespaceURI, getParent, getPointerByID, getPointerByKey, getValue, getValuePointer, isActual, isDefaultNamespace, isLanguage, isLeaf, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, testNode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DynamicPointer(QName name, java.lang.Object bean, DynamicPropertyHandler handler, java.util.Locale locale)
public DynamicPointer(NodePointer parent, QName name, java.lang.Object bean, DynamicPropertyHandler handler)
Method Detail |
public PropertyPointer getPropertyPointer()
getPropertyPointer
in class PropertyOwnerPointer
public QName getName()
NodePointer
getName
in class PropertyOwnerPointer
public java.lang.Object getBaseValue()
getBaseValue
in class NodePointer
public void setValue(java.lang.Object value)
setValue
in interface Pointer
setValue
in class PropertyOwnerPointer
public int getLength()
getLength
in class NodePointer
public java.lang.String asPath()
asPath
in interface Pointer
asPath
in class NodePointer
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |