|
|||||||||||
| 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.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer
org.apache.commons.jxpath.ri.model.dynabeans.DynaBeanPointer
A Pointer that points to a DynaBean.
| Field Summary | |
private org.apache.commons.beanutils.DynaBean |
dynaBean
|
private QName |
name
|
| Fields inherited from class org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer |
|
| Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer |
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION |
| Constructor Summary | |
DynaBeanPointer(NodePointer parent,
QName name,
org.apache.commons.beanutils.DynaBean dynaBean)
|
|
DynaBeanPointer(QName name,
org.apache.commons.beanutils.DynaBean dynaBean,
java.util.Locale locale)
|
|
| Method Summary | |
java.lang.String |
asPath()
If there's a parent - parent's path, otherwise "/". |
boolean |
equals(java.lang.Object object)
|
java.lang.Object |
getBaseValue()
Returns the bean itself |
java.lang.Object |
getImmediateNode()
Returns the object the pointer points to; does not convert it to a "canonical" type. |
int |
getLength()
Returns 1. |
QName |
getName()
Returns the name of this node. |
PropertyPointer |
getPropertyPointer()
|
int |
hashCode()
|
boolean |
isCollection()
Returns true if the value of the pointer is an array or
a Collection. |
boolean |
isLeaf()
If true, this node does not have children |
| Methods inherited from class org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer |
attributeIterator, childIterator, compareChildNodePointers, createNodeIterator, isDynamicPropertyDeclarationSupported, remove, setIndex, setValue |
| Methods inherited from class org.apache.commons.jxpath.ri.model.NodePointer |
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, setAttribute, setNamespaceResolver, testNode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private QName name
private org.apache.commons.beanutils.DynaBean dynaBean
| Constructor Detail |
public DynaBeanPointer(QName name,
org.apache.commons.beanutils.DynaBean dynaBean,
java.util.Locale locale)
public DynaBeanPointer(NodePointer parent,
QName name,
org.apache.commons.beanutils.DynaBean dynaBean)
name - is the name given to the first node| Method Detail |
public PropertyPointer getPropertyPointer()
getPropertyPointer in class PropertyOwnerPointerpublic QName getName()
NodePointer
getName in class PropertyOwnerPointerpublic java.lang.Object getBaseValue()
getBaseValue in class NodePointerpublic java.lang.Object getImmediateNode()
NodePointer
getImmediateNode in class PropertyOwnerPointerpublic boolean isCollection()
NodePointertrue if the value of the pointer is an array or
a Collection.
isCollection in class NodePointerpublic int getLength()
getLength in class NodePointerpublic boolean isLeaf()
NodePointer
isLeaf in class NodePointerpublic int hashCode()
public boolean equals(java.lang.Object object)
public java.lang.String asPath()
asPath in interface PointerasPath in class NodePointer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||