Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.jxpath.ri.axes.* (18)org.apache.commons.jxpath.ri.compiler.* (41)
org.apache.commons.jxpath.ri.model.* (61)org.apache.commons.jxpath.ri.parser.* (8)

org.apache.commons.jxpath.ri: Javadoc index of package org.apache.commons.jxpath.ri.


Package Samples:

org.apache.commons.jxpath.ri.model.jdom: The "model" package defines APIs that are implemented for every object model to be supported by JXPath.  
org.apache.commons.jxpath.ri.parser: Reference implementation of JXPath.  
org.apache.commons.jxpath.ri.axes
org.apache.commons.jxpath.ri.compiler
org.apache.commons.jxpath.ri.model.beans
org.apache.commons.jxpath.ri.model.container
org.apache.commons.jxpath.ri.model.dom
org.apache.commons.jxpath.ri.model.dynabeans
org.apache.commons.jxpath.ri.model.dynamic
org.apache.commons.jxpath.ri.model

Classes:

Compiler: The Compiler APIs are completely agnostic to the actual types of objects produced and consumed by the APIs. Arguments and return values are declared as java.lang.Object. Since objects returned by Compiler methods are passed as arguments to other Compiler methods, the descriptions of these methods use virtual types. There are four virtual object types: EXPRESSION, QNAME, STEP and NODE_TEST. The following example illustrates this notion. This sequence compiles the xpath "foo[round(1 div 2)]/text()": Object qname1 = compiler.qname(null, "foo") Object expr1 = compiler.number("1"); Object expr2 = compiler.number("2"); ...
NullElementPointer: Used when there is a need to construct a Pointer for a collection element that does not exist. For example, if the path is "foo[3]", but the collection "foo" only has one element or is empty or is null, the NullElementPointer can be used to capture this situation without putting a regular NodePointer into an invalid state. Just create a NullElementPointer with index 2 (= 3 - 1) and a "foo" pointer as the parent.
SimplePathInterpreter: An evaluation mechanism for simple XPaths, which is much faster than the usual process. It is only used for xpaths which have no context-dependent parts, consist entirely of child::name and self::node() steps with predicates that either integer or have the form [@name = ...] .
Expression: Common superclass for several types of nodes in the parse tree. Provides APIs for optimization of evaluation of expressions. Specifically, an expression only needs to executed once during the evaluation of an xpath if that expression is context-independent. Expression.isContextDependent() provides that hint.
ParseException: This exception is thrown when parse errors are encountered. You can explicitly create objects of this exception type by calling the method generateParseException in the generated parser. You can modify this class to customize your error reporting mechanisms so long as you retain the public fields.
NodePointer: Common superclass for Pointers of all kinds. A NodePointer maps to a deterministic XPath that represents the location of a node in an object graph. This XPath uses only simple axes: child, namespace and attribute and only simple, context-independent predicates.
EvalContext: An XPath evaluation context. When evaluating a path, a chain of EvalContexts is created, each context in the chain representing a step of the path. Subclasses of EvalContext implement behavior of various XPath axes: "child::", "parent::" etc.
BeanPointer: A Pointer that points to a JavaBean or a collection. It is either the first element of a path or a pointer for a property value. Typically there is a BeanPropertyPointer between two BeanPointers in the chain.
DynamicAttributeIterator: DynamicAttributeIterator is different from a regular BeanAttributeIterator in that given a property name it will always find that property (albeit with a null value).
NodePointerFactory: Creates NodePointers for objects of a certain type. NodePointerFactories are ordered according to the values returned by the "getOrder" method and always queried in that order.
InitialContext: A single-set EvalContext that provides access to the current node of the parent context and nothing else. It does not pass the iteration on to the parent context.
ExpressionPath: An element of the parse tree that represents an expression path, which is a path that starts with an expression like a function call: getFoo(.) /bar .
DynamicPointer: A Pointer that points to an object with Dynamic Properties. It is used for the first element of a path; following elements will by of type PropertyPointer.
PropertyIterator: Iterates property values of an object pointed at with a PropertyOwnerPointer. Examples of such objects are JavaBeans and objects with Dynamic Properties.
JavaCharStream: An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
LangAttributePointer: A Pointer that points to the "lang" attribute of a JavaBean. The value of the attribute is based on the locale supplied to it in the constructor.
DynaBeanPointerFactory: Implements NodePointerFactory for DynaBeans. See Jakarta Commons BeanUtils
NameAttributeTest: Captures the foo[@name= expr ] expression. These expressions are handled in a special way when applied to beans or maps.
SimpleCharStream: An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
ContainerPointer: Transparent pointer to a Container. The getValue() method returns the contents of the container, rather than the container itself.
XMLModelTestCase: Abstract superclass for pure XPath 1.0. Subclasses apply the same XPaths to contexts using different models: DOM, JDOM etc.
CollectionAttributeNodeIterator: Combines attribute node iterators of all elements of a collection into one aggregate attribute node iterator.
PropertyPointer: A pointer allocated by a PropertyOwnerPointer to represent the value of a property of the parent object.
CoreFunction: An element of the compile tree representing one of built-in functions like "position()" or "number()".
UnionContext: EvalContext that represents a union between other contexts - result of a union operation like (a | b)

Home | Contact Us | Privacy Policy | Terms of Service