Uses of Class
org.apache.commons.jxpath.ri.model.NodePointer
-
Packages that use NodePointer Package Description org.apache.commons.jxpath.ri Reference implementation of JXPath.org.apache.commons.jxpath.ri.axes Implementations of EvalContext used for different XPath axes (child::, parent:: etc).org.apache.commons.jxpath.ri.model The "model" package defines APIs that are implemented for every object model to be supported by JXPath.org.apache.commons.jxpath.ri.model.beans Implementation of "model" APIs for JavaBeans, Dynamic Property Objects, collections and null.org.apache.commons.jxpath.ri.model.container Implementation of "model" APIs for Containers.org.apache.commons.jxpath.ri.model.dom Implementation of "model" APIs for W3C DOM.org.apache.commons.jxpath.ri.model.dynabeans Implementation of "model" APIs for Commons BeanUtils DynaBeans.org.apache.commons.jxpath.ri.model.dynamic Implementation of "model" APIs for dynamic property objects e.g.org.apache.commons.jxpath.ri.model.jdom Implementation of "model" APIs for JDOM (see jdom.org). -
-
Uses of NodePointer in org.apache.commons.jxpath.ri
Fields in org.apache.commons.jxpath.ri declared as NodePointer Modifier and Type Field Description protected NodePointer
NamespaceResolver. pointer
pointerMethods in org.apache.commons.jxpath.ri that return NodePointer Modifier and Type Method Description abstract NodePointer
EvalContext. getCurrentNodePointer()
Returns the current context node.NodePointer
JXPathContextReferenceImpl. getVariablePointer(QName name)
Get a VariablePointer for the given variable name.Methods in org.apache.commons.jxpath.ri with parameters of type NodePointer Modifier and Type Method Description protected static String
NamespaceResolver. getPrefix(NodePointer pointer, String namespaceURI)
Find the namespace prefix for the specified namespace URI and NodePointer.void
NamespaceResolver. setNamespaceContextPointer(NodePointer pointer)
Register a namespace for the expression context. -
Uses of NodePointer in org.apache.commons.jxpath.ri.axes
Methods in org.apache.commons.jxpath.ri.axes that return NodePointer Modifier and Type Method Description static NodePointer
SimplePathInterpreter. createNullPointer(EvalContext context, NodePointer parent, Step[] steps, int currentStep)
Creates a "null pointer" that a) represents the requested path and b) can be used for creation of missing nodes in the path.NodePointer
AncestorContext. getCurrentNodePointer()
NodePointer
AttributeContext. getCurrentNodePointer()
NodePointer
ChildContext. getCurrentNodePointer()
NodePointer
DescendantContext. getCurrentNodePointer()
NodePointer
InitialContext. getCurrentNodePointer()
NodePointer
NamespaceContext. getCurrentNodePointer()
NodePointer
NodeSetContext. getCurrentNodePointer()
NodePointer
ParentContext. getCurrentNodePointer()
NodePointer
PrecedingOrFollowingContext. getCurrentNodePointer()
NodePointer
PredicateContext. getCurrentNodePointer()
NodePointer
RootContext. getCurrentNodePointer()
NodePointer
SelfContext. getCurrentNodePointer()
static NodePointer
SimplePathInterpreter. interpretSimpleExpressionPath(EvalContext context, NodePointer root, Expression[] predicates, Step[] steps)
Interpret the steps of a simple expression path that starts with the given root, which is the result of evaluation of the root expression of the expression path, applies the given predicates to it and then follows the given steps.static NodePointer
SimplePathInterpreter. interpretSimpleLocationPath(EvalContext context, NodePointer root, Step[] steps)
Interpret a simple path that starts with the given root and follows the given steps.Methods in org.apache.commons.jxpath.ri.axes with parameters of type NodePointer Modifier and Type Method Description static NodePointer
SimplePathInterpreter. createNullPointer(EvalContext context, NodePointer parent, Step[] steps, int currentStep)
Creates a "null pointer" that a) represents the requested path and b) can be used for creation of missing nodes in the path.static NodePointer
SimplePathInterpreter. interpretSimpleExpressionPath(EvalContext context, NodePointer root, Expression[] predicates, Step[] steps)
Interpret the steps of a simple expression path that starts with the given root, which is the result of evaluation of the root expression of the expression path, applies the given predicates to it and then follows the given steps.static NodePointer
SimplePathInterpreter. interpretSimpleLocationPath(EvalContext context, NodePointer root, Step[] steps)
Interpret a simple path that starts with the given root and follows the given steps.Constructors in org.apache.commons.jxpath.ri.axes with parameters of type NodePointer Constructor Description RootContext(JXPathContextReferenceImpl jxpathContext, NodePointer pointer)
Create a new RootContext. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model Modifier and Type Class Description class
VariablePointer
Pointer to a context variable.Fields in org.apache.commons.jxpath.ri.model declared as NodePointer Modifier and Type Field Description protected NodePointer
NodePointer. parent
Parent pointerMethods in org.apache.commons.jxpath.ri.model that return NodePointer Modifier and Type Method Description NodePointer
NodePointer. createAttribute(JXPathContext context, QName name)
Called to create a non-existing attributeNodePointer
NodePointer. createChild(JXPathContext context, QName name, int index)
Called by a child pointer when it needs to create a parent object for a non-existent collection element.NodePointer
NodePointer. createChild(JXPathContext context, QName name, int index, Object value)
Called by a child pointer if that child needs to assign the value supplied in the createPath(context, value) call to a non-existent node.NodePointer
VariablePointer. createChild(JXPathContext context, QName name, int index)
NodePointer
VariablePointer. createChild(JXPathContext context, QName name, int index, Object value)
NodePointer
NodePointerFactory. createNodePointer(NodePointer parent, QName name, Object object)
Create a NodePointer for the supplied child object.NodePointer
NodePointerFactory. createNodePointer(QName name, Object object, Locale locale)
Create a NodePointer for the supplied object.NodePointer
VariablePointerFactory. createNodePointer(NodePointer parent, QName name, Object object)
NodePointer
VariablePointerFactory. createNodePointer(QName name, Object object, Locale locale)
NodePointer
NodePointer. createPath(JXPathContext context)
Called by a child pointer when it needs to create a parent object.NodePointer
NodePointer. createPath(JXPathContext context, Object value)
Called directly by JXPathContext.NodePointer
VariablePointer. createPath(JXPathContext context)
NodePointer
VariablePointer. createPath(JXPathContext context, Object value)
NodePointer
NodePointer. getImmediateParentPointer()
Get the immediate parent pointer.NodePointer
NodePointer. getImmediateValuePointer()
NodePointer
VariablePointer. getImmediateValuePointer()
NodePointer
NodeIterator. getNodePointer()
Get the NodePointer at the current position.NodePointer
NodePointer. getParent()
Get the parent pointer.NodePointer
NodePointer. getValuePointer()
If this pointer manages a transparent container, like a variable, this method returns the pointer to the contents.NodePointer
NodePointer. namespacePointer(String namespace)
Returns a NodePointer for the specified namespace.NodePointer
VariablePointer. namespacePointer(String name)
static NodePointer
NodePointer. newChildNodePointer(NodePointer parent, QName name, Object bean)
Allocates an new child NodePointer by iterating through all installed NodePointerFactories until it finds one that can create a pointer.static NodePointer
NodePointer. newNodePointer(QName name, Object bean, Locale locale)
Allocates an entirely new NodePointer by iterating through all installed NodePointerFactories until it finds one that can create a pointer.Methods in org.apache.commons.jxpath.ri.model with parameters of type NodePointer Modifier and Type Method Description NodeIterator
NodePointer. childIterator(NodeTest test, boolean reverse, NodePointer startWith)
Returns a NodeIterator that iterates over all children or all children that match the given NodeTest, starting with the specified one.NodeIterator
VariablePointer. childIterator(NodeTest test, boolean reverse, NodePointer startWith)
abstract int
NodePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
Compares two child NodePointers and returns a positive number, zero or a positive number according to the order of the pointers.int
VariablePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
NodePointer
NodePointerFactory. createNodePointer(NodePointer parent, QName name, Object object)
Create a NodePointer for the supplied child object.NodePointer
VariablePointerFactory. createNodePointer(NodePointer parent, QName name, Object object)
static NodePointer
NodePointer. newChildNodePointer(NodePointer parent, QName name, Object bean)
Allocates an new child NodePointer by iterating through all installed NodePointerFactories until it finds one that can create a pointer.Constructors in org.apache.commons.jxpath.ri.model with parameters of type NodePointer Constructor Description NodePointer(NodePointer parent)
Create a new NodePointer.NodePointer(NodePointer parent, Locale locale)
Create a new NodePointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.beans
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.beans Modifier and Type Class Description class
BeanPointer
A Pointer that points to a JavaBean or a collection.class
BeanPropertyPointer
Pointer pointing to a property of a JavaBean.class
CollectionPointer
Transparent pointer to a collection (array or Collection).class
LangAttributePointer
A Pointer that points to the "lang" attribute of a JavaBean.class
NullElementPointer
Used when there is a need to construct a Pointer for a collection element that does not exist.class
NullPointer
Pointer whose value isnull
.class
NullPropertyPointer
class
PropertyOwnerPointer
A pointer describing a node that has properties, each of which could be a collection.class
PropertyPointer
A pointer allocated by a PropertyOwnerPointer to represent the value of a property of the parent object.Methods in org.apache.commons.jxpath.ri.model.beans that return NodePointer Modifier and Type Method Description NodePointer
CollectionPointer. createChild(JXPathContext context, QName name, int index)
NodePointer
CollectionPointer. createChild(JXPathContext context, QName name, int index, Object value)
NodePointer
NullPointer. createChild(JXPathContext context, QName name, int index)
NodePointer
NullPointer. createChild(JXPathContext context, QName name, int index, Object value)
NodePointer
NullPropertyPointer. createChild(JXPathContext context, QName name, int index)
NodePointer
NullPropertyPointer. createChild(JXPathContext context, QName name, int index, Object value)
NodePointer
PropertyPointer. createChild(JXPathContext context, QName name, int index)
NodePointer
PropertyPointer. createChild(JXPathContext context, QName name, int index, Object value)
NodePointer
BeanPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
BeanPointerFactory. createNodePointer(QName name, Object bean, Locale locale)
NodePointer
CollectionPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
CollectionPointerFactory. createNodePointer(QName name, Object bean, Locale locale)
NodePointer
BeanPropertyPointer. createPath(JXPathContext context)
NodePointer
CollectionPointer. createPath(JXPathContext context)
NodePointer
CollectionPointer. createPath(JXPathContext context, Object value)
NodePointer
NullElementPointer. createPath(JXPathContext context)
NodePointer
NullElementPointer. createPath(JXPathContext context, Object value)
NodePointer
NullPointer. createPath(JXPathContext context)
NodePointer
NullPointer. createPath(JXPathContext context, Object value)
NodePointer
NullPropertyPointer. createPath(JXPathContext context)
NodePointer
NullPropertyPointer. createPath(JXPathContext context, Object value)
NodePointer
PropertyPointer. createPath(JXPathContext context)
NodePointer
PropertyPointer. createPath(JXPathContext context, Object value)
NodePointer
PropertyPointer. getImmediateValuePointer()
Returns a NodePointer that can be used to access the currently selected property value.NodePointer
BeanAttributeIterator. getNodePointer()
NodePointer
CollectionNodeIterator. getNodePointer()
NodePointer
PropertyIterator. getNodePointer()
protected NodePointer
PropertyIterator. getPropertyPointer()
Get the property pointer.NodePointer
CollectionPointer. getValuePointer()
NodePointer
NullElementPointer. getValuePointer()
NodePointer
NullPropertyPointer. getValuePointer()
NodePointer
CollectionPointer. namespacePointer(String namespace)
Methods in org.apache.commons.jxpath.ri.model.beans with parameters of type NodePointer Modifier and Type Method Description NodeIterator
CollectionPointer. childIterator(NodeTest test, boolean reverse, NodePointer startWith)
NodeIterator
PropertyOwnerPointer. childIterator(NodeTest test, boolean reverse, NodePointer startWith)
int
CollectionPointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
int
LangAttributePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
int
PropertyOwnerPointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
int
PropertyPointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
NodeIterator
PropertyOwnerPointer. createNodeIterator(String property, boolean reverse, NodePointer startWith)
Create a NodeIterator.NodePointer
BeanPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
CollectionPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
protected NodeIterator
CollectionAttributeNodeIterator. getElementNodeIterator(NodePointer elementPointer)
protected NodeIterator
CollectionChildNodeIterator. getElementNodeIterator(NodePointer elementPointer)
protected abstract NodeIterator
CollectionNodeIterator. getElementNodeIterator(NodePointer elementPointer)
Implemented by subclasses to produce child/attribute node iterators.Constructors in org.apache.commons.jxpath.ri.model.beans with parameters of type NodePointer Constructor Description BeanPointer(NodePointer parent, QName name, Object bean, JXPathBeanInfo beanInfo)
Create a new BeanPointer.BeanPropertyPointer(NodePointer parent, JXPathBeanInfo beanInfo)
Create a new BeanPropertyPointer.CollectionChildNodeIterator(CollectionPointer pointer, NodeTest test, boolean reverse, NodePointer startWith)
Create a new CollectionChildNodeIterator.CollectionNodeIterator(CollectionPointer pointer, boolean reverse, NodePointer startWith)
Create a new CollectionNodeIterator.CollectionPointer(NodePointer parent, Object collection)
Create a new CollectionPointer.LangAttributePointer(NodePointer parent)
Create a new LangAttributePointer.NullElementPointer(NodePointer parent, int index)
Create a new NullElementPointer.NullPointer(NodePointer parent, QName name)
Used for the root node.NullPropertyPointer(NodePointer parent)
Create a new NullPropertyPointer.PropertyIterator(PropertyOwnerPointer pointer, String name, boolean reverse, NodePointer startWith)
Create a new PropertyIterator.PropertyOwnerPointer(NodePointer parent)
Create a new PropertyOwnerPointer.PropertyOwnerPointer(NodePointer parent, Locale locale)
Create a new PropertyOwnerPointer.PropertyPointer(NodePointer parent)
Takes a javabean, a descriptor of a property of that object and an offset within that property (starting with 0). -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.container
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.container Modifier and Type Class Description class
ContainerPointer
Transparent pointer to a Container.Methods in org.apache.commons.jxpath.ri.model.container that return NodePointer Modifier and Type Method Description NodePointer
ContainerPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
ContainerPointerFactory. createNodePointer(QName name, Object bean, Locale locale)
NodePointer
ContainerPointer. getImmediateValuePointer()
NodePointer
ContainerPointer. namespacePointer(String namespace)
Methods in org.apache.commons.jxpath.ri.model.container with parameters of type NodePointer Modifier and Type Method Description NodeIterator
ContainerPointer. childIterator(NodeTest test, boolean reverse, NodePointer startWith)
int
ContainerPointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
NodePointer
ContainerPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
Constructors in org.apache.commons.jxpath.ri.model.container with parameters of type NodePointer Constructor Description ContainerPointer(NodePointer parent, Container container)
Create a new ContainerPointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.dom
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.dom Modifier and Type Class Description class
DOMAttributePointer
A Pointer that points to a DOM node.class
DOMNodePointer
A Pointer that points to a DOM node.class
NamespacePointer
Represents a namespace node.Methods in org.apache.commons.jxpath.ri.model.dom that return NodePointer Modifier and Type Method Description NodePointer
DOMNodePointer. createAttribute(JXPathContext context, QName name)
NodePointer
DOMNodePointer. createChild(JXPathContext context, QName name, int index)
NodePointer
DOMNodePointer. createChild(JXPathContext context, QName name, int index, Object value)
NodePointer
DOMPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
DOMPointerFactory. createNodePointer(QName name, Object bean, Locale locale)
NodePointer
DOMAttributeIterator. getNodePointer()
NodePointer
DOMNamespaceIterator. getNodePointer()
NodePointer
DOMNodeIterator. getNodePointer()
NodePointer
DOMNodePointer. namespacePointer(String prefix)
Methods in org.apache.commons.jxpath.ri.model.dom with parameters of type NodePointer Modifier and Type Method Description NodeIterator
DOMNodePointer. childIterator(NodeTest test, boolean reverse, NodePointer startWith)
int
DOMAttributePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
int
DOMNodePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
int
NamespacePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
NodePointer
DOMPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
Constructors in org.apache.commons.jxpath.ri.model.dom with parameters of type NodePointer Constructor Description DOMAttributeIterator(NodePointer parent, QName name)
Create a new DOMAttributeIterator.DOMAttributePointer(NodePointer parent, Attr attr)
Create a new DOMAttributePointer.DOMNamespaceIterator(NodePointer parent)
Create a new DOMNamespaceIterator.DOMNodeIterator(NodePointer parent, NodeTest nodeTest, boolean reverse, NodePointer startWith)
Create a new DOMNodeIterator.DOMNodePointer(NodePointer parent, Node node)
Create a new DOMNodePointer.NamespacePointer(NodePointer parent, String prefix)
Create a new NamespacePointer.NamespacePointer(NodePointer parent, String prefix, String namespaceURI)
Create a new NamespacePointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.dynabeans
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.dynabeans Modifier and Type Class Description class
DynaBeanPointer
A Pointer that points to aDynaBean
.class
DynaBeanPropertyPointer
Pointer pointing to a property of aDynaBean
.Methods in org.apache.commons.jxpath.ri.model.dynabeans that return NodePointer Modifier and Type Method Description NodePointer
DynaBeanPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
DynaBeanPointerFactory. createNodePointer(QName name, Object bean, Locale locale)
Methods in org.apache.commons.jxpath.ri.model.dynabeans with parameters of type NodePointer Modifier and Type Method Description NodePointer
DynaBeanPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
Constructors in org.apache.commons.jxpath.ri.model.dynabeans with parameters of type NodePointer Constructor Description DynaBeanPointer(NodePointer parent, QName name, org.apache.commons.beanutils.DynaBean dynaBean)
Create a new DynaBeanPointer.DynaBeanPropertyPointer(NodePointer parent, org.apache.commons.beanutils.DynaBean dynaBean)
Create a new DynaBeanPropertyPointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.dynamic
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.dynamic Modifier and Type Class Description class
DynamicPointer
A Pointer that points to an object with Dynamic Properties.class
DynamicPropertyPointer
Pointer pointing to a property of an object with dynamic properties.Methods in org.apache.commons.jxpath.ri.model.dynamic that return NodePointer Modifier and Type Method Description NodePointer
DynamicPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
DynamicPointerFactory. createNodePointer(QName name, Object bean, Locale locale)
NodePointer
DynamicPropertyPointer. createPath(JXPathContext context)
NodePointer
DynamicPropertyPointer. createPath(JXPathContext context, Object value)
Methods in org.apache.commons.jxpath.ri.model.dynamic with parameters of type NodePointer Modifier and Type Method Description NodeIterator
DynamicPointer. createNodeIterator(String property, boolean reverse, NodePointer startWith)
NodePointer
DynamicPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
Constructors in org.apache.commons.jxpath.ri.model.dynamic with parameters of type NodePointer Constructor Description DynamicPointer(NodePointer parent, QName name, Object bean, DynamicPropertyHandler handler)
Create a new DynamicPointer.DynamicPropertyIterator(PropertyOwnerPointer pointer, String name, boolean reverse, NodePointer startWith)
Deprecated.Create a new DynamicPropertyIteratorDynamicPropertyPointer(NodePointer parent, DynamicPropertyHandler handler)
Create a new DynamicPropertyPointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.jdom
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.jdom Modifier and Type Class Description class
JDOMAttributePointer
A Pointer that points to a DOM node.class
JDOMNamespacePointer
Represents a namespace node.class
JDOMNodePointer
A Pointer that points to a DOM node.Methods in org.apache.commons.jxpath.ri.model.jdom that return NodePointer Modifier and Type Method Description NodePointer
JDOMNodePointer. createAttribute(JXPathContext context, QName name)
NodePointer
JDOMNodePointer. createChild(JXPathContext context, QName name, int index)
NodePointer
JDOMNodePointer. createChild(JXPathContext context, QName name, int index, Object value)
NodePointer
JDOMPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
NodePointer
JDOMPointerFactory. createNodePointer(QName name, Object bean, Locale locale)
NodePointer
JDOMAttributeIterator. getNodePointer()
NodePointer
JDOMNamespaceIterator. getNodePointer()
NodePointer
JDOMNodeIterator. getNodePointer()
NodePointer
JDOMNodePointer. namespacePointer(String prefix)
Methods in org.apache.commons.jxpath.ri.model.jdom with parameters of type NodePointer Modifier and Type Method Description NodeIterator
JDOMNodePointer. childIterator(NodeTest test, boolean reverse, NodePointer startWith)
int
JDOMAttributePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
int
JDOMNamespacePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
int
JDOMNodePointer. compareChildNodePointers(NodePointer pointer1, NodePointer pointer2)
NodePointer
JDOMPointerFactory. createNodePointer(NodePointer parent, QName name, Object bean)
static boolean
JDOMNodePointer. testNode(NodePointer pointer, Object node, NodeTest test)
Execute test against node on behalf of pointer.Constructors in org.apache.commons.jxpath.ri.model.jdom with parameters of type NodePointer Constructor Description JDOMAttributeIterator(NodePointer parent, QName name)
Create a new JDOMAttributeIterator.JDOMAttributePointer(NodePointer parent, org.jdom.Attribute attr)
Create a JDOMAttributePointer.JDOMNamespaceIterator(NodePointer parent)
Create a new JDOMNamespaceIterator.JDOMNamespacePointer(NodePointer parent, String prefix)
Create a new JDOMNamespacePointer.JDOMNamespacePointer(NodePointer parent, String prefix, String namespaceURI)
Create a new JDOMNamespacePointer.JDOMNodeIterator(NodePointer parent, NodeTest nodeTest, boolean reverse, NodePointer startWith)
Create a new JDOMNodeIterator.JDOMNodePointer(NodePointer parent, Object node)
Create a new JDOMNodePointer.
-