Uses of Class
org.loboevolution.apache.xpath.Expression
Packages that use Expression
Package
Description
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
Implements an XPath parser which produces an OpMap, and a so-called Compiler
which produces an expression tree for fast evaluation.
Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
Support for XPath operations, such as +, -, string(), etc.
Implementation of XPath nodeTest support, and XSLT pattern matching support.
-
Uses of Expression in org.loboevolution.apache.xpath
Methods in org.loboevolution.apache.xpath with parameters of type ExpressionModifier and TypeMethodDescriptionabstract booleanExpression.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.protected final booleanExpression.isSameClass(Expression expr) This is a utility method to tell if the passed in class is the same class as this.booleanXPathVisitor.visitPredicate(Expression pred) Visit a predicate within a location path.Constructors in org.loboevolution.apache.xpath with parameters of type Expression -
Uses of Expression in org.loboevolution.apache.xpath.axes
Subclasses of Expression in org.loboevolution.apache.xpath.axesModifier and TypeClassDescriptionclassThis class implements an optimized iterator for attribute axes patterns.classServes as common interface for axes Walkers, and stores common state variables.classBase for iterators that handle predicates.classThis class implements an optimized iterator for "node()" patterns, that is, any children of the context node.classThis class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.classThis class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.classWalker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP, op codes.classThis class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPath LocationPath.classThis class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.classThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.classThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e. it can not be used with ancestors, preceding, etc.)classclassWalker for a reverse axes.classThis class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.classThis class defines a simplified type of union iterator that only tests along the child axes.classThis class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.classLocation path iterator that uses Walkers.classThis class iterates over set of nodes that needs to be sorted.Methods in org.loboevolution.apache.xpath.axes that return ExpressionModifier and TypeMethodDescriptionPredicatedNodeTest.getPredicate(int index) Get a predicate expression at the given index.Methods in org.loboevolution.apache.xpath.axes with parameters of type ExpressionModifier and TypeMethodDescriptionbooleanAxesWalker.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanDescendantIterator.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanFilterExprWalker.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanOneStepIterator.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanOneStepIteratorForward.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanPredicatedNodeTest.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanUnionPathIterator.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanWalkingIterator.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.static XNodeSetFilterExprWalker.executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, Expression expr) Execute the expression.booleanHasPositionalPredChecker.visitPredicate(Expression pred) Visit a predicate within a location path. -
Uses of Expression in org.loboevolution.apache.xpath.compiler
Methods in org.loboevolution.apache.xpath.compiler that return ExpressionModifier and TypeMethodDescriptionprotected ExpressionCompiler.and(int opPos) Compile an 'and' operation.protected ExpressionCompiler.arg(int opPos) Compile a function argument.protected ExpressionCompiler.bool(int opPos) Compile a 'boolean(...)' operation.Compiler.compile(int opPos) Execute the XPath object from a given opcode position.protected ExpressionCompiler.div(int opPos) Compile a 'div' operation.protected ExpressionCompiler.equals(int opPos) Compile a '=' operation.Compiler.getCompiledPredicates(int opPos) Compile a zero or more predicates for a given match pattern.protected ExpressionCompiler.group(int opPos) Compile an expression group.protected ExpressionCompiler.gt(int opPos) Compile a '>' operation.protected ExpressionCompiler.gte(int opPos) Compile a '>' operation.protected ExpressionCompiler.literal(int opPos) Compile a literal string value.Compiler.locationPath(int opPos) Compile a location path.Compiler.locationPathPattern(int opPos) Compile a location match pattern unit expression.protected ExpressionCompiler.lt(int opPos) Compile a '<' operation.protected ExpressionCompiler.lte(int opPos) Compile a '<=' operation.protected ExpressionCompiler.matchPattern(int oPos) Compile an entire match pattern expression.protected ExpressionCompiler.minus(int opPos) Compile a '-' operation.protected ExpressionCompiler.mod(int opPos) Compile a 'mod' operation.protected ExpressionCompiler.mult(int opPos) Compile a '*' operation.protected ExpressionCompiler.neg(int opPos) Compile a unary '-' operation.protected ExpressionCompiler.notequals(int opPos) Compile a '!protected ExpressionCompiler.number(int opPos) Compile a 'number(...)' operation.protected ExpressionCompiler.numberlit(int opPos) Compile a literal number value.protected ExpressionCompiler.or(int opPos) Compile an 'or' operation.protected ExpressionCompiler.plus(int opPos) Compile a '+' operation.Compiler.predicate(int opPos) Compile a location step predicate expression.protected ExpressionCompiler.string(int opPos) Compile a 'string(...)' operation.protected ExpressionCompiler.union(int opPos) Compile a location path union. -
Uses of Expression in org.loboevolution.apache.xpath.functions
Subclasses of Expression in org.loboevolution.apache.xpath.functionsModifier and TypeClassDescriptionclassExecute the Boolean() function.classExecute the Ceiling() function.classExecute the Concat() function.classExecute the Contains() function.classExecute the Count() function.classExecute the False() function.classExecute the Floor() function.classExecute the Id() function.classExecute the Lang() function.classExecute the Last() function.classExecute the LocalPart() function.classExecute the Namespace() function.classExecute the normalize-space() function.classExecute the Not() function.classExecute the Number() function.classExecute the Position() function.classExecute the Qname() function.classExecute the round() function.classExecute the StartsWith() function.classExecute the String() function.classExecute the StringLength() function.classExecute the Substring() function.classExecute the SubstringAfter() function.classExecute the SubstringBefore() function.classExecute the Sum() function.classThis is a superclass of all XPath functions.classBase class for functions that accept two arguments.classBase class for functions that accept three arguments.classBase class for functions that accept one argument that can be defaulted if not specified.classBase class for functions that accept an undetermined number of multiple arguments.classBase class for functions that accept one argument.classExecute the Translate() function.classExecute the True() function.Methods in org.loboevolution.apache.xpath.functions with parameters of type ExpressionModifier and TypeMethodDescriptionbooleanFunction.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanFunction2Args.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanFunction3Args.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanFunctionMultiArgs.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanFunctionOneArg.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.voidFunction.setArg(Expression arg, int argNum) Set an argument expression for a function.voidFunction2Args.setArg(Expression arg, int argNum) Set an argument expression for a function.voidFunction3Args.setArg(Expression arg, int argNum) Set an argument expression for a function.voidFunctionMultiArgs.setArg(Expression arg, int argNum) Set an argument expression for a function.voidFunctionOneArg.setArg(Expression arg, int argNum) Set an argument expression for a function. -
Uses of Expression in org.loboevolution.apache.xpath.objects
Subclasses of Expression in org.loboevolution.apache.xpath.objectsModifier and TypeClassDescriptionclassThis class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string.classThis class doesn't have any XPathContext, so override whatever to ensure it works OK.classThis class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.classThis class represents an XPath number, and is capable of converting the number to other types, such as a string.classThis class represents an XPath object, and is capable of converting the object to various types, such as a string.classThis class represents an XPath string object, and is capable of converting the string to other types, such as a number.Methods in org.loboevolution.apache.xpath.objects with parameters of type ExpressionModifier and TypeMethodDescriptionbooleanXObject.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy. -
Uses of Expression in org.loboevolution.apache.xpath.operations
Subclasses of Expression in org.loboevolution.apache.xpath.operationsModifier and TypeClassDescriptionclassThe 'and' operation expression executor.classThe 'boolean()' operation expression executer.classThe 'div' operation expression executer.classThe '=' operation expression executer.classThe '>' operation expression executor.classThe '>=' operation expression executor.classThe '<' operation expression executor.classThe '<=' operation expression executor.classThe binary '-' operation expression executer.classThe 'mod' operation expression executer.classThe '*' operation expression executer.classThe unary '-' operation expression executer.classThe '!classThe 'number()' operation expression executer.classThe baseclass for a binary operation.classThe 'or' operation expression executer.classThe '+' operation expression executer.classThe 'string()' operation expression executer.classThe unary operation base class.Fields in org.loboevolution.apache.xpath.operations declared as ExpressionModifier and TypeFieldDescriptionprotected ExpressionOperation.m_leftThe left operand expression.protected ExpressionOperation.m_rightThe right operand expression.protected ExpressionUnaryOperation.m_rightThe operand for the operation.Methods in org.loboevolution.apache.xpath.operations with parameters of type ExpressionModifier and TypeMethodDescriptionbooleanOperation.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanUnaryOperation.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.voidOperation.setLeftRight(Expression l, Expression r) Set the left and right operand expressions for this operation.voidUnaryOperation.setRight(Expression r) Set the expression operand for the operation. -
Uses of Expression in org.loboevolution.apache.xpath.patterns
Subclasses of Expression in org.loboevolution.apache.xpath.patternsModifier and TypeClassDescriptionclassSpecial context node pattern matcher.classMatch pattern step that contains a function.classThis is the basic node test class for both match patterns and location path steps.classThis class represents a single pattern match step.classThis class represents a union pattern, which can have multiple individual StepPattern patterns.Methods in org.loboevolution.apache.xpath.patterns that return ExpressionModifier and TypeMethodDescriptionStepPattern.getPredicate(int i) Get a predicate expression.StepPattern.getPredicates()Set the list of predicate expressions for this pattern step.Methods in org.loboevolution.apache.xpath.patterns with parameters of type ExpressionModifier and TypeMethodDescriptionbooleanNodeTest.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanStepPattern.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.booleanUnionPattern.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.voidStepPattern.setPredicates(Expression[] predicates) Set the predicates for this match pattern step.Constructors in org.loboevolution.apache.xpath.patterns with parameters of type ExpressionModifierConstructorDescriptionFunctionPattern(Expression expr, int axis) Construct a FunctionPattern from aexpression.