Class ModelNodePointer
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.BeanPointer
org.apache.torque.generator.source.ModelNodePointer
- All Implemented Interfaces:
Serializable,Cloneable,Comparable,org.apache.commons.jxpath.Pointer
public class ModelNodePointer
extends org.apache.commons.jxpath.ri.model.beans.BeanPointer
A Pointer that points to a Java Object or a collection. It is either
the first element of a path or a pointer for a property value.
- Version:
- $Id: $
- Author:
- Dmitri Plotnikov, Thomas Fox
- See Also:
-
Field Summary
Fields inherited from class org.apache.commons.jxpath.ri.model.NodePointer
index, locale, parent, UNKNOWN_NAMESPACE, WHOLE_COLLECTION -
Constructor Summary
ConstructorsConstructorDescriptionModelNodePointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, Object bean, org.apache.commons.jxpath.JXPathBeanInfo beanInfo, Class<?> beanClass) Create a new BeanPointer.ModelNodePointer(org.apache.commons.jxpath.ri.QName name, Object bean, org.apache.commons.jxpath.JXPathBeanInfo beanInfo, Class<?> beanClass, Locale locale) Create a new BeanPointer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.commons.jxpath.ri.model.beans.PropertyPointerinthashCode()Methods inherited from class org.apache.commons.jxpath.ri.model.beans.BeanPointer
asPath, getBaseValue, getLength, getName, isCollection, isLeafMethods inherited from class org.apache.commons.jxpath.ri.model.beans.PropertyOwnerPointer
attributeIterator, childIterator, compareChildNodePointers, createNodeIterator, getImmediateNode, isDynamicPropertyDeclarationSupported, isValidProperty, remove, setIndex, setValueMethods inherited from class org.apache.commons.jxpath.ri.model.NodePointer
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, setAttribute, setNamespaceResolver, testNode, toString
-
Constructor Details
-
ModelNodePointer
public ModelNodePointer(org.apache.commons.jxpath.ri.QName name, Object bean, org.apache.commons.jxpath.JXPathBeanInfo beanInfo, Class<?> beanClass, Locale locale) Create a new BeanPointer.- Parameters:
name- is the name given to the first nodebean- pointedbeanInfo- JXPathBeanInfobeanClass- the class of the beanlocale- Locale
-
ModelNodePointer
public ModelNodePointer(org.apache.commons.jxpath.ri.model.NodePointer parent, org.apache.commons.jxpath.ri.QName name, Object bean, org.apache.commons.jxpath.JXPathBeanInfo beanInfo, Class<?> beanClass) Create a new BeanPointer.- Parameters:
parent- pointername- is the name given to the first nodebean- pointedbeanInfo- JXPathBeanInfobeanClass- the class of the bean
-
-
Method Details
-
getPropertyPointer
public org.apache.commons.jxpath.ri.model.beans.PropertyPointer getPropertyPointer()- Overrides:
getPropertyPointerin classorg.apache.commons.jxpath.ri.model.beans.BeanPointer
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.apache.commons.jxpath.ri.model.beans.BeanPointer
-
equals
- Overrides:
equalsin classorg.apache.commons.jxpath.ri.model.beans.BeanPointer
-