Uses of Class
org.apache.commons.jxpath.ri.model.NodePointer
Packages that use NodePointer
Package
Description
Reference implementation of JXPath.
Implementations of EvalContext used for different XPath axes (child::, parent:: etc).
Implementation of "model" APIs for Containers.
Implementation of "model" APIs for JavaBeans, Dynamic Property Objects, collections and null.
Implementation of "model" APIs for Containers.
Implementation of "model" APIs for W3C DOM.
Implementation of "model" APIs for Commons BeanUtils DynaBeans.
Implementation of "model" APIs for dynamic property objects e.g.
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 NodePointerMethods in org.apache.commons.jxpath.ri that return NodePointerModifier and TypeMethodDescriptionabstract NodePointer
EvalContext.getCurrentNodePointer()
Returns the current context node.JXPathContextReferenceImpl.getVariablePointer
(QName qName) Gets a VariablePointer for the given variable name.Methods in org.apache.commons.jxpath.ri with parameters of type NodePointerModifier and TypeMethodDescriptionprotected 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 NodePointerModifier and TypeMethodDescriptionstatic 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.AncestorContext.getCurrentNodePointer()
AttributeContext.getCurrentNodePointer()
ChildContext.getCurrentNodePointer()
DescendantContext.getCurrentNodePointer()
InitialContext.getCurrentNodePointer()
NamespaceContext.getCurrentNodePointer()
NodeSetContext.getCurrentNodePointer()
ParentContext.getCurrentNodePointer()
PrecedingOrFollowingContext.getCurrentNodePointer()
PredicateContext.getCurrentNodePointer()
RootContext.getCurrentNodePointer()
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 NodePointerModifier and TypeMethodDescriptionstatic 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 NodePointerModifierConstructorDescriptionRootContext
(JXPathContextReferenceImpl jxpathContext, NodePointer pointer) Constructs a new RootContext. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model
Subclasses of NodePointer in org.apache.commons.jxpath.ri.modelFields in org.apache.commons.jxpath.ri.model declared as NodePointerMethods in org.apache.commons.jxpath.ri.model that return NodePointerModifier and TypeMethodDescriptionNodePointer.createAttribute
(JXPathContext context, QName qName) Called to create a non-existing attributeNodePointer.createChild
(JXPathContext context, QName qName, int index) Called by a child pointer when it needs to create a parent object for a non-existent collection element.NodePointer.createChild
(JXPathContext context, QName qName, 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.VariablePointer.createChild
(JXPathContext context, QName qName, int index) VariablePointer.createChild
(JXPathContext context, QName qName, int index, Object value) NodePointerFactory.createNodePointer
(NodePointer parent, QName qName, Object object) Create a NodePointer for the supplied child object.NodePointerFactory.createNodePointer
(QName qName, Object object, Locale locale) Create a NodePointer for the supplied object.VariablePointerFactory.createNodePointer
(NodePointer parent, QName qName, Object object) VariablePointerFactory.createNodePointer
(QName qName, Object object, Locale locale) NodePointer.createPath
(JXPathContext context) Called by a child pointer when it needs to create a parent object.NodePointer.createPath
(JXPathContext context, Object value) Called directly by JXPathContext.VariablePointer.createPath
(JXPathContext context) VariablePointer.createPath
(JXPathContext context, Object value) NodePointer.getImmediateParentPointer()
Gets the immediate parent pointer.NodePointer.getImmediateValuePointer()
Gets this instance by default, subclasses can return a pointer for the immediately contained value.VariablePointer.getImmediateValuePointer()
NodeIterator.getNodePointer()
Gets the NodePointer at the current position.NodePointer.getParent()
Gets the parent pointer.NodePointer.getValuePointer()
If this pointer manages a transparent container, like a variable, this method returns the pointer to the contents.NodePointer.namespacePointer
(String namespace) Returns a NodePointer for the specified namespace.VariablePointer.namespacePointer
(String name) static NodePointer
NodePointer.newChildNodePointer
(NodePointer parent, QName qName, 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 qName, Object bean, Locale locale) Allocates an entirely new NodePointer by iterating through all installed NodePointerFactories until it finds one that can create a pointer.static NodePointer
NodePointer.verify
(NodePointer nodePointer) Verify the structure of a given NodePointer.Methods in org.apache.commons.jxpath.ri.model with parameters of type NodePointerModifier and TypeMethodDescriptionNodePointer.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.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) NodePointerFactory.createNodePointer
(NodePointer parent, QName qName, Object object) Create a NodePointer for the supplied child object.VariablePointerFactory.createNodePointer
(NodePointer parent, QName qName, Object object) void
NodePointer.handle
(Throwable t, NodePointer originator) Handle a Throwable using an installed ExceptionHandler, if available.static NodePointer
NodePointer.newChildNodePointer
(NodePointer parent, QName qName, 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.verify
(NodePointer nodePointer) Verify the structure of a given NodePointer.Constructors in org.apache.commons.jxpath.ri.model with parameters of type NodePointerModifierConstructorDescriptionprotected
NodePointer
(NodePointer parent) Constructs a new NodePointer.protected
NodePointer
(NodePointer parent, Locale locale) Constructs a new NodePointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.beans
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.beansModifier and TypeClassDescriptionclass
A Pointer that points to a JavaBean or a collection.class
Pointer to a property of a JavaBean.class
Transparent pointer to a collection (array or Collection).class
A Pointer that points to the "lang" attribute of a JavaBean.class
Used when there is a need to construct a Pointer for a collection element that does not exist.class
Pointer whose value isnull
.class
Pointer to a null property.class
A pointer describing a node that has properties, each of which could be a collection.class
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 NodePointerModifier and TypeMethodDescriptionCollectionPointer.createChild
(JXPathContext context, QName qName, int index) CollectionPointer.createChild
(JXPathContext context, QName qName, int index, Object value) NullPointer.createChild
(JXPathContext context, QName qName, int index) NullPointer.createChild
(JXPathContext context, QName qName, int index, Object value) NullPropertyPointer.createChild
(JXPathContext context, QName qName, int index) NullPropertyPointer.createChild
(JXPathContext context, QName qName, int index, Object value) PropertyPointer.createChild
(JXPathContext context, QName qName, int index) PropertyPointer.createChild
(JXPathContext context, QName qName, int index, Object value) BeanPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) BeanPointerFactory.createNodePointer
(QName qName, Object bean, Locale locale) CollectionPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) CollectionPointerFactory.createNodePointer
(QName qName, Object bean, Locale locale) BeanPropertyPointer.createPath
(JXPathContext context) CollectionPointer.createPath
(JXPathContext context) CollectionPointer.createPath
(JXPathContext context, Object value) NullElementPointer.createPath
(JXPathContext context) NullElementPointer.createPath
(JXPathContext context, Object value) NullPointer.createPath
(JXPathContext context) NullPointer.createPath
(JXPathContext context, Object value) NullPropertyPointer.createPath
(JXPathContext context) NullPropertyPointer.createPath
(JXPathContext context, Object value) PropertyPointer.createPath
(JXPathContext context) PropertyPointer.createPath
(JXPathContext context, Object value) PropertyPointer.getImmediateValuePointer()
Returns a NodePointer that can be used to access the currently selected property value.BeanAttributeIterator.getNodePointer()
CollectionNodeIterator.getNodePointer()
PropertyIterator.getNodePointer()
protected NodePointer
PropertyIterator.getPropertyPointer()
Gets the property pointer.CollectionPointer.getValuePointer()
NullElementPointer.getValuePointer()
NullPropertyPointer.getValuePointer()
CollectionPointer.namespacePointer
(String namespace) Methods in org.apache.commons.jxpath.ri.model.beans with parameters of type NodePointerModifier and TypeMethodDescriptionCollectionPointer.childIterator
(NodeTest test, boolean reverse, NodePointer startWith) 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) PropertyOwnerPointer.createNodeIterator
(String property, boolean reverse, NodePointer startWith) Create a NodeIterator.BeanPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) CollectionPointerFactory.createNodePointer
(NodePointer parent, QName qName, 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 NodePointerModifierConstructorDescriptionBeanPointer
(NodePointer parent, QName qName, Object bean, JXPathBeanInfo beanInfo) BeanPointer a new BeanPointer.BeanPropertyPointer
(NodePointer parent, JXPathBeanInfo beanInfo) Constructs a new BeanPropertyPointer.CollectionChildNodeIterator
(CollectionPointer pointer, NodeTest test, boolean reverse, NodePointer startWith) Constructs a new CollectionChildNodeIterator.protected
CollectionNodeIterator
(CollectionPointer pointer, boolean reverse, NodePointer startWith) Constructs a new CollectionNodeIterator.CollectionPointer
(NodePointer parent, Object collection) Constructs a new CollectionPointer.LangAttributePointer
(NodePointer parent) Constructs a new LangAttributePointer.NullElementPointer
(NodePointer parent, int index) Constructs a new NullElementPointer.NullPointer
(NodePointer parent, QName qName) Used for the root node.NullPropertyPointer
(NodePointer parent) Constructs a new NullPropertyPointer.PropertyIterator
(PropertyOwnerPointer pointer, String name, boolean reverse, NodePointer startWith) Constructs a new PropertyIterator.protected
PropertyOwnerPointer
(NodePointer parent) Constructs a new PropertyOwnerPointer.protected
PropertyOwnerPointer
(NodePointer parent, Locale locale) Constructs 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.containerMethods in org.apache.commons.jxpath.ri.model.container that return NodePointerModifier and TypeMethodDescriptionContainerPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) ContainerPointerFactory.createNodePointer
(QName qName, Object bean, Locale locale) ContainerPointer.getImmediateValuePointer()
ContainerPointer.namespacePointer
(String namespace) Methods in org.apache.commons.jxpath.ri.model.container with parameters of type NodePointerModifier and TypeMethodDescriptionContainerPointer.childIterator
(NodeTest test, boolean reverse, NodePointer startWith) int
ContainerPointer.compareChildNodePointers
(NodePointer pointer1, NodePointer pointer2) ContainerPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) Constructors in org.apache.commons.jxpath.ri.model.container with parameters of type NodePointerModifierConstructorDescriptionContainerPointer
(NodePointer parent, Container container) Constructs a new ContainerPointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.dom
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.domModifier and TypeClassDescriptionclass
A Pointer that points to a DOMAttr
node.class
A Pointer that points to a DOM node.class
Represents a namespace node.Methods in org.apache.commons.jxpath.ri.model.dom that return NodePointerModifier and TypeMethodDescriptionDOMNodePointer.createAttribute
(JXPathContext context, QName qName) DOMNodePointer.createChild
(JXPathContext context, QName qName, int index) DOMNodePointer.createChild
(JXPathContext context, QName qName, int index, Object value) DOMPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) DOMPointerFactory.createNodePointer
(QName qName, Object bean, Locale locale) DOMAttributeIterator.getNodePointer()
DOMNamespaceIterator.getNodePointer()
DOMNodeIterator.getNodePointer()
DOMNodePointer.namespacePointer
(String prefix) Methods in org.apache.commons.jxpath.ri.model.dom with parameters of type NodePointerModifier and TypeMethodDescriptionDOMNodePointer.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) DOMPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) Constructors in org.apache.commons.jxpath.ri.model.dom with parameters of type NodePointerModifierConstructorDescriptionDOMAttributeIterator
(NodePointer parent, QName qName) Constructs a new DOMAttributeIterator.DOMAttributePointer
(NodePointer parent, Attr attr) Constructs a new DOMAttributePointer.DOMNamespaceIterator
(NodePointer parent) Constructs a new DOMNamespaceIterator.DOMNodeIterator
(NodePointer parent, NodeTest nodeTest, boolean reverse, NodePointer startWith) Constructs a new DOMNodeIterator.DOMNodePointer
(NodePointer parent, Node node) Constructs a new DOMNodePointer.NamespacePointer
(NodePointer parent, String prefix) Constructs a new NamespacePointer.NamespacePointer
(NodePointer parent, String prefix, String namespaceURI) Constructs a new NamespacePointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.dynabeans
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.dynabeansModifier and TypeClassDescriptionclass
A Pointer that points to aDynaBean
.class
Pointer to a property of aDynaBean
.Methods in org.apache.commons.jxpath.ri.model.dynabeans that return NodePointerModifier and TypeMethodDescriptionDynaBeanPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) DynaBeanPointerFactory.createNodePointer
(QName qName, Object bean, Locale locale) StrictLazyDynaBeanPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object object) Create a NodePointer for the supplied child object.StrictLazyDynaBeanPointerFactory.createNodePointer
(QName qName, Object object, Locale locale) Create a NodePointer for the supplied object.Methods in org.apache.commons.jxpath.ri.model.dynabeans with parameters of type NodePointerModifier and TypeMethodDescriptionDynaBeanPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) StrictLazyDynaBeanPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object object) Create a NodePointer for the supplied child object.Constructors in org.apache.commons.jxpath.ri.model.dynabeans with parameters of type NodePointerModifierConstructorDescriptionDynaBeanPointer
(NodePointer parent, QName qName, org.apache.commons.beanutils.DynaBean dynaBean) Constructs a new DynaBeanPointer.DynaBeanPropertyPointer
(NodePointer parent, org.apache.commons.beanutils.DynaBean dynaBean) Constructs a new DynaBeanPropertyPointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.dynamic
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.dynamicModifier and TypeClassDescriptionclass
A Pointer that points to an object with Dynamic Properties.class
Pointer to a property of an object with dynamic properties.Methods in org.apache.commons.jxpath.ri.model.dynamic that return NodePointerModifier and TypeMethodDescriptionDynamicPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) DynamicPointerFactory.createNodePointer
(QName qName, Object bean, Locale locale) DynamicPropertyPointer.createPath
(JXPathContext context) DynamicPropertyPointer.createPath
(JXPathContext context, Object value) Methods in org.apache.commons.jxpath.ri.model.dynamic with parameters of type NodePointerModifier and TypeMethodDescriptionDynamicPointer.createNodeIterator
(String property, boolean reverse, NodePointer startWith) DynamicPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) Constructors in org.apache.commons.jxpath.ri.model.dynamic with parameters of type NodePointerModifierConstructorDescriptionDynamicPointer
(NodePointer parent, QName qName, Object bean, DynamicPropertyHandler handler) Constructs a new DynamicPointer.DynamicPropertyIterator
(PropertyOwnerPointer pointer, String name, boolean reverse, NodePointer startWith) Deprecated.Constructs a new DynamicPropertyIteratorDynamicPropertyPointer
(NodePointer parent, DynamicPropertyHandler handler) Constructs a new DynamicPropertyPointer. -
Uses of NodePointer in org.apache.commons.jxpath.ri.model.jdom
Subclasses of NodePointer in org.apache.commons.jxpath.ri.model.jdomModifier and TypeClassDescriptionclass
A Pointer that points to a DOM node.class
Represents a namespace node.class
A Pointer that points to a DOM node.Methods in org.apache.commons.jxpath.ri.model.jdom that return NodePointerModifier and TypeMethodDescriptionJDOMNodePointer.createAttribute
(JXPathContext context, QName qName) JDOMNodePointer.createChild
(JXPathContext context, QName qName, int index) JDOMNodePointer.createChild
(JXPathContext context, QName qName, int index, Object value) JDOMPointerFactory.createNodePointer
(NodePointer parent, QName qName, Object bean) JDOMPointerFactory.createNodePointer
(QName qName, Object bean, Locale locale) JDOMAttributeIterator.getNodePointer()
JDOMNamespaceIterator.getNodePointer()
JDOMNodeIterator.getNodePointer()
JDOMNodePointer.namespacePointer
(String prefix) Methods in org.apache.commons.jxpath.ri.model.jdom with parameters of type NodePointerModifier and TypeMethodDescriptionJDOMNodePointer.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) JDOMPointerFactory.createNodePointer
(NodePointer parent, QName qName, 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 NodePointerModifierConstructorDescriptionJDOMAttributeIterator
(NodePointer parent, QName qName) Constructs a new JDOMAttributeIterator.JDOMAttributePointer
(NodePointer parent, Attribute attribute) Create a JDOMAttributePointer.JDOMNamespaceIterator
(NodePointer parent) Constructs a new JDOMNamespaceIterator.JDOMNamespacePointer
(NodePointer parent, String prefix) Constructs a new JDOMNamespacePointer.JDOMNamespacePointer
(NodePointer parent, String prefix, String namespaceURI) Constructs a new JDOMNamespacePointer.JDOMNodeIterator
(NodePointer parent, NodeTest nodeTest, boolean reverse, NodePointer startWith) Constructs a new JDOMNodeIterator.JDOMNodePointer
(NodePointer parent, Object node) Constructs a new JDOMNodePointer.