| 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).
|
| Modifier and Type | Method and Description |
|---|---|
Pointer |
CompiledExpression.createPath(JXPathContext context)
Creates intermediate elements of
the path by invoking an
AbstractFactory, which should first be
installed on the context by calling JXPathContext.setFactory(org.apache.commons.jxpath.AbstractFactory). |
abstract Pointer |
JXPathContext.createPath(String xpath)
Creates missing elements of the path by invoking an
AbstractFactory,
which should first be installed on the context by calling JXPathContext.setFactory(org.apache.commons.jxpath.AbstractFactory). |
Pointer |
CompiledExpression.createPathAndSetValue(JXPathContext context,
Object value)
The same as setValue, except it creates intermediate elements of
the path by invoking an
AbstractFactory, which should first be
installed on the context by calling JXPathContext.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 an
AbstractFactory, which should first be
installed on the context by calling JXPathContext.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 with
setNamespaceContextPointer()
or, if none has been specified, the context pointer otherwise. |
Pointer |
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.
|
Pointer |
IdentityManager.getPointerByID(JXPathContext context,
String id)
Finds a node by its ID.
|
Pointer |
JXPathContext.getPointerByID(String id)
Locates a Node by its ID.
|
Pointer |
KeyManager.getPointerByKey(JXPathContext context,
String keyName,
String keyValue)
Find a node by key/value.
|
Pointer |
JXPathContext.getPointerByKey(String key,
String value)
Locates a Node by a key value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicNodeSet.add(Pointer pointer)
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 |
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.
|
| Modifier and Type | Method and Description |
|---|---|
Pointer |
JXPathCompiledExpression.createPath(JXPathContext context) |
Pointer |
JXPathContextReferenceImpl.createPath(String xpath) |
Pointer |
JXPathContextReferenceImpl.createPath(String xpath,
Expression expr)
Create the given path.
|
Pointer |
JXPathCompiledExpression.createPathAndSetValue(JXPathContext context,
Object value) |
Pointer |
JXPathContextReferenceImpl.createPathAndSetValue(String xpath,
Expression expr,
Object value)
Create the given path setting its value to value.
|
Pointer |
JXPathContextReferenceImpl.createPathAndSetValue(String xpath,
Object value) |
Pointer |
EvalContext.getContextNodePointer() |
Pointer |
JXPathContextReferenceImpl.getContextPointer() |
Pointer |
NamespaceResolver.getNamespaceContextPointer()
Get the namespace context pointer.
|
Pointer |
JXPathContextReferenceImpl.getNamespaceContextPointer() |
Pointer |
JXPathCompiledExpression.getPointer(JXPathContext context,
String xpath) |
Pointer |
JXPathContextReferenceImpl.getPointer(String xpath) |
Pointer |
JXPathContextReferenceImpl.getPointer(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.
|
| Modifier and Type | Method and Description |
|---|---|
JXPathContext |
JXPathContextReferenceImpl.getRelativeContext(Pointer pointer) |
void |
JXPathContextReferenceImpl.setNamespaceContextPointer(Pointer pointer) |
| Constructor and Description |
|---|
JXPathContextReferenceImpl(JXPathContext parentContext,
Object contextBean,
Pointer contextPointer)
Create a new JXPathContextReferenceImpl.
|
| Modifier and Type | Method and Description |
|---|---|
Pointer |
SelfContext.getSingleNodePointer() |
Pointer |
InitialContext.getSingleNodePointer() |
Pointer |
ChildContext.getSingleNodePointer()
This method is called on the last context on the path when only
one value is needed.
|
| Modifier and Type | Method and 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NodePointer
Common superclass for Pointers of all kinds.
|
class |
VariablePointer
Pointer to a context variable.
|
| Modifier and Type | Method and Description |
|---|---|
Pointer |
NodePointer.getPointerByID(JXPathContext context,
String id)
Locates a node by ID.
|
Pointer |
NodePointer.getPointerByKey(JXPathContext context,
String key,
String value)
Locates a node by key and value.
|
| Modifier and Type | Class and 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 is
null. |
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContainerPointer
Transparent pointer to a Container.
|
| Modifier and Type | Class and 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.
|
| Modifier and Type | Method and Description |
|---|---|
Pointer |
DOMNodePointer.getPointerByID(JXPathContext context,
String id)
Locates a node by ID.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DynaBeanPointer
A Pointer that points to a
DynaBean. |
class |
DynaBeanPropertyPointer
Pointer pointing to a property of a
DynaBean. |
| Modifier and Type | Class and 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.
|
| Modifier and Type | Class and 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.
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.