Uses of Class
org.apache.xpath.Expression
Packages that use Expression
Package
Description
Implements the
Templates
interface,
and defines a set of classes that represent an XSLT stylesheet.In charge of run-time transformations and the production of result trees.
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.apache.xalan.templates
Subclasses of Expression in org.apache.xalan.templatesModifier and TypeClassDescriptionclass
Execute the Doc() function.class
Execute the FormatNumber() function.class
Execute the Key() function.class
An instance of this class holds unto a variable until it is executed.class
This is the same as XUnresolvedVariable, but it assumes that the context is already set up.Methods in org.apache.xalan.templates that return ExpressionModifier and TypeMethodDescriptionElemForEach.getExpression()
ElemForEach.getSelect()
Get the "select" attribute.Methods in org.apache.xalan.templates with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
ElemForEach.setExpression
(Expression exp) boolean
RedundentExprEliminator.visitPredicate
(ExpressionOwner owner, Expression pred) Visit a predicate within a location path. -
Uses of Expression in org.apache.xalan.transformer
Subclasses of Expression in org.apache.xalan.transformerModifier and TypeClassDescriptionclass
This class implements an optimized iterator for "key()" patterns, matching each node to the match attribute in one or more xsl:key declarations.class
This class filters nodes from a key iterator, according to whether or not the use value matches the ref value. -
Uses of Expression in org.apache.xpath
Methods in org.apache.xpath that return ExpressionModifier and TypeMethodDescriptionExpressionOwner.getExpression()
Get the raw Expression object that this class wraps.XPath.getExpression()
Get the raw Expression object that this class wraps.Methods in org.apache.xpath with parameters of type ExpressionModifier and TypeMethodDescriptionabstract boolean
Expression.deepEquals
(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.void
ExpressionOwner.setExpression
(Expression exp) Set the raw expression object for this object.void
XPath.setExpression
(Expression exp) Set the raw expression object for this object.boolean
XPathVisitor.visitPredicate
(ExpressionOwner owner, Expression pred) Visit a predicate within a location path.Constructors in org.apache.xpath with parameters of type Expression -
Uses of Expression in org.apache.xpath.axes
Subclasses of Expression in org.apache.xpath.axesModifier 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
class
Class to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context.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 invalid input: '<'a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath.class
This class treats a LocationPath as a filtered iteration over the tree, evaluating each node in a super axis traversal against the LocationPath interpreted as a match pattern.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.Methods in org.apache.xpath.axes that return ExpressionModifier and TypeMethodDescriptionAxesWalker.getExpression()
WalkingIterator.getExpression()
FilterExprIterator.getInnerExpression()
Get the inner contained expression of this filter.FilterExprIteratorSimple.getInnerExpression()
Get the inner contained expression of this filter.FilterExprWalker.getInnerExpression()
Get the inner contained expression of this filter.PredicatedNodeTest.getPredicate
(int index) Get a predicate expression at the given index.Methods in org.apache.xpath.axes with parameters of type ExpressionModifier and TypeMethodDescriptionboolean
AxesWalker.deepEquals
(Expression expr) boolean
DescendantIterator.deepEquals
(Expression expr) boolean
FilterExprIterator.deepEquals
(Expression expr) boolean
FilterExprIteratorSimple.deepEquals
(Expression expr) boolean
FilterExprWalker.deepEquals
(Expression expr) boolean
OneStepIterator.deepEquals
(Expression expr) boolean
OneStepIteratorForward.deepEquals
(Expression expr) boolean
PredicatedNodeTest.deepEquals
(Expression expr) boolean
UnionPathIterator.deepEquals
(Expression expr) boolean
WalkingIterator.deepEquals
(Expression expr) static XNodeSet
FilterExprIteratorSimple.executeFilterExpr
(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, int stackFrame, Expression expr) Execute the expression.void
AxesWalker.setExpression
(Expression exp) void
WalkingIterator.setExpression
(Expression exp) void
FilterExprIterator.setInnerExpression
(Expression expr) Set the inner contained expression of this filter.void
FilterExprIteratorSimple.setInnerExpression
(Expression expr) Set the inner contained expression of this filter.void
FilterExprWalker.setInnerExpression
(Expression expr) Set the inner contained expression of this filter.boolean
HasPositionalPredChecker.visitPredicate
(ExpressionOwner owner, Expression pred) Visit a predicate within a location path.Constructors in org.apache.xpath.axes with parameters of type ExpressionModifierConstructorDescriptionFilterExprIterator
(Expression expr) Create a FilterExprIterator object.Create a FilterExprIteratorSimple object. -
Uses of Expression in org.apache.xpath.compiler
Methods in org.apache.xpath.compiler that return ExpressionModifier and TypeMethodDescriptionCompiler.compile
(int opPos) Execute the XPath object from a given opcode position.Compiler.getCompiledPredicates
(int opPos) Compile a zero or more predicates for a given match pattern.Compiler.locationPath
(int opPos) Compile a location path.Compiler.locationPathPattern
(int opPos) Compile a location match pattern unit expression.Compiler.predicate
(int opPos) Compile a location step predicate expression. -
Uses of Expression in org.apache.xpath.functions
Subclasses of Expression in org.apache.xpath.functionsModifier 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 current() function.class
Execute the proprietary document-location() function, which returns a node set of documents.class
Execute the ExtElementAvailable() function.class
An object of this class represents an extension call expression.class
Execute the ExtFunctionAvailable() function.class
Execute the False() function.class
Execute the Floor() function.class
Execute the GenerateId() 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
Execute the SystemProperty() 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.class
Methods in org.apache.xpath.functions that return ExpressionModifier and TypeMethodDescriptionFuncExtFunction.getArg
(int n) Return the nth argument passed to the extension function.FunctionOneArg.getArg0()
Return the first argument passed to the function (at index 0).Function2Args.getArg1()
Return the second argument passed to the function (at index 1).Function3Args.getArg2()
Return the third argument passed to the function (at index 2).FunctionMultiArgs.getArgs()
Return an expression array containing arguments at index 3 or greater.FunctionOneArg.getExpression()
Methods in org.apache.xpath.functions with parameters of type ExpressionModifier and TypeMethodDescriptionboolean
Function.deepEquals
(Expression expr) boolean
Function2Args.deepEquals
(Expression expr) boolean
Function3Args.deepEquals
(Expression expr) boolean
FunctionMultiArgs.deepEquals
(Expression expr) boolean
FunctionOneArg.deepEquals
(Expression expr) void
FuncExtFunction.setArg
(Expression arg, int argNum) Set an argument expression for a function.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.void
FunctionOneArg.setExpression
(Expression exp) -
Uses of Expression in org.apache.xpath.objects
Subclasses of Expression in org.apache.xpath.objectsModifier 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 overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.class
This class represents an XPath null object, and is capable of converting the null 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 result tree fragment object, and is capable of converting the RTF to other types, such as a string.class
This class makes an select statement act like an result tree fragment.class
This class represents an XPath string object, and is capable of converting the string to other types, such as a number.class
This class will wrap a FastStringBuffer and allow forclass
This class will wrap a FastStringBuffer and allow forMethods in org.apache.xpath.objects with parameters of type ExpressionConstructors in org.apache.xpath.objects with parameters of type Expression -
Uses of Expression in org.apache.xpath.operations
Subclasses of Expression in org.apache.xpath.operationsModifier and TypeClassDescriptionclass
The 'and' operation expression executer.class
The 'boolean()' operation expression executer.class
The 'div' operation expression executer.class
The '=' operation expression executer.class
The '>' operation expression executer.class
The '>=' operation expression executer.class
The 'invalid input: '<'' operation expression executer.class
The 'invalid input: '<'=' operation expression executer.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
Deprecated.class
The 'string()' operation expression executer.class
The unary operation base class.class
The variable reference expression executer.class
This is a "smart" variable reference that is used in situations where an absolute path is optimized into a variable reference, but may be used in some situations where the document context may have changed.Methods in org.apache.xpath.operations that return ExpressionModifier and TypeMethodDescriptionOperation.getExpression()
UnaryOperation.getExpression()
Operation.getLeftOperand()
UnaryOperation.getOperand()
Operation.getRightOperand()
Methods in org.apache.xpath.operations with parameters of type ExpressionModifier and TypeMethodDescriptionboolean
Operation.deepEquals
(Expression expr) boolean
UnaryOperation.deepEquals
(Expression expr) boolean
Variable.deepEquals
(Expression expr) void
Operation.setExpression
(Expression exp) void
UnaryOperation.setExpression
(Expression exp) 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.apache.xpath.patterns
Subclasses of Expression in org.apache.xpath.patternsModifier 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.Methods in org.apache.xpath.patterns that return ExpressionModifier and TypeMethodDescriptionStepPattern.getExpression()
StepPattern.getPredicate
(int i) Get a predicate expression.StepPattern.getPredicates()
Set the list of predicate expressions for this pattern step.Methods in org.apache.xpath.patterns with parameters of type ExpressionModifier and TypeMethodDescriptionboolean
NodeTest.deepEquals
(Expression expr) boolean
StepPattern.deepEquals
(Expression expr) boolean
UnionPattern.deepEquals
(Expression expr) void
StepPattern.setExpression
(Expression exp) void
StepPattern.setPredicates
(Expression[] predicates) Set the predicates for this match pattern step.Constructors in org.apache.xpath.patterns with parameters of type ExpressionModifierConstructorDescriptionFunctionPattern
(Expression expr, int axis, int predaxis) Construct a FunctionPattern from aexpression
.