|
|||||||||
| Home >> All >> org >> apache >> commons >> [ jxpath overview ] | PREV NEXT | ||||||||
Uses of Class
org.apache.commons.jxpath.JXPathContext
| Uses of JXPathContext in org.apache.commons.jxpath |
| Fields in org.apache.commons.jxpath declared as JXPathContext | |
protected JXPathContext |
JXPathContext.parentContext
|
private static JXPathContext |
JXPathContext.compilationContext
|
| Methods in org.apache.commons.jxpath that return JXPathContext | |
abstract JXPathContext |
JXPathContextFactory.newContext(JXPathContext parentContext,
java.lang.Object contextBean)
Creates a new instance of a JXPathContext using the currently configured parameters. |
static JXPathContext |
JXPathContext.newContext(java.lang.Object contextBean)
Creates a new JXPathContext with the specified object as the root node. |
static JXPathContext |
JXPathContext.newContext(JXPathContext parentContext,
java.lang.Object contextBean)
Creates a new JXPathContext with the specified bean as the root node and the specified parent context. |
JXPathContext |
JXPathContext.getParentContext()
Returns the parent context of this context or null. |
abstract JXPathContext |
JXPathContext.getRelativeContext(Pointer pointer)
Returns a JXPathContext that is relative to the current JXPathContext. |
JXPathContext |
ExpressionContext.getJXPathContext()
Get the JXPathContext in which this function is being evaluated. |
| Methods in org.apache.commons.jxpath with parameters of type JXPathContext | |
protected void |
JXPathTestCase.assertXPathValue(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object expected)
|
protected void |
JXPathTestCase.assertXPathValue(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object expected,
java.lang.Class resultType)
|
protected void |
JXPathTestCase.assertXPathValueLenient(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object expected)
|
protected void |
JXPathTestCase.assertXPathSetValue(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object value)
|
protected void |
JXPathTestCase.assertXPathSetValue(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object value,
java.lang.Object expected)
|
protected void |
JXPathTestCase.assertXPathCreatePath(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object expectedValue,
java.lang.String expectedPath)
|
protected void |
JXPathTestCase.assertXPathCreatePathAndSetValue(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object value,
java.lang.String expectedPath)
|
protected void |
JXPathTestCase.assertXPathPointer(JXPathContext ctx,
java.lang.String xpath,
java.lang.String expected)
|
protected void |
JXPathTestCase.assertXPathPointerLenient(JXPathContext ctx,
java.lang.String xpath,
java.lang.String expected)
|
protected void |
JXPathTestCase.assertXPathValueAndPointer(JXPathContext ctx,
java.lang.String xpath,
java.lang.Object expectedValue,
java.lang.String expectedPointer)
|
protected void |
JXPathTestCase.assertXPathValueIterator(JXPathContext ctx,
java.lang.String xpath,
java.util.Collection expected)
|
protected void |
JXPathTestCase.assertXPathPointerIterator(JXPathContext ctx,
java.lang.String xpath,
java.util.Collection expected)
|
protected void |
JXPathTestCase.assertDocumentOrder(JXPathContext context,
java.lang.String path1,
java.lang.String path2,
int expected)
|
protected void |
JXPathTestCase.assertXPathValueType(JXPathContext ctx,
java.lang.String xpath,
java.lang.Class clazz)
|
protected void |
JXPathTestCase.assertXPathNodeType(JXPathContext ctx,
java.lang.String xpath,
java.lang.Class clazz)
|
Pointer |
KeyManager.getPointerByKey(JXPathContext context,
java.lang.String keyName,
java.lang.String keyValue)
Finds a node by a key value. |
abstract JXPathContext |
JXPathContextFactory.newContext(JXPathContext parentContext,
java.lang.Object contextBean)
Creates a new instance of a JXPathContext using the currently configured parameters. |
static JXPathContext |
JXPathContext.newContext(JXPathContext parentContext,
java.lang.Object contextBean)
Creates a new JXPathContext with the specified bean as the root node and the specified parent context. |
Pointer |
IdentityManager.getPointerByID(JXPathContext context,
java.lang.String id)
Finds a node by its ID. |
java.lang.Object |
CompiledExpression.getValue(JXPathContext context)
Evaluates the xpath and returns the resulting object. |
java.lang.Object |
CompiledExpression.getValue(JXPathContext context,
java.lang.Class requiredType)
Evaluates the xpath, converts the result to the specified class and returns the resulting object. |
void |
CompiledExpression.setValue(JXPathContext context,
java.lang.Object value)
Modifies the value of the property described by the supplied xpath. |
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 "setFactory". |
Pointer |
CompiledExpression.createPathAndSetValue(JXPathContext context,
java.lang.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 "setFactory". |
java.util.Iterator |
CompiledExpression.iterate(JXPathContext context)
Traverses the xpath and returns a Iterator of all results found for the path. |
Pointer |
CompiledExpression.getPointer(JXPathContext context,
java.lang.String xpath)
Traverses the xpath and returns a Pointer. |
java.util.Iterator |
CompiledExpression.iteratePointers(JXPathContext context)
Traverses the xpath and returns an Iterator of Pointers. |
void |
CompiledExpression.removePath(JXPathContext context)
Remove the graph element described by this expression |
void |
CompiledExpression.removeAll(JXPathContext context)
Remove all graph elements described by this expression |
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. |
boolean |
AbstractFactory.declareVariable(JXPathContext context,
java.lang.String name)
Declare the specified variable |
| Constructors in org.apache.commons.jxpath with parameters of type JXPathContext | |
JXPathContext(JXPathContext parentContext,
java.lang.Object contextBean)
This constructor should remain protected - it is to be overridden by subclasses, but never explicitly invoked by clients. |
|
|
|||||||||
| Home >> All >> org >> apache >> commons >> [ jxpath overview ] | PREV NEXT | ||||||||