Uses of Class
org.loboevolution.apache.xpath.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
Modifier and TypeMethodDescriptionabstract boolean
Expression.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.protected final boolean
Expression.isSameClass
(Expression expr) This is a utility method to tell if the passed in class is the same class as this.boolean
XPathVisitor.visitPredicate
(Expression pred) Visit a predicate within a location path. -
Uses of Expression in org.loboevolution.apache.xpath.axes
Modifier and TypeClassDescriptionclass
This class implements an optimized iterator for attribute axes patterns.class
Serves as common interface for axes Walkers, and stores common state variables.class
Base for iterators that handle predicates.class
This class implements an optimized iterator for "node()" patterns, that is, any children of the context node.class
This class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.class
This class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.class
Walker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP, op codes.class
This class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPath LocationPath.class
This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.class
This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.class
This 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.)class
class
Walker for a reverse axes.class
This class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.class
This class defines a simplified type of union iterator that only tests along the child axes.class
This class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.class
Location path iterator that uses Walkers.class
This class iterates over set of nodes that needs to be sorted.Modifier and TypeMethodDescriptionPredicatedNodeTest.getPredicate
(int index) Get a predicate expression at the given index.Modifier and TypeMethodDescriptionboolean
AxesWalker.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
DescendantIterator.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
FilterExprWalker.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
OneStepIterator.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
OneStepIteratorForward.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
PredicatedNodeTest.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
UnionPathIterator.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
WalkingIterator.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.static XNodeSet
FilterExprWalker.executeFilterExpr
(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, Expression expr) Execute the expression.boolean
HasPositionalPredChecker.visitPredicate
(Expression pred) Visit a predicate within a location path. -
Uses of Expression in org.loboevolution.apache.xpath.compiler
Modifier and TypeMethodDescriptionprotected Expression
Compiler.and
(int opPos) Compile an 'and' operation.protected Expression
Compiler.arg
(int opPos) Compile a function argument.protected Expression
Compiler.bool
(int opPos) Compile a 'boolean(...)' operation.Compiler.compile
(int opPos) Execute the XPath object from a given opcode position.protected Expression
Compiler.div
(int opPos) Compile a 'div' operation.protected Expression
Compiler.equals
(int opPos) Compile a '=' operation.Compiler.getCompiledPredicates
(int opPos) Compile a zero or more predicates for a given match pattern.protected Expression
Compiler.group
(int opPos) Compile an expression group.protected Expression
Compiler.gt
(int opPos) Compile a '>' operation.protected Expression
Compiler.gte
(int opPos) Compile a '>' operation.protected Expression
Compiler.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 Expression
Compiler.lt
(int opPos) Compile a '<' operation.protected Expression
Compiler.lte
(int opPos) Compile a '<=' operation.protected Expression
Compiler.matchPattern
(int oPos) Compile an entire match pattern expression.protected Expression
Compiler.minus
(int opPos) Compile a '-' operation.protected Expression
Compiler.mod
(int opPos) Compile a 'mod' operation.protected Expression
Compiler.mult
(int opPos) Compile a '*' operation.protected Expression
Compiler.neg
(int opPos) Compile a unary '-' operation.protected Expression
Compiler.notequals
(int opPos) Compile a '!protected Expression
Compiler.number
(int opPos) Compile a 'number(...)' operation.protected Expression
Compiler.numberlit
(int opPos) Compile a literal number value.protected Expression
Compiler.or
(int opPos) Compile an 'or' operation.protected Expression
Compiler.plus
(int opPos) Compile a '+' operation.Compiler.predicate
(int opPos) Compile a location step predicate expression.protected Expression
Compiler.string
(int opPos) Compile a 'string(...)' operation.protected Expression
Compiler.union
(int opPos) Compile a location path union. -
Uses of Expression in org.loboevolution.apache.xpath.functions
Modifier and TypeClassDescriptionclass
Execute the Boolean() function.class
Execute the Ceiling() function.class
Execute the Concat() function.class
Execute the Contains() function.class
Execute the Count() function.class
Execute the False() function.class
Execute the Floor() function.class
Execute the Id() function.class
Execute the Lang() function.class
Execute the Last() function.class
Execute the LocalPart() function.class
Execute the Namespace() function.class
Execute the normalize-space() function.class
Execute the Not() function.class
Execute the Number() function.class
Execute the Position() function.class
Execute the Qname() function.class
Execute the round() function.class
Execute the StartsWith() function.class
Execute the String() function.class
Execute the StringLength() function.class
Execute the Substring() function.class
Execute the SubstringAfter() function.class
Execute the SubstringBefore() function.class
Execute the Sum() function.class
This is a superclass of all XPath functions.class
Base class for functions that accept two arguments.class
Base class for functions that accept three arguments.class
Base class for functions that accept one argument that can be defaulted if not specified.class
Base class for functions that accept an undetermined number of multiple arguments.class
Base class for functions that accept one argument.class
Execute the Translate() function.class
Execute the True() function.Modifier and TypeMethodDescriptionboolean
Function.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
Function2Args.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
Function3Args.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
FunctionMultiArgs.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
FunctionOneArg.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.void
Function.setArg
(Expression arg, int argNum) Set an argument expression for a function.void
Function2Args.setArg
(Expression arg, int argNum) Set an argument expression for a function.void
Function3Args.setArg
(Expression arg, int argNum) Set an argument expression for a function.void
FunctionMultiArgs.setArg
(Expression arg, int argNum) Set an argument expression for a function.void
FunctionOneArg.setArg
(Expression arg, int argNum) Set an argument expression for a function. -
Uses of Expression in org.loboevolution.apache.xpath.objects
Modifier and TypeClassDescriptionclass
This class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string.class
This class doesn't have any XPathContext, so override whatever to ensure it works OK.class
This class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.class
This class represents an XPath number, and is capable of converting the number to other types, such as a string.class
This class represents an XPath object, and is capable of converting the object to various types, such as a string.class
This class represents an XPath string object, and is capable of converting the string to other types, such as a number.Modifier and TypeMethodDescriptionboolean
XObject.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
Modifier and TypeClassDescriptionclass
The 'and' operation expression executor.class
The 'boolean()' operation expression executer.class
The 'div' operation expression executer.class
The '=' operation expression executer.class
The '>' operation expression executor.class
The '>=' operation expression executor.class
The '<' operation expression executor.class
The '<=' operation expression executor.class
The binary '-' operation expression executer.class
The 'mod' operation expression executer.class
The '*' operation expression executer.class
The unary '-' operation expression executer.class
The '!class
The 'number()' operation expression executer.class
The baseclass for a binary operation.class
The 'or' operation expression executer.class
The '+' operation expression executer.class
The 'string()' operation expression executer.class
The unary operation base class.Modifier and TypeFieldDescriptionprotected Expression
Operation.m_left
The left operand expression.protected Expression
Operation.m_right
The right operand expression.protected Expression
UnaryOperation.m_right
The operand for the operation.Modifier and TypeMethodDescriptionboolean
Operation.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
UnaryOperation.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.void
Operation.setLeftRight
(Expression l, Expression r) Set the left and right operand expressions for this operation.void
UnaryOperation.setRight
(Expression r) Set the expression operand for the operation. -
Uses of Expression in org.loboevolution.apache.xpath.patterns
Modifier and TypeClassDescriptionclass
Special context node pattern matcher.class
Match pattern step that contains a function.class
This is the basic node test class for both match patterns and location path steps.class
This class represents a single pattern match step.class
This class represents a union pattern, which can have multiple individual StepPattern patterns.Modifier and TypeMethodDescriptionStepPattern.getPredicate
(int i) Get a predicate expression.StepPattern.getPredicates()
Set the list of predicate expressions for this pattern step.Modifier and TypeMethodDescriptionboolean
NodeTest.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
StepPattern.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.boolean
UnionPattern.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.void
StepPattern.setPredicates
(Expression[] predicates) Set the predicates for this match pattern step.ModifierConstructorDescriptionFunctionPattern
(Expression expr, int axis) Construct a FunctionPattern from aexpression
.