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 TypeClassDescriptionclassExecute the Doc() function.classExecute the FormatNumber() function.classExecute the Key() function.classAn instance of this class holds unto a variable until it is executed.classThis 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 TypeMethodDescriptionvoidElemForEach.setExpression(Expression exp) booleanRedundentExprEliminator.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 TypeClassDescriptionclassThis class implements an optimized iterator for "key()" patterns, matching each node to the match attribute in one or more xsl:key declarations.classThis 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 booleanExpression.deepEquals(Expression expr) Compare this object with another object and see if they are equal, include the sub heararchy.voidExpressionOwner.setExpression(Expression exp) Set the raw expression object for this object.voidXPath.setExpression(Expression exp) Set the raw expression object for this object.booleanXPathVisitor.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 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.classclassClass to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context.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 <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath.classThis 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.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.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 TypeMethodDescriptionbooleanAxesWalker.deepEquals(Expression expr) booleanDescendantIterator.deepEquals(Expression expr) booleanFilterExprIterator.deepEquals(Expression expr) booleanFilterExprIteratorSimple.deepEquals(Expression expr) booleanFilterExprWalker.deepEquals(Expression expr) booleanOneStepIterator.deepEquals(Expression expr) booleanOneStepIteratorForward.deepEquals(Expression expr) booleanPredicatedNodeTest.deepEquals(Expression expr) booleanUnionPathIterator.deepEquals(Expression expr) booleanWalkingIterator.deepEquals(Expression expr) static XNodeSetFilterExprIteratorSimple.executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, int stackFrame, Expression expr) Execute the expression.voidAxesWalker.setExpression(Expression exp) voidWalkingIterator.setExpression(Expression exp) voidFilterExprIterator.setInnerExpression(Expression expr) Set the inner contained expression of this filter.voidFilterExprIteratorSimple.setInnerExpression(Expression expr) Set the inner contained expression of this filter.voidFilterExprWalker.setInnerExpression(Expression expr) Set the inner contained expression of this filter.booleanHasPositionalPredChecker.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 TypeClassDescriptionclassExecute the Boolean() function.classExecute the Ceiling() function.classExecute the Concat() function.classExecute the Contains() function.classExecute the Count() function.classExecute the current() function.classExecute the proprietary document-location() function, which returns a node set of documents.classExecute the ExtElementAvailable() function.classAn object of this class represents an extension call expression.classExecute the ExtFunctionAvailable() function.classExecute the False() function.classExecute the Floor() function.classExecute the GenerateId() 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.classExecute the SystemProperty() 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.classMethods 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 TypeMethodDescriptionbooleanFunction.deepEquals(Expression expr) booleanFunction2Args.deepEquals(Expression expr) booleanFunction3Args.deepEquals(Expression expr) booleanFunctionMultiArgs.deepEquals(Expression expr) booleanFunctionOneArg.deepEquals(Expression expr) voidFuncExtFunction.setArg(Expression arg, int argNum) Set an argument expression for a function.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.voidFunctionOneArg.setExpression(Expression exp) -
Uses of Expression in org.apache.xpath.objects
Subclasses of Expression in org.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 overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.classThis class represents an XPath null object, and is capable of converting the null 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 result tree fragment object, and is capable of converting the RTF to other types, such as a string.classThis class makes an select statement act like an result tree fragment.classThis class represents an XPath string object, and is capable of converting the string to other types, such as a number.classThis class will wrap a FastStringBuffer and allow forclassThis 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 TypeClassDescriptionclassThe 'and' operation expression executer.classThe 'boolean()' operation expression executer.classThe 'div' operation expression executer.classThe '=' operation expression executer.classThe '>' operation expression executer.classThe '>=' operation expression executer.classThe '<' operation expression executer.classThe '<=' operation expression executer.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.classDeprecated.classThe 'string()' operation expression executer.classThe unary operation base class.classThe variable reference expression executer.classThis 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 TypeMethodDescriptionbooleanOperation.deepEquals(Expression expr) booleanUnaryOperation.deepEquals(Expression expr) booleanVariable.deepEquals(Expression expr) voidOperation.setExpression(Expression exp) voidUnaryOperation.setExpression(Expression exp) 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.apache.xpath.patterns
Subclasses of Expression in org.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.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 TypeMethodDescriptionbooleanNodeTest.deepEquals(Expression expr) booleanStepPattern.deepEquals(Expression expr) booleanUnionPattern.deepEquals(Expression expr) voidStepPattern.setExpression(Expression exp) voidStepPattern.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.