Uses of Class
org.apache.commons.jxpath.JXPathContext
Packages that use JXPathContext
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).
The "model" package defines APIs that are implemented
for every object model to be supported by JXPath.
Implementation of "model" APIs for JavaBeans, Dynamic Property Objects,
collections and null.
Implementation of "model" APIs for W3C DOM.
Implementation of "model" APIs for dynamic property objects e.g.
Implementation of "model" APIs for JDOM (see jdom.org).
Utility classes to assist with JXPath implementation(s) and/or usage.
-
Uses of JXPathContext in org.apache.commons.jxpath
Fields in org.apache.commons.jxpath declared as JXPathContextModifier and TypeFieldDescriptionprivate static JXPathContext
JXPathContext.compilationContext
protected JXPathContext
JXPathContext.parentContext
parent contextMethods in org.apache.commons.jxpath that return JXPathContextModifier and TypeMethodDescriptionExpressionContext.getJXPathContext()
Get the JXPathContext in which this function is being evaluated.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.static JXPathContext
JXPathContext.newContext
(Object contextBean) Creates a new JXPathContext with the specified object as the root node.static JXPathContext
JXPathContext.newContext
(JXPathContext parentContext, Object contextBean) Creates a new JXPathContext with the specified bean as the root node and the specified parent context.abstract JXPathContext
JXPathContextFactory.newContext
(JXPathContext parentContext, Object contextBean) Creates a new instance of a JXPathContext using the currently configured parameters.Methods in org.apache.commons.jxpath with parameters of type JXPathContextModifier and TypeMethodDescriptionboolean
AbstractFactory.createObject
(JXPathContext context, Pointer pointer, Object parent, String name, int index) The parameters may describe a collection element or an individual object.CompiledExpression.createPath
(JXPathContext context) Creates intermediate elements of the path by invoking anAbstractFactory
, which should first be installed on the context by callingsetFactory(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 callingsetFactory(org.apache.commons.jxpath.AbstractFactory)
.boolean
AbstractFactory.declareVariable
(JXPathContext context, String name) Declare the specified variableExtendedKeyManager.getNodeSetByKey
(JXPathContext context, String key, Object value) Find a NodeSet by key/value.CompiledExpression.getPointer
(JXPathContext context, String xpath) Traverses the xpath and returns a Pointer.IdentityManager.getPointerByID
(JXPathContext context, String id) Finds a node by its ID.KeyManager.getPointerByKey
(JXPathContext context, String keyName, String keyValue) Find a node by key/value.CompiledExpression.getValue
(JXPathContext context) Evaluates the xpath and returns the resulting object.CompiledExpression.getValue
(JXPathContext context, Class requiredType) Evaluates the xpath, converts the result to the specified class and returns the resulting object.CompiledExpression.iterate
(JXPathContext context) Traverses the xpath and returns a Iterator of all results found for the path.CompiledExpression.iteratePointers
(JXPathContext context) Traverses the xpath and returns an Iterator of Pointers.static JXPathContext
JXPathContext.newContext
(JXPathContext parentContext, Object contextBean) Creates a new JXPathContext with the specified bean as the root node and the specified parent context.abstract JXPathContext
JXPathContextFactory.newContext
(JXPathContext parentContext, Object contextBean) Creates a new instance of a JXPathContext using the currently configured parameters.void
CompiledExpression.removeAll
(JXPathContext context) Remove all graph elements described by this expression.void
CompiledExpression.removePath
(JXPathContext context) Remove the graph element described by this expression.void
CompiledExpression.setValue
(JXPathContext context, Object value) Modifies the value of the property described by the supplied xpath.Constructors in org.apache.commons.jxpath with parameters of type JXPathContextModifierConstructorDescriptionprotected
JXPathContext
(JXPathContext parentContext, Object contextBean) This constructor should remain protected - it is to be overridden by subclasses, but never explicitly invoked by clients. -
Uses of JXPathContext in org.apache.commons.jxpath.ri
Subclasses of JXPathContext in org.apache.commons.jxpath.riModifier and TypeClassDescriptionclass
The reference implementation of JXPathContext.Methods in org.apache.commons.jxpath.ri that return JXPathContextModifier and TypeMethodDescriptionEvalContext.getJXPathContext()
JXPathContextReferenceImpl.getRelativeContext
(Pointer pointer) JXPathContextFactoryReferenceImpl.newContext
(JXPathContext parentContext, Object contextBean) Methods in org.apache.commons.jxpath.ri with parameters of type JXPathContextModifier and TypeMethodDescriptionJXPathCompiledExpression.createPath
(JXPathContext context) JXPathCompiledExpression.createPathAndSetValue
(JXPathContext context, Object value) JXPathCompiledExpression.getPointer
(JXPathContext context, String xpath) JXPathCompiledExpression.getValue
(JXPathContext context) JXPathCompiledExpression.getValue
(JXPathContext context, Class requiredType) JXPathCompiledExpression.iterate
(JXPathContext context) JXPathCompiledExpression.iteratePointers
(JXPathContext context) JXPathContextFactoryReferenceImpl.newContext
(JXPathContext parentContext, Object contextBean) void
JXPathCompiledExpression.removeAll
(JXPathContext context) void
JXPathCompiledExpression.removePath
(JXPathContext context) void
JXPathCompiledExpression.setValue
(JXPathContext context, Object value) Constructors in org.apache.commons.jxpath.ri with parameters of type JXPathContextModifierConstructorDescriptionprotected
JXPathContextReferenceImpl
(JXPathContext parentContext, Object contextBean) Create a new JXPathContextReferenceImpl.JXPathContextReferenceImpl
(JXPathContext parentContext, Object contextBean, Pointer contextPointer) Create a new JXPathContextReferenceImpl. -
Uses of JXPathContext in org.apache.commons.jxpath.ri.axes
Methods in org.apache.commons.jxpath.ri.axes that return JXPathContext -
Uses of JXPathContext in org.apache.commons.jxpath.ri.model
Fields in org.apache.commons.jxpath.ri.model declared as JXPathContextModifier and TypeFieldDescriptionprivate final JXPathContext
VariablePointerFactory.VariableContextWrapper.context
Methods in org.apache.commons.jxpath.ri.model that return JXPathContextModifier and TypeMethodDescriptionVariablePointerFactory.VariableContextWrapper.getContext()
Get the original (unwrapped) context.Methods in org.apache.commons.jxpath.ri.model with parameters of type JXPathContextModifier and TypeMethodDescriptionVariablePointerFactory.contextWrapper
(JXPathContext context) VariableContextWrapper factory method.NodePointer.createAttribute
(JXPathContext context, QName name) Called to create a non-existing attributeNodePointer.createChild
(JXPathContext context, QName name, 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 name, 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 name, int index) VariablePointer.createChild
(JXPathContext context, QName name, int index, Object value) private Object
VariablePointer.createCollection
(JXPathContext context, int index) Create a collection.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) protected void
VariablePointer.findVariables
(JXPathContext context) Assimilate the Variables instance associated with the specified context.protected AbstractFactory
NodePointer.getAbstractFactory
(JXPathContext context) Get the AbstractFactory associated with the specified JXPathContext.NodePointer.getNodeSetByKey
(JXPathContext context, String key, Object value) Find a NodeSet by key/value.NodePointer.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.Constructors in org.apache.commons.jxpath.ri.model with parameters of type JXPathContextModifierConstructorDescriptionprivate
VariableContextWrapper
(JXPathContext context) Create a new VariableContextWrapper. -
Uses of JXPathContext in org.apache.commons.jxpath.ri.model.beans
Methods in org.apache.commons.jxpath.ri.model.beans with parameters of type JXPathContextModifier and TypeMethodDescriptionCollectionPointer.createChild
(JXPathContext context, QName name, int index) CollectionPointer.createChild
(JXPathContext context, QName name, int index, Object value) NullPointer.createChild
(JXPathContext context, QName name, int index) NullPointer.createChild
(JXPathContext context, QName name, int index, Object value) NullPropertyPointer.createChild
(JXPathContext context, QName name, int index) NullPropertyPointer.createChild
(JXPathContext context, QName name, int index, Object value) PropertyPointer.createChild
(JXPathContext context, QName name, int index) PropertyPointer.createChild
(JXPathContext context, QName name, int index, Object value) 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) -
Uses of JXPathContext in org.apache.commons.jxpath.ri.model.dom
Methods in org.apache.commons.jxpath.ri.model.dom with parameters of type JXPathContextModifier and TypeMethodDescriptionDOMNodePointer.createAttribute
(JXPathContext context, QName name) DOMNodePointer.createChild
(JXPathContext context, QName name, int index) DOMNodePointer.createChild
(JXPathContext context, QName name, int index, Object value) DOMNodePointer.getPointerByID
(JXPathContext context, String id) Locates a node by ID. -
Uses of JXPathContext in org.apache.commons.jxpath.ri.model.dynamic
Methods in org.apache.commons.jxpath.ri.model.dynamic with parameters of type JXPathContextModifier and TypeMethodDescriptionDynamicPropertyPointer.createPath
(JXPathContext context) DynamicPropertyPointer.createPath
(JXPathContext context, Object value) -
Uses of JXPathContext in org.apache.commons.jxpath.ri.model.jdom
Methods in org.apache.commons.jxpath.ri.model.jdom with parameters of type JXPathContextModifier and TypeMethodDescriptionJDOMNodePointer.createAttribute
(JXPathContext context, QName name) JDOMNodePointer.createChild
(JXPathContext context, QName name, int index) JDOMNodePointer.createChild
(JXPathContext context, QName name, int index, Object value) -
Uses of JXPathContext in org.apache.commons.jxpath.util
Methods in org.apache.commons.jxpath.util with parameters of type JXPathContextModifier and TypeMethodDescriptionKeyManagerUtils.SingleNodeExtendedKeyManager.getNodeSetByKey
(JXPathContext context, String key, Object value) KeyManagerUtils.SingleNodeExtendedKeyManager.getPointerByKey
(JXPathContext context, String keyName, String keyValue)