Uses of Interface
org.apache.commons.jxpath.Pointer
-
Packages that use Pointer Package Description org.apache.commons.jxpath Public, abstract part of JXPath: interfaces and configuration.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.compiler XPath parse tree.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).org.apache.commons.jxpath.util Utility classes to assist with JXPath implementation(s) and/or usage. -
-
Uses of Pointer in org.apache.commons.jxpath
Methods in org.apache.commons.jxpath that return Pointer Modifier and Type Method Description Pointer
CompiledExpression. 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(java.lang.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)
.Pointer
CompiledExpression. createPathAndSetValue(JXPathContext context, java.lang.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(java.lang.String xpath, java.lang.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)
.Pointer
ExpressionContext. getContextNodePointer()
Get the current context node.abstract Pointer
JXPathContext. getContextPointer()
Returns a Pointer for the context bean.Pointer
JXPathContext. getNamespaceContextPointer()
Returns the namespace context pointer set withsetNamespaceContextPointer()
or, if none has been specified, the context pointer otherwise.Pointer
CompiledExpression. getPointer(JXPathContext context, java.lang.String xpath)
Traverses the xpath and returns a Pointer.abstract Pointer
JXPathContext. getPointer(java.lang.String xpath)
Traverses the xpath and returns a Pointer.Pointer
IdentityManager. getPointerByID(JXPathContext context, java.lang.String id)
Finds a node by its ID.Pointer
JXPathContext. getPointerByID(java.lang.String id)
Locates a Node by its ID.Pointer
JXPathContext. getPointerByKey(java.lang.String key, java.lang.String value)
Locates a Node by a key value.Pointer
KeyManager. getPointerByKey(JXPathContext context, java.lang.String keyName, java.lang.String keyValue)
Find a node by key/value.Methods in org.apache.commons.jxpath with parameters of type Pointer Modifier and Type Method Description void
BasicNodeSet. add(Pointer pointer)
Add a pointer to this NodeSet.boolean
AbstractFactory. createObject(JXPathContext context, Pointer pointer, java.lang.Object parent, java.lang.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
BasicNodeSet. remove(Pointer pointer)
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
Fields in org.apache.commons.jxpath.ri declared as Pointer Modifier and Type Field Description private Pointer
JXPathContextReferenceImpl. contextPointer
private Pointer
JXPathContextReferenceImpl. rootPointer
Methods in org.apache.commons.jxpath.ri that return Pointer Modifier and Type Method Description Pointer
JXPathCompiledExpression. createPath(JXPathContext context)
Pointer
JXPathContextReferenceImpl. createPath(java.lang.String xpath)
Pointer
JXPathContextReferenceImpl. createPath(java.lang.String xpath, Expression expr)
Create the given path.Pointer
JXPathCompiledExpression. createPathAndSetValue(JXPathContext context, java.lang.Object value)
Pointer
JXPathContextReferenceImpl. createPathAndSetValue(java.lang.String xpath, java.lang.Object value)
Pointer
JXPathContextReferenceImpl. createPathAndSetValue(java.lang.String xpath, Expression expr, java.lang.Object value)
Create the given path setting its value to value.Pointer
EvalContext. getContextNodePointer()
Pointer
JXPathContextReferenceImpl. getContextPointer()
Pointer
JXPathContextReferenceImpl. getNamespaceContextPointer()
Pointer
NamespaceResolver. getNamespaceContextPointer()
Get the namespace context pointer.Pointer
JXPathCompiledExpression. getPointer(JXPathContext context, java.lang.String xpath)
Pointer
JXPathContextReferenceImpl. getPointer(java.lang.String xpath)
Pointer
JXPathContextReferenceImpl. getPointer(java.lang.String xpath, Expression expr)
Get a pointer to the specified path/expression.Pointer
EvalContext. getSingleNodePointer()
Returns the first encountered Pointer that matches the current context's criteria.private Pointer
JXPathContextReferenceImpl. setValue(java.lang.String xpath, Expression expr, java.lang.Object value, boolean create)
Set the specified value.Methods in org.apache.commons.jxpath.ri with parameters of type Pointer Modifier and Type Method Description JXPathContext
JXPathContextReferenceImpl. getRelativeContext(Pointer pointer)
void
JXPathContextReferenceImpl. setNamespaceContextPointer(Pointer pointer)
Constructors in org.apache.commons.jxpath.ri with parameters of type Pointer Constructor Description JXPathContextReferenceImpl(JXPathContext parentContext, java.lang.Object contextBean, Pointer contextPointer)
Create a new JXPathContextReferenceImpl. -
Uses of Pointer in org.apache.commons.jxpath.ri.axes
Methods in org.apache.commons.jxpath.ri.axes that return Pointer Modifier and Type Method Description Pointer
ChildContext. getSingleNodePointer()
This method is called on the last context on the path when only one value is needed.Pointer
InitialContext. getSingleNodePointer()
Pointer
SelfContext. getSingleNodePointer()
-
Uses of Pointer in org.apache.commons.jxpath.ri.compiler
Methods in org.apache.commons.jxpath.ri.compiler that return Pointer Modifier and Type Method Description protected 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 Pointer Modifier and Type Class Description class
NodePointer
Common superclass for Pointers of all kinds.class
VariablePointer
Pointer to a context variable.Methods in org.apache.commons.jxpath.ri.model that return Pointer Modifier and Type Method Description Pointer
NodePointer. getPointerByID(JXPathContext context, java.lang.String id)
Locates a node by ID.Pointer
NodePointer. getPointerByKey(JXPathContext context, java.lang.String key, java.lang.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 Pointer 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. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.container
Classes in org.apache.commons.jxpath.ri.model.container that implement Pointer Modifier and Type Class Description class
ContainerPointer
Transparent pointer to a Container. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.dom
Classes in org.apache.commons.jxpath.ri.model.dom that implement Pointer 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 Pointer Modifier and Type Method Description Pointer
DOMNodePointer. getPointerByID(JXPathContext context, java.lang.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 Pointer Modifier and Type Class Description class
DynaBeanPointer
A Pointer that points to aDynaBean
.class
DynaBeanPropertyPointer
Pointer pointing 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 Pointer 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. -
Uses of Pointer in org.apache.commons.jxpath.ri.model.jdom
Classes in org.apache.commons.jxpath.ri.model.jdom that implement Pointer 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. -
Uses of Pointer in org.apache.commons.jxpath.util
Classes in org.apache.commons.jxpath.util that implement Pointer Modifier and Type Class Description (package private) static class
BasicTypeConverter.ValuePointer
Value pointerMethods in org.apache.commons.jxpath.util that return Pointer Modifier and Type Method Description Pointer
KeyManagerUtils.SingleNodeExtendedKeyManager. getPointerByKey(JXPathContext context, java.lang.String keyName, java.lang.String keyValue)
-