org.apache.commons.jxpath.ri.model.beans
Class BeanPointer
- Cloneable, Comparable, Pointer, Serializable
A Pointer that points to a JavaBean or a collection. It is either
the first element of a path or a pointer for a property value.
Typically there is a BeanPropertyPointer between two BeanPointers
in the chain.
$Revision: 1.13 $ $Date: 2004/02/29 14:17:41 $
attributeIterator, childIterator, compareChildNodePointers, createNodeIterator, getImmediateNode, getName, getPropertyPointer, isDynamicPropertyDeclarationSupported, remove, setIndex, setValue |
asPath, attributeIterator, childIterator, clone, compareChildNodePointers, compareTo, createAttribute, createChild, createChild, createPath, createPath, getBaseValue, getDefaultNamespaceURI, getImmediateNode, getImmediateParentPointer, getImmediateValuePointer, getIndex, getLength, getLocale, getName, getNamespaceResolver, getNamespaceURI, getNamespaceURI, getNode, getNodeValue, getParent, getPointerByID, getPointerByKey, getRootNode, getValue, getValuePointer, isActual, isAttribute, isCollection, isContainer, isDefaultNamespace, isLanguage, isLeaf, isNode, isRoot, namespaceIterator, namespacePointer, newChildNodePointer, newNodePointer, printPointerChain, remove, setAttribute, setIndex, setNamespaceResolver, setValue, testNode, toString |
asPath
public String asPath()
If the pointer has a parent, then parent's path.
If the bean is null, "null()".
If the bean is a primitive value, the value itself.
Otherwise - an empty string.
- asPath in interface Pointer
- asPath in interface NodePointer
equals
public boolean equals(Object object)
hashCode
public int hashCode()