Uses of Class
org.apache.xpath.Expression
| Package | Description |
|---|---|
| org.apache.xalan.templates |
Implements the
Templates interface,
and defines a set of classes that represent an XSLT stylesheet. |
| org.apache.xalan.transformer |
In charge of run-time transformations and the production of result trees.
|
| org.apache.xpath |
Implementation of XPath; for the most part, only classes meant for public use are
found at this root level of the XPath packages.
|
| org.apache.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| org.apache.xpath.compiler |
Implements an XPath parser which produces an OpMap, and a so-called Compiler
which produces an expression tree for fast evaluation.
|
| org.apache.xpath.functions |
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.
|
| org.apache.xpath.objects |
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
|
| org.apache.xpath.operations |
Support for XPath operations, such as +, -, string(), etc.
|
| org.apache.xpath.patterns |
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.templates Modifier and Type Class Description classFuncDocumentExecute the Doc() function.classFuncFormatNumbExecute the FormatNumber() function.classFuncKeyExecute the Key() function.classXUnresolvedVariableAn instance of this class holds unto a variable until it is executed.classXUnresolvedVariableSimpleThis is the same as XUnresolvedVariable, but it assumes that the context is already set up.Fields in org.apache.xalan.templates declared as Expression Modifier and Type Field Description protected ExpressionElemForEach. m_selectExpressionThe "select" expression.Methods in org.apache.xalan.templates that return Expression Modifier and Type Method Description ExpressionElemForEach. getExpression()ExpressionElemForEach. getSelect()Get the "select" attribute.Methods in org.apache.xalan.templates with parameters of type Expression Modifier and Type Method Description protected voidRedundentExprEliminator. diagnoseLineNumber(Expression expr)Tell what line number belongs to a given expression.protected ElemTemplateElementRedundentExprEliminator. getElemFromExpression(Expression expr)From an XPath expression component, get the ElemTemplateElement owner.voidElemForEach. 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.transformer Modifier and Type Class Description classKeyIteratorThis class implements an optimized iterator for "key()" patterns, matching each node to the match attribute in one or more xsl:key declarations. -
Uses of Expression in org.apache.xpath
Methods in org.apache.xpath that return Expression Modifier and Type Method Description ExpressionExpressionOwner. getExpression()Get the raw Expression object that this class wraps.ExpressionXPath. getExpression()Get the raw Expression object that this class wraps.Methods in org.apache.xpath with parameters of type Expression Modifier and Type Method Description abstract booleanExpression. deepEquals(Expression expr)Compare this object with another object and see if they are equal, include the sub heararchy.protected booleanExpression. isSameClass(Expression expr)This is a utility method to tell if the passed in class is the same class as this.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 Constructor Description XPath(Expression expr)Construct an XPath object. -
Uses of Expression in org.apache.xpath.axes
Subclasses of Expression in org.apache.xpath.axes Modifier and Type Class Description classAttributeIteratorThis class implements an optimized iterator for attribute axes patterns.classAxesWalkerServes as common interface for axes Walkers, and stores common state variables.classBasicTestIteratorBase for iterators that handle predicates.classChildIteratorThis class implements an optimized iterator for "node()" patterns, that is, any children of the context node.classChildTestIteratorThis class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.classDescendantIteratorThis class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.classFilterExprIteratorclassFilterExprIteratorSimpleClass to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context.classFilterExprWalkerWalker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP, op codes.classLocPathIteratorThis class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPathclassMatchPatternIteratorThis 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.classNodeSequenceThis class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.classOneStepIteratorThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.classOneStepIteratorForwardThis class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e.classPredicatedNodeTestclassReverseAxesWalkerWalker for a reverse axes.classSelfIteratorNoPredicateThis class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.classUnionChildIteratorThis class defines a simplified type of union iterator that only tests along the child axes.classUnionPathIteratorThis class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.classWalkingIteratorLocation path iterator that uses Walkers.classWalkingIteratorSortedThis class iterates over set of nodes that needs to be sorted.Methods in org.apache.xpath.axes that return Expression Modifier and Type Method Description ExpressionAxesWalker. getExpression()ExpressionWalkingIterator. getExpression()ExpressionFilterExprIterator. getInnerExpression()Get the inner contained expression of this filter.ExpressionFilterExprIteratorSimple. getInnerExpression()Get the inner contained expression of this filter.ExpressionFilterExprWalker. getInnerExpression()Get the inner contained expression of this filter.ExpressionPredicatedNodeTest. getPredicate(int index)Get a predicate expression at the given index.Methods in org.apache.xpath.axes with parameters of type Expression Modifier and Type Method Description booleanAxesWalker. 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 Expression Constructor Description FilterExprIterator(Expression expr)Create a FilterExprIterator object.FilterExprIteratorSimple(Expression expr)Create a FilterExprIteratorSimple object. -
Uses of Expression in org.apache.xpath.compiler
Methods in org.apache.xpath.compiler that return Expression Modifier and Type Method Description protected 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.ExpressionCompiler. 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.Expression[]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.ExpressionCompiler. locationPath(int opPos)Compile a location path.ExpressionCompiler. 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 opPos)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 '!=' operation.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.ExpressionCompiler. 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.protected ExpressionCompiler. variable(int opPos)Compile a variable reference. -
Uses of Expression in org.apache.xpath.functions
Subclasses of Expression in org.apache.xpath.functions Modifier and Type Class Description classFuncBooleanExecute the Boolean() function.classFuncCeilingExecute the Ceiling() function.classFuncConcatExecute the Concat() function.classFuncContainsExecute the Contains() function.classFuncCountExecute the Count() function.classFuncCurrentExecute the current() function.classFuncDoclocationExecute the proprietary document-location() function, which returns a node set of documents.classFuncExtElementAvailableExecute the ExtElementAvailable() function.classFuncExtFunctionAn object of this class represents an extension call expression.classFuncExtFunctionAvailableExecute the ExtFunctionAvailable() function.classFuncFalseExecute the False() function.classFuncFloorExecute the Floor() function.classFuncGenerateIdExecute the GenerateId() function.classFuncIdExecute the Id() function.classFuncLangExecute the Lang() function.classFuncLastExecute the Last() function.classFuncLocalPartExecute the LocalPart() function.classFuncNamespaceExecute the Namespace() function.classFuncNormalizeSpaceExecute the normalize-space() function.classFuncNotExecute the Not() function.classFuncNumberExecute the Number() function.classFuncPositionExecute the Position() function.classFuncQnameExecute the Qname() function.classFuncRoundExecute the round() function.classFuncStartsWithExecute the StartsWith() function.classFuncStringExecute the String() function.classFuncStringLengthExecute the StringLength() function.classFuncSubstringExecute the Substring() function.classFuncSubstringAfterExecute the SubstringAfter() function.classFuncSubstringBeforeExecute the SubstringBefore() function.classFuncSumExecute the Sum() function.classFuncSystemPropertyExecute the SystemProperty() function.classFunctionThis is a superclass of all XPath functions.classFunction2ArgsBase class for functions that accept two arguments.classFunction3ArgsBase class for functions that accept three arguments.classFunctionDef1ArgBase class for functions that accept one argument that can be defaulted if not specified.classFunctionMultiArgsBase class for functions that accept an undetermined number of multiple arguments.classFunctionOneArgBase class for functions that accept one argument.classFuncTranslateExecute the Translate() function.classFuncTrueExecute the True() function.classFuncUnparsedEntityURIMethods in org.apache.xpath.functions that return Expression Modifier and Type Method Description ExpressionFuncExtFunction. getArg(int n)Return the nth argument passed to the extension function.ExpressionFunctionOneArg. getArg0()Return the first argument passed to the function (at index 0).ExpressionFunction2Args. getArg1()Return the second argument passed to the function (at index 1).ExpressionFunction3Args. getArg2()Return the third argument passed to the function (at index 2).Expression[]FunctionMultiArgs. getArgs()Return an expression array containing arguments at index 3 or greater.ExpressionFunctionOneArg. getExpression()Methods in org.apache.xpath.functions with parameters of type Expression Modifier and Type Method Description booleanFunction. 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.objects Modifier and Type Class Description classXBooleanThis class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string.classXBooleanStaticThis class doesn't have any XPathContext, so override whatever to ensure it works OK.classXNodeSetThis class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string.classXNodeSetForDOMThis class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator.classXNullThis class represents an XPath null object, and is capable of converting the null to other types, such as a string.classXNumberThis class represents an XPath number, and is capable of converting the number to other types, such as a string.classXObjectThis class represents an XPath object, and is capable of converting the object to various types, such as a string.classXRTreeFragThis class represents an XPath result tree fragment object, and is capable of converting the RTF to other types, such as a string.classXRTreeFragSelectWrapperThis class makes an select statement act like an result tree fragment.classXStringThis class represents an XPath string object, and is capable of converting the string to other types, such as a number.classXStringForCharsThis class will wrap a FastStringBuffer and allow forclassXStringForFSBThis class will wrap a FastStringBuffer and allow forMethods in org.apache.xpath.objects with parameters of type Expression Modifier and Type Method Description booleanXObject. deepEquals(Expression expr)Constructors in org.apache.xpath.objects with parameters of type Expression Constructor Description XRTreeFrag(Expression expr)Create an XRTreeFrag Object.XRTreeFragSelectWrapper(Expression expr) -
Uses of Expression in org.apache.xpath.operations
Subclasses of Expression in org.apache.xpath.operations Modifier and Type Class Description classAndThe 'and' operation expression executer.classBoolThe 'boolean()' operation expression executer.classDivThe 'div' operation expression executer.classEqualsThe '=' operation expression executer.classGtThe '>' operation expression executer.classGteThe '>=' operation expression executer.classLtThe '<' operation expression executer.classLteThe '<=' operation expression executer.classMinusThe binary '-' operation expression executer.classModThe 'mod' operation expression executer.classMultThe '*' operation expression executer.classNegThe unary '-' operation expression executer.classNotEqualsThe '!=' operation expression executer.classNumberThe 'number()' operation expression executer.classOperationThe baseclass for a binary operation.classOrThe 'or' operation expression executer.classPlusThe '+' operation expression executer.classQuoDeprecated.classStringThe 'string()' operation expression executer.classUnaryOperationThe unary operation base class.classVariableThe variable reference expression executer.classVariableSafeAbsRefThis 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.Fields in org.apache.xpath.operations declared as Expression Modifier and Type Field Description protected ExpressionOperation. m_leftThe left operand expression.protected ExpressionOperation. m_rightThe right operand expression.protected ExpressionUnaryOperation. m_rightThe operand for the operation.Methods in org.apache.xpath.operations that return Expression Modifier and Type Method Description ExpressionOperation. getExpression()ExpressionUnaryOperation. getExpression()ExpressionOperation. getLeftOperand()ExpressionUnaryOperation. getOperand()ExpressionOperation. getRightOperand()Methods in org.apache.xpath.operations with parameters of type Expression Modifier and Type Method Description booleanOperation. 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.patterns Modifier and Type Class Description classContextMatchStepPatternSpecial context node pattern matcher.classFunctionPatternMatch pattern step that contains a function.classNodeTestThis is the basic node test class for both match patterns and location path steps.classStepPatternThis class represents a single pattern match step.classUnionPatternThis class represents a union pattern, which can have multiple individual StepPattern patterns.Methods in org.apache.xpath.patterns that return Expression Modifier and Type Method Description ExpressionStepPattern. getExpression()ExpressionStepPattern. getPredicate(int i)Get a predicate expression.Expression[]StepPattern. getPredicates()Set the list of predicate expressions for this pattern step.Methods in org.apache.xpath.patterns with parameters of type Expression Modifier and Type Method Description booleanNodeTest. 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 Expression Constructor Description FunctionPattern(Expression expr, int axis, int predaxis)Construct a FunctionPattern from aexpression.