Uses of Class
org.apache.commons.jxpath.JXPathContext
-
Packages that use JXPathContext 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.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.dom Implementation of "model" APIs for W3C DOM.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 JXPathContext in org.apache.commons.jxpath
Fields in org.apache.commons.jxpath declared as JXPathContext Modifier and Type Field Description private static JXPathContextJXPathContext. compilationContextprotected JXPathContextJXPathContext. parentContextparent contextMethods in org.apache.commons.jxpath that return JXPathContext Modifier and Type Method Description JXPathContextExpressionContext. getJXPathContext()Get the JXPathContext in which this function is being evaluated.JXPathContextJXPathContext. getParentContext()Returns the parent context of this context or null.abstract JXPathContextJXPathContext. getRelativeContext(Pointer pointer)Returns a JXPathContext that is relative to the current JXPathContext.static JXPathContextJXPathContext. newContext(java.lang.Object contextBean)Creates a new JXPathContext with the specified object as the root node.static JXPathContextJXPathContext. newContext(JXPathContext parentContext, java.lang.Object contextBean)Creates a new JXPathContext with the specified bean as the root node and the specified parent context.abstract JXPathContextJXPathContextFactory. newContext(JXPathContext parentContext, java.lang.Object contextBean)Creates a new instance of a JXPathContext using the currently configured parameters.Methods in org.apache.commons.jxpath with parameters of type JXPathContext Modifier and Type Method Description booleanAbstractFactory. 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.PointerCompiledExpression. 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).PointerCompiledExpression. 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 callingsetFactory(org.apache.commons.jxpath.AbstractFactory).booleanAbstractFactory. declareVariable(JXPathContext context, java.lang.String name)Declare the specified variableNodeSetExtendedKeyManager. getNodeSetByKey(JXPathContext context, java.lang.String key, java.lang.Object value)Find a NodeSet by key/value.PointerCompiledExpression. getPointer(JXPathContext context, java.lang.String xpath)Traverses the xpath and returns a Pointer.PointerIdentityManager. getPointerByID(JXPathContext context, java.lang.String id)Finds a node by its ID.PointerKeyManager. getPointerByKey(JXPathContext context, java.lang.String keyName, java.lang.String keyValue)Find a node by key/value.java.lang.ObjectCompiledExpression. getValue(JXPathContext context)Evaluates the xpath and returns the resulting object.java.lang.ObjectCompiledExpression. getValue(JXPathContext context, java.lang.Class requiredType)Evaluates the xpath, converts the result to the specified class and returns the resulting object.java.util.IteratorCompiledExpression. iterate(JXPathContext context)Traverses the xpath and returns a Iterator of all results found for the path.java.util.IteratorCompiledExpression. iteratePointers(JXPathContext context)Traverses the xpath and returns an Iterator of Pointers.static JXPathContextJXPathContext. newContext(JXPathContext parentContext, java.lang.Object contextBean)Creates a new JXPathContext with the specified bean as the root node and the specified parent context.abstract JXPathContextJXPathContextFactory. newContext(JXPathContext parentContext, java.lang.Object contextBean)Creates a new instance of a JXPathContext using the currently configured parameters.voidCompiledExpression. removeAll(JXPathContext context)Remove all graph elements described by this expression.voidCompiledExpression. removePath(JXPathContext context)Remove the graph element described by this expression.voidCompiledExpression. setValue(JXPathContext context, java.lang.Object value)Modifies the value of the property described by the supplied xpath.Constructors in org.apache.commons.jxpath with parameters of type JXPathContext Constructor Description 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. -
Uses of JXPathContext in org.apache.commons.jxpath.ri
Subclasses of JXPathContext in org.apache.commons.jxpath.ri Modifier and Type Class Description classJXPathContextReferenceImplThe reference implementation of JXPathContext.Methods in org.apache.commons.jxpath.ri that return JXPathContext Modifier and Type Method Description JXPathContextEvalContext. getJXPathContext()JXPathContextJXPathContextReferenceImpl. getRelativeContext(Pointer pointer)JXPathContextJXPathContextFactoryReferenceImpl. newContext(JXPathContext parentContext, java.lang.Object contextBean)Methods in org.apache.commons.jxpath.ri with parameters of type JXPathContext Modifier and Type Method Description PointerJXPathCompiledExpression. createPath(JXPathContext context)PointerJXPathCompiledExpression. createPathAndSetValue(JXPathContext context, java.lang.Object value)PointerJXPathCompiledExpression. getPointer(JXPathContext context, java.lang.String xpath)java.lang.ObjectJXPathCompiledExpression. getValue(JXPathContext context)java.lang.ObjectJXPathCompiledExpression. getValue(JXPathContext context, java.lang.Class requiredType)java.util.IteratorJXPathCompiledExpression. iterate(JXPathContext context)java.util.IteratorJXPathCompiledExpression. iteratePointers(JXPathContext context)JXPathContextJXPathContextFactoryReferenceImpl. newContext(JXPathContext parentContext, java.lang.Object contextBean)voidJXPathCompiledExpression. removeAll(JXPathContext context)voidJXPathCompiledExpression. removePath(JXPathContext context)voidJXPathCompiledExpression. setValue(JXPathContext context, java.lang.Object value)Constructors in org.apache.commons.jxpath.ri with parameters of type JXPathContext Constructor Description JXPathContextReferenceImpl(JXPathContext parentContext, java.lang.Object contextBean)Create a new JXPathContextReferenceImpl.JXPathContextReferenceImpl(JXPathContext parentContext, java.lang.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 Modifier and Type Method Description JXPathContextRootContext. getJXPathContext() -
Uses of JXPathContext in org.apache.commons.jxpath.ri.model
Fields in org.apache.commons.jxpath.ri.model declared as JXPathContext Modifier and Type Field Description private JXPathContextVariablePointerFactory.VariableContextWrapper. contextMethods in org.apache.commons.jxpath.ri.model that return JXPathContext Modifier and Type Method Description JXPathContextVariablePointerFactory.VariableContextWrapper. getContext()Get the original (unwrapped) context.Methods in org.apache.commons.jxpath.ri.model with parameters of type JXPathContext Modifier and Type Method Description static VariablePointerFactory.VariableContextWrapperVariablePointerFactory. contextWrapper(JXPathContext context)VariableContextWrapper factory method.NodePointerNodePointer. createAttribute(JXPathContext context, QName name)Called to create a non-existing attributeNodePointerNodePointer. 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.NodePointerNodePointer. createChild(JXPathContext context, QName name, int index, java.lang.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.NodePointerVariablePointer. createChild(JXPathContext context, QName name, int index)NodePointerVariablePointer. createChild(JXPathContext context, QName name, int index, java.lang.Object value)private java.lang.ObjectVariablePointer. createCollection(JXPathContext context, int index)Create a collection.NodePointerNodePointer. createPath(JXPathContext context)Called by a child pointer when it needs to create a parent object.NodePointerNodePointer. createPath(JXPathContext context, java.lang.Object value)Called directly by JXPathContext.NodePointerVariablePointer. createPath(JXPathContext context)NodePointerVariablePointer. createPath(JXPathContext context, java.lang.Object value)protected voidVariablePointer. findVariables(JXPathContext context)Assimilate the Variables instance associated with the specified context.protected AbstractFactoryNodePointer. getAbstractFactory(JXPathContext context)Get the AbstractFactory associated with the specified JXPathContext.NodeSetNodePointer. getNodeSetByKey(JXPathContext context, java.lang.String key, java.lang.Object value)Find a NodeSet by key/value.PointerNodePointer. getPointerByID(JXPathContext context, java.lang.String id)Locates a node by ID.PointerNodePointer. getPointerByKey(JXPathContext context, java.lang.String key, java.lang.String value)Locates a node by key and value.Constructors in org.apache.commons.jxpath.ri.model with parameters of type JXPathContext Constructor Description 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 JXPathContext Modifier and Type Method Description NodePointerCollectionPointer. createChild(JXPathContext context, QName name, int index)NodePointerCollectionPointer. createChild(JXPathContext context, QName name, int index, java.lang.Object value)NodePointerNullPointer. createChild(JXPathContext context, QName name, int index)NodePointerNullPointer. createChild(JXPathContext context, QName name, int index, java.lang.Object value)NodePointerNullPropertyPointer. createChild(JXPathContext context, QName name, int index)NodePointerNullPropertyPointer. createChild(JXPathContext context, QName name, int index, java.lang.Object value)NodePointerPropertyPointer. createChild(JXPathContext context, QName name, int index)NodePointerPropertyPointer. createChild(JXPathContext context, QName name, int index, java.lang.Object value)NodePointerBeanPropertyPointer. createPath(JXPathContext context)NodePointerCollectionPointer. createPath(JXPathContext context)NodePointerCollectionPointer. createPath(JXPathContext context, java.lang.Object value)NodePointerNullElementPointer. createPath(JXPathContext context)NodePointerNullElementPointer. createPath(JXPathContext context, java.lang.Object value)NodePointerNullPointer. createPath(JXPathContext context)NodePointerNullPointer. createPath(JXPathContext context, java.lang.Object value)NodePointerNullPropertyPointer. createPath(JXPathContext context)NodePointerNullPropertyPointer. createPath(JXPathContext context, java.lang.Object value)NodePointerPropertyPointer. createPath(JXPathContext context)NodePointerPropertyPointer. createPath(JXPathContext context, java.lang.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 JXPathContext Modifier and Type Method Description NodePointerDOMNodePointer. createAttribute(JXPathContext context, QName name)NodePointerDOMNodePointer. createChild(JXPathContext context, QName name, int index)NodePointerDOMNodePointer. createChild(JXPathContext context, QName name, int index, java.lang.Object value)PointerDOMNodePointer. getPointerByID(JXPathContext context, java.lang.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 JXPathContext Modifier and Type Method Description NodePointerDynamicPropertyPointer. createPath(JXPathContext context)NodePointerDynamicPropertyPointer. createPath(JXPathContext context, java.lang.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 JXPathContext Modifier and Type Method Description NodePointerJDOMNodePointer. createAttribute(JXPathContext context, QName name)NodePointerJDOMNodePointer. createChild(JXPathContext context, QName name, int index)NodePointerJDOMNodePointer. createChild(JXPathContext context, QName name, int index, java.lang.Object value) -
Uses of JXPathContext in org.apache.commons.jxpath.util
Methods in org.apache.commons.jxpath.util with parameters of type JXPathContext Modifier and Type Method Description NodeSetKeyManagerUtils.SingleNodeExtendedKeyManager. getNodeSetByKey(JXPathContext context, java.lang.String key, java.lang.Object value)PointerKeyManagerUtils.SingleNodeExtendedKeyManager. getPointerByKey(JXPathContext context, java.lang.String keyName, java.lang.String keyValue)
-