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 NodePointerEvalContext.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 StringNamespaceResolver.getPrefix(NodePointer pointer, String namespaceURI) Find the namespace prefix for the specified namespace URI and NodePointer.voidNamespaceResolver.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 NodePointerSimplePathInterpreter.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 NodePointerSimplePathInterpreter.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 NodePointerSimplePathInterpreter.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 NodePointerSimplePathInterpreter.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 NodePointerSimplePathInterpreter.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 NodePointerSimplePathInterpreter.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 NodePointerNodePointer.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 NodePointerNodePointer.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 NodePointerNodePointer.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 intNodePointer.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.intVariablePointer.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) voidNodePointer.handle(Throwable t, NodePointer originator) Handle a Throwable using an installed ExceptionHandler, if available.static NodePointerNodePointer.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 NodePointerNodePointer.verify(NodePointer nodePointer) Verify the structure of a given NodePointer.Constructors in org.apache.commons.jxpath.ri.model with parameters of type NodePointerModifierConstructorDescriptionprotectedNodePointer(NodePointer parent) Constructs a new NodePointer.protectedNodePointer(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 TypeClassDescriptionclassA Pointer that points to a JavaBean or a collection.classPointer to a property of a JavaBean.classTransparent pointer to a collection (array or Collection).classA Pointer that points to the "lang" attribute of a JavaBean.classUsed when there is a need to construct a Pointer for a collection element that does not exist.classPointer whose value isnull.classPointer to a null property.classA pointer describing a node that has properties, each of which could be a collection.classA 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 NodePointerPropertyIterator.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) intCollectionPointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intLangAttributePointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intPropertyOwnerPointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intPropertyPointer.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 NodeIteratorCollectionAttributeNodeIterator.getElementNodeIterator(NodePointer elementPointer) protected NodeIteratorCollectionChildNodeIterator.getElementNodeIterator(NodePointer elementPointer) protected abstract NodeIteratorCollectionNodeIterator.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.protectedCollectionNodeIterator(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.protectedPropertyOwnerPointer(NodePointer parent) Constructs a new PropertyOwnerPointer.protectedPropertyOwnerPointer(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) intContainerPointer.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 TypeClassDescriptionclassA Pointer that points to a DOMAttrnode.classA Pointer that points to a DOM node.classRepresents 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) intDOMAttributePointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intDOMNodePointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intNamespacePointer.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 TypeClassDescriptionclassA Pointer that points to aDynaBean.classPointer 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 TypeClassDescriptionclassA Pointer that points to an object with Dynamic Properties.classPointer 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 TypeClassDescriptionclassA Pointer that points to a DOM node.classRepresents a namespace node.classA 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) intJDOMAttributePointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intJDOMNamespacePointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) intJDOMNodePointer.compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) JDOMPointerFactory.createNodePointer(NodePointer parent, QName qName, Object bean) static booleanJDOMNodePointer.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.