Uses of Interface
org.apache.commons.jxpath.Pointer
Packages that use Pointer
Package
Description
Public, abstract part of JXPath: interfaces and configuration.
Reference implementation of JXPath.
Implementations of EvalContext used for different XPath axes (child::, parent:: etc).
XPath parse tree.
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 Pointer in org.apache.commons.jxpath
Methods in org.apache.commons.jxpath that return PointerModifier and TypeMethodDescriptionCompiledExpression.createPath
(JXPathContext context) Creates intermediate elements of the path by invoking anAbstractFactory
, which should first be installed on the context by callingJXPathContext.setFactory(org.apache.commons.jxpath.AbstractFactory)
.abstract Pointer
JXPathContext.createPath
(String xpath) Creates missing elements of the path by invoking anAbstractFactory
, which should first be installed on the context by callingJXPathContext.setFactory(org.apache.commons.jxpath.AbstractFactory)
.CompiledExpression.createPathAndSetValue
(JXPathContext context, Object value) The same as setValue, except it creates intermediate elements of the path by invoking anAbstractFactory
, which should first be installed on the context by callingJXPathContext.setFactory(org.apache.commons.jxpath.AbstractFactory)
.abstract Pointer
JXPathContext.createPathAndSetValue
(String xpath, Object value) The same as setValue, except it creates intermediate elements of the path by invoking anAbstractFactory
, which should first be installed on the context by callingJXPathContext.setFactory(org.apache.commons.jxpath.AbstractFactory)
.ExpressionContext.getContextNodePointer()
Gets the current context node.abstract Pointer
JXPathContext.getContextPointer()
Returns a Pointer for the context bean.JXPathContext.getNamespaceContextPointer()
Returns the namespace context pointer set withsetNamespaceContextPointer()
or, if none has been specified, the context pointer otherwise.CompiledExpression.getPointer
(JXPathContext context, String xpath) Traverses the XPath and returns a Pointer.abstract Pointer
JXPathContext.getPointer
(String xpath) Traverses the XPath and returns a Pointer.IdentityManager.getPointerByID
(JXPathContext context, String id) Finds a node by its ID.JXPathContext.getPointerByID
(String id) Locates a Node by its ID.JXPathContext.getPointerByKey
(String key, String value) Locates a Node by a key value.KeyManager.getPointerByKey
(JXPathContext context, String keyName, String keyValue) Find a node by key/value.Methods in org.apache.commons.jxpath that return types with arguments of type PointerModifier and TypeMethodDescriptionExpressionContext.getContextNodeList()
Gets the current context node list.BasicNodeSet.getPointers()
NodeSet.getPointers()
Returns a list of pointers for all nodes in the set.CompiledExpression.iteratePointers
(JXPathContext context) Traverses the XPath and returns an Iterator of Pointers.JXPathContext.iteratePointers
(String xpath) Traverses the XPath and returns an Iterator of Pointers.Methods in org.apache.commons.jxpath with parameters of type PointerModifier and TypeMethodDescriptionvoid
Add a pointer to this NodeSet.boolean
AbstractFactory.createObject
(JXPathContext context, Pointer pointer, Object parent, String name, int index) The parameters may describe a collection element or an individual object.abstract JXPathContext
JXPathContext.getRelativeContext
(Pointer pointer) Returns a JXPathContext that is relative to the current JXPathContext.void
Remove a pointer from this NodeSet.void
JXPathContext.setNamespaceContextPointer
(Pointer namespaceContextPointer) Namespace prefixes can be defined implicitly by specifying a pointer to a context where the namespaces are defined. -
Uses of Pointer in org.apache.commons.jxpath.ri
Methods in org.apache.commons.jxpath.ri that return PointerModifier and TypeMethodDescriptionJXPathCompiledExpression.createPath
(JXPathContext context) JXPathContextReferenceImpl.createPath
(String xpath) JXPathContextReferenceImpl.createPath
(String xpath, Expression expr) Create the given path.JXPathCompiledExpression.createPathAndSetValue
(JXPathContext context, Object value) JXPathContextReferenceImpl.createPathAndSetValue
(String xpath, Object value) JXPathContextReferenceImpl.createPathAndSetValue
(String xpath, Expression expr, Object value) Create the given path setting its value to value.EvalContext.getContextNodePointer()
JXPathContextReferenceImpl.getContextPointer()
JXPathContextReferenceImpl.getNamespaceContextPointer()
NamespaceResolver.getNamespaceContextPointer()
Gets the namespace context pointer.JXPathCompiledExpression.getPointer
(JXPathContext context, String xpath) JXPathContextReferenceImpl.getPointer
(String xpath) JXPathContextReferenceImpl.getPointer
(String xpath, Expression expr) Gets a pointer to the specified path/expression.EvalContext.getSingleNodePointer()
Returns the first encountered Pointer that matches the current context's criteria.Methods in org.apache.commons.jxpath.ri that return types with arguments of type PointerModifier and TypeMethodDescriptionEvalContext.getContextNodeList()
Returns the list of all Pointers in this context for the current position of the parent context.JXPathCompiledExpression.iteratePointers
(JXPathContext context) JXPathContextReferenceImpl.iteratePointers
(String xpath) Traverses the XPath and returns an Iterator of Pointers.JXPathContextReferenceImpl.iteratePointers
(String xpath, Expression expr) Traverses the XPath and returns an Iterator of Pointers.Methods in org.apache.commons.jxpath.ri with parameters of type PointerModifier and TypeMethodDescriptionJXPathContextReferenceImpl.getRelativeContext
(Pointer pointer) void
JXPathContextReferenceImpl.setNamespaceContextPointer
(Pointer pointer) Constructors in org.apache.commons.jxpath.ri with parameters of type PointerModifierConstructorDescriptionJXPathContextReferenceImpl
(JXPathContext parentContext, Object contextBean, Pointer contextPointer) Constructs a new JXPathContextReferenceImpl. -
Uses of Pointer in org.apache.commons.jxpath.ri.axes
Methods in org.apache.commons.jxpath.ri.axes that return PointerModifier and TypeMethodDescriptionChildContext.getSingleNodePointer()
This method is called on the last context on the path when only one value is needed.InitialContext.getSingleNodePointer()
SelfContext.getSingleNodePointer()
-
Uses of Pointer in org.apache.commons.jxpath.ri.compiler
Methods in org.apache.commons.jxpath.ri.compiler that return PointerModifier and TypeMethodDescriptionprotected Pointer
Path.getSingleNodePointerForSteps
(EvalContext context) Given a root context, walks a path therefrom and finds the pointer to the first element matching the path.protected Pointer
Path.searchForPath
(EvalContext context) The idea here is to return a NullPointer rather than null if that's at all possible. -
Uses of Pointer in org.apache.commons.jxpath.ri.model
Classes in org.apache.commons.jxpath.ri.model that implement PointerModifier and TypeClassDescriptionclass
Common superclass for Pointers of all kinds.class
Pointer to a context variable.Methods in org.apache.commons.jxpath.ri.model that return PointerModifier and TypeMethodDescriptionNodePointer.getPointerByID
(JXPathContext context, String id) Locates a node by ID.NodePointer.getPointerByKey
(JXPathContext context, String key, String value) Locates a node by key and value. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.beans
Classes in org.apache.commons.jxpath.ri.model.beans that implement PointerModifier 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. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.container
Classes in org.apache.commons.jxpath.ri.model.container that implement Pointer -
Uses of Pointer in org.apache.commons.jxpath.ri.model.dom
Classes in org.apache.commons.jxpath.ri.model.dom that implement PointerModifier 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 PointerModifier and TypeMethodDescriptionDOMNodePointer.getPointerByID
(JXPathContext context, String id) Locates a node by ID. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.dynabeans
Classes in org.apache.commons.jxpath.ri.model.dynabeans that implement PointerModifier and TypeClassDescriptionclass
A Pointer that points to aDynaBean
.class
Pointer to a property of aDynaBean
. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.dynamic
Classes in org.apache.commons.jxpath.ri.model.dynamic that implement PointerModifier and TypeClassDescriptionclass
A Pointer that points to an object with Dynamic Properties.class
Pointer to a property of an object with dynamic properties. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.jdom
Classes in org.apache.commons.jxpath.ri.model.jdom that implement PointerModifier and TypeClassDescriptionclass
A Pointer that points to a DOM node.class
Represents a namespace node.class
A Pointer that points to a DOM node.