|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
---|---|
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.xpath |
---|
Fields in org.apache.xpath declared as Expression | |
---|---|
private Expression |
XPath.m_mainExp
The top of the expression tree. |
Methods in org.apache.xpath that return Expression | |
---|---|
Expression |
XPath.getExpression()
Get the raw Expression object that this class wraps. |
Expression |
ExpressionOwner.getExpression()
Get the raw Expression object that this class wraps. |
Methods in org.apache.xpath with parameters of type Expression | |
---|---|
abstract boolean |
Expression.deepEquals(Expression expr)
Compare this object with another object and see if they are equal, include the sub heararchy. |
protected boolean |
Expression.isSameClass(Expression expr)
This is a utility method to tell if the passed in class is the same class as this. |
void |
XPath.setExpression(Expression exp)
Set the raw expression object for this object. |
void |
ExpressionOwner.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 | |
---|---|
XPath(Expression expr)
Construct an XPath object. |
Uses of Expression in org.apache.xpath.axes |
---|
Subclasses of Expression in org.apache.xpath.axes | |||
---|---|---|---|
class |
AttributeIterator
This class implements an optimized iterator for attribute axes patterns. |
||
class |
AxesWalker
Serves as common interface for axes Walkers, and stores common state variables. |
||
class |
BasicTestIterator
Base for iterators that handle predicates. |
||
class |
ChildIterator
This class implements an optimized iterator for "node()" patterns, that is, any children of the context node. |
||
class |
ChildTestIterator
This class implements an optimized iterator for children patterns that have a node test, and possibly a predicate. |
||
class |
DescendantIterator
This class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns. |
||
class |
FilterExprIterator
|
||
class |
FilterExprIteratorSimple
Class to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context. |
||
class |
FilterExprWalker
Walker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP, op codes. |
||
class |
LocPathIterator
This class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPath |
class |
MatchPatternIterator
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 |
NodeSequence
This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities. |
||
class |
OneStepIterator
This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate. |
||
class |
OneStepIteratorForward
This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e. |
||
class |
PredicatedNodeTest
|
||
class |
ReverseAxesWalker
Walker for a reverse axes. |
||
class |
SelfIteratorNoPredicate
This class implements an optimized iterator for "." patterns, that is, the self axes without any predicates. |
||
class |
UnionChildIterator
This class defines a simplified type of union iterator that only tests along the child axes. |
||
class |
UnionPathIterator
This class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr. |
||
class |
WalkingIterator
Location path iterator that uses Walkers. |
||
class |
WalkingIteratorSorted
This class iterates over set of nodes that needs to be sorted. |
Fields in org.apache.xpath.axes declared as Expression | |
---|---|
private Expression |
FilterExprWalker.m_expr
The contained expression. |
private Expression |
FilterExprIteratorSimple.m_expr
The contained expression. |
private Expression |
FilterExprIterator.m_expr
The contained expression. |
private Expression[] |
PredicatedNodeTest.m_predicates
The list of predicate expressions. |
Methods in org.apache.xpath.axes that return Expression | |
---|---|
Expression |
WalkingIterator.getExpression()
|
Expression |
UnionPathIterator.iterOwner.getExpression()
|
Expression |
PredicatedNodeTest.PredOwner.getExpression()
|
Expression |
FilterExprWalker.filterExprOwner.getExpression()
|
Expression |
FilterExprIteratorSimple.filterExprOwner.getExpression()
|
Expression |
FilterExprIterator.filterExprOwner.getExpression()
|
Expression |
AxesWalker.getExpression()
|
Expression |
FilterExprWalker.getInnerExpression()
Get the inner contained expression of this filter. |
Expression |
FilterExprIteratorSimple.getInnerExpression()
Get the inner contained expression of this filter. |
Expression |
FilterExprIterator.getInnerExpression()
Get the inner contained expression of this filter. |
Expression |
PredicatedNodeTest.getPredicate(int index)
Get a predicate expression at the given index. |
Methods in org.apache.xpath.axes with parameters of type Expression | |
---|---|
boolean |
WalkingIterator.deepEquals(Expression expr)
|
boolean |
UnionPathIterator.deepEquals(Expression expr)
|
boolean |
PredicatedNodeTest.deepEquals(Expression expr)
|
boolean |
OneStepIteratorForward.deepEquals(Expression expr)
|
boolean |
OneStepIterator.deepEquals(Expression expr)
|
boolean |
FilterExprWalker.deepEquals(Expression expr)
|
boolean |
FilterExprIteratorSimple.deepEquals(Expression expr)
|
boolean |
FilterExprIterator.deepEquals(Expression expr)
|
boolean |
DescendantIterator.deepEquals(Expression expr)
|
boolean |
AxesWalker.deepEquals(Expression expr)
|
static XNodeSet |
FilterExprIteratorSimple.executeFilterExpr(int context,
XPathContext xctxt,
PrefixResolver prefixResolver,
boolean isTopLevel,
int stackFrame,
Expression expr)
Execute the expression. |
void |
WalkingIterator.setExpression(Expression exp)
|
void |
UnionPathIterator.iterOwner.setExpression(Expression exp)
|
void |
PredicatedNodeTest.PredOwner.setExpression(Expression exp)
|
void |
FilterExprWalker.filterExprOwner.setExpression(Expression exp)
|
void |
FilterExprIteratorSimple.filterExprOwner.setExpression(Expression exp)
|
void |
FilterExprIterator.filterExprOwner.setExpression(Expression exp)
|
void |
AxesWalker.setExpression(Expression exp)
|
void |
FilterExprWalker.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 |
FilterExprIterator.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 Expression | |
---|---|
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 | |
---|---|
protected 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. |
Expression |
Compiler.compile(int opPos)
Execute the XPath object from a given opcode position. |
private Expression |
Compiler.compileExtension(int opPos)
Compile an extension function. |
(package private) Expression |
Compiler.compileFunction(int opPos)
Compile a built-in XPath function. |
private Expression |
Compiler.compileOperation(Operation operation,
int opPos)
Bottle-neck compilation of an operation with left and right operands. |
private Expression |
Compiler.compileUnary(UnaryOperation unary,
int opPos)
Bottle-neck compilation of a unary operation. |
protected Expression |
Compiler.div(int opPos)
Compile a 'div' operation. |
protected Expression |
Compiler.equals(int opPos)
Compile a '=' operation. |
Expression[] |
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. |
Expression |
Compiler.locationPath(int opPos)
Compile a location path. |
Expression |
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 opPos)
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 '!=' operation. |
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. |
Expression |
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. |
protected Expression |
Compiler.variable(int opPos)
Compile a variable reference. |
Methods in org.apache.xpath.compiler with parameters of type Expression | |
---|---|
private void |
Compiler.compilePredicates(int opPos,
Expression[] predicates)
Compiles predicates in the step. |
Uses of Expression in org.apache.xpath.functions |
---|
Subclasses of Expression in org.apache.xpath.functions | |
---|---|
class |
FuncBoolean
Execute the Boolean() function. |
class |
FuncCeiling
Execute the Ceiling() function. |
class |
FuncConcat
Execute the Concat() function. |
class |
FuncContains
Execute the Contains() function. |
class |
FuncCount
Execute the Count() function. |
class |
FuncCurrent
Execute the current() function. |
class |
FuncDoclocation
Execute the proprietary document-location() function, which returns a node set of documents. |
class |
FuncExtElementAvailable
Execute the ExtElementAvailable() function. |
class |
FuncExtFunction
An object of this class represents an extension call expression. |
class |
FuncExtFunctionAvailable
Execute the ExtFunctionAvailable() function. |
class |
FuncFalse
Execute the False() function. |
class |
FuncFloor
Execute the Floor() function. |
class |
FuncGenerateId
Execute the GenerateId() function. |
class |
FuncId
Execute the Id() function. |
class |
FuncLang
Execute the Lang() function. |
class |
FuncLast
Execute the Last() function. |
class |
FuncLocalPart
Execute the LocalPart() function. |
class |
FuncNamespace
Execute the Namespace() function. |
class |
FuncNormalizeSpace
Execute the normalize-space() function. |
class |
FuncNot
Execute the Not() function. |
class |
FuncNumber
Execute the Number() function. |
class |
FuncPosition
Execute the Position() function. |
class |
FuncQname
Execute the Qname() function. |
class |
FuncRound
Execute the round() function. |
class |
FuncStartsWith
Execute the StartsWith() function. |
class |
FuncString
Execute the String() function. |
class |
FuncStringLength
Execute the StringLength() function. |
class |
FuncSubstring
Execute the Substring() function. |
class |
FuncSubstringAfter
Execute the SubstringAfter() function. |
class |
FuncSubstringBefore
Execute the SubstringBefore() function. |
class |
FuncSum
Execute the Sum() function. |
class |
FuncSystemProperty
Execute the SystemProperty() function. |
class |
Function
This is a superclass of all XPath functions. |
class |
Function2Args
Base class for functions that accept two arguments. |
class |
Function3Args
Base class for functions that accept three arguments. |
class |
FunctionDef1Arg
Base class for functions that accept one argument that can be defaulted if not specified. |
class |
FunctionMultiArgs
Base class for functions that accept an undetermined number of multiple arguments. |
class |
FunctionOneArg
Base class for functions that accept one argument. |
class |
FuncTranslate
Execute the Translate() function. |
class |
FuncTrue
Execute the True() function. |
class |
FuncUnparsedEntityURI
|
Fields in org.apache.xpath.functions declared as Expression | |
---|---|
(package private) Expression |
FunctionOneArg.m_arg0
The first argument passed to the function (at index 0). |
(package private) Expression |
Function2Args.m_arg1
The second argument passed to the function (at index 1). |
(package private) Expression |
Function3Args.m_arg2
The third argument passed to the function (at index 2). |
(package private) Expression[] |
FunctionMultiArgs.m_args
Argument expressions that are at index 3 or greater. |
(package private) Expression |
FuncExtFunction.ArgExtOwner.m_exp
|
Methods in org.apache.xpath.functions that return Expression | |
---|---|
Expression |
FuncExtFunction.getArg(int n)
Return the nth argument passed to the extension function. |
Expression |
FunctionOneArg.getArg0()
Return the first argument passed to the function (at index 0). |
Expression |
Function2Args.getArg1()
Return the second argument passed to the function (at index 1). |
Expression |
Function3Args.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. |
Expression |
FunctionOneArg.getExpression()
|
Expression |
FunctionMultiArgs.ArgMultiOwner.getExpression()
|
Expression |
Function3Args.Arg2Owner.getExpression()
|
Expression |
Function2Args.Arg1Owner.getExpression()
|
Expression |
FuncExtFunction.ArgExtOwner.getExpression()
|
Methods in org.apache.xpath.functions with parameters of type Expression | |
---|---|
boolean |
FunctionOneArg.deepEquals(Expression expr)
|
boolean |
FunctionMultiArgs.deepEquals(Expression expr)
|
boolean |
Function3Args.deepEquals(Expression expr)
|
boolean |
Function2Args.deepEquals(Expression expr)
|
boolean |
Function.deepEquals(Expression expr)
|
void |
FunctionOneArg.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 |
Function3Args.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 |
Function.setArg(Expression arg,
int argNum)
Set an argument expression for a function. |
void |
FuncExtFunction.setArg(Expression arg,
int argNum)
Set an argument expression for a function. |
void |
FunctionOneArg.setExpression(Expression exp)
|
void |
FunctionMultiArgs.ArgMultiOwner.setExpression(Expression exp)
|
void |
Function3Args.Arg2Owner.setExpression(Expression exp)
|
void |
Function2Args.Arg1Owner.setExpression(Expression exp)
|
void |
FuncExtFunction.ArgExtOwner.setExpression(Expression exp)
|
Constructors in org.apache.xpath.functions with parameters of type Expression | |
---|---|
FuncExtFunction.ArgExtOwner(Expression exp)
|
Uses of Expression in org.apache.xpath.objects |
---|
Subclasses of Expression in org.apache.xpath.objects | |
---|---|
class |
XBoolean
This class represents an XPath boolean object, and is capable of converting the boolean to other types, such as a string. |
class |
XBooleanStatic
This class doesn't have any XPathContext, so override whatever to ensure it works OK. |
class |
XNodeSet
This class represents an XPath nodeset object, and is capable of converting the nodeset to other types, such as a string. |
class |
XNodeSetForDOM
This class overrides the XNodeSet#object() method to provide the original Node object, NodeList object, or NodeIterator. |
class |
XNull
This class represents an XPath null object, and is capable of converting the null to other types, such as a string. |
class |
XNumber
This class represents an XPath number, and is capable of converting the number to other types, such as a string. |
class |
XObject
This class represents an XPath object, and is capable of converting the object to various types, such as a string. |
class |
XRTreeFrag
This class represents an XPath result tree fragment object, and is capable of converting the RTF to other types, such as a string. |
class |
XRTreeFragSelectWrapper
This class makes an select statement act like an result tree fragment. |
class |
XString
This class represents an XPath string object, and is capable of converting the string to other types, such as a number. |
class |
XStringForChars
This class will wrap a FastStringBuffer and allow for |
class |
XStringForFSB
This class will wrap a FastStringBuffer and allow for |
Methods in org.apache.xpath.objects with parameters of type Expression | |
---|---|
boolean |
XObject.deepEquals(Expression expr)
|
Constructors in org.apache.xpath.objects with parameters of type Expression | |
---|---|
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 | |
---|---|
class |
And
The 'and' operation expression executer. |
class |
Bool
The 'boolean()' operation expression executer. |
class |
Div
The 'div' operation expression executer. |
class |
Equals
The '=' operation expression executer. |
class |
Gt
The '>' operation expression executer. |
class |
Gte
The '>=' operation expression executer. |
class |
Lt
The '<' operation expression executer. |
class |
Lte
The '<=' operation expression executer. |
class |
Minus
The binary '-' operation expression executer. |
class |
Mod
The 'mod' operation expression executer. |
class |
Mult
The '*' operation expression executer. |
class |
Neg
The unary '-' operation expression executer. |
class |
NotEquals
The '!=' operation expression executer. |
class |
Number
The 'number()' operation expression executer. |
class |
Operation
The baseclass for a binary operation. |
class |
Or
The 'or' operation expression executer. |
class |
Plus
The '+' operation expression executer. |
class |
Quo
Deprecated. |
class |
String
The 'string()' operation expression executer. |
class |
UnaryOperation
The unary operation base class. |
class |
Variable
The variable reference expression executer. |
class |
VariableSafeAbsRef
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. |
Fields in org.apache.xpath.operations declared as Expression | |
---|---|
protected Expression |
Operation.m_left
The left operand expression. |
protected Expression |
UnaryOperation.m_right
The operand for the operation. |
protected Expression |
Operation.m_right
The right operand expression. |
Methods in org.apache.xpath.operations that return Expression | |
---|---|
Expression |
UnaryOperation.getExpression()
|
Expression |
Operation.getExpression()
|
Expression |
Operation.LeftExprOwner.getExpression()
|
Expression |
Operation.getLeftOperand()
|
Expression |
UnaryOperation.getOperand()
|
Expression |
Operation.getRightOperand()
|
Methods in org.apache.xpath.operations with parameters of type Expression | |
---|---|
boolean |
Variable.deepEquals(Expression expr)
|
boolean |
UnaryOperation.deepEquals(Expression expr)
|
boolean |
Operation.deepEquals(Expression expr)
|
void |
UnaryOperation.setExpression(Expression exp)
|
void |
Operation.setExpression(Expression exp)
|
void |
Operation.LeftExprOwner.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.patterns | |
---|---|
class |
ContextMatchStepPattern
Special context node pattern matcher. |
class |
FunctionPattern
Match pattern step that contains a function. |
class |
NodeTest
This is the basic node test class for both match patterns and location path steps. |
class |
StepPattern
This class represents a single pattern match step. |
class |
UnionPattern
This class represents a union pattern, which can have multiple individual StepPattern patterns. |
Fields in org.apache.xpath.patterns declared as Expression | |
---|---|
(package private) Expression |
FunctionPattern.m_functionExpr
Should be a expression . |
(package private) Expression[] |
StepPattern.m_predicates
The list of predicate expressions for this pattern step. |
Methods in org.apache.xpath.patterns that return Expression | |
---|---|
Expression |
UnionPattern.UnionPathPartOwner.getExpression()
|
Expression |
StepPattern.getExpression()
|
Expression |
StepPattern.PredOwner.getExpression()
|
Expression |
FunctionPattern.FunctionOwner.getExpression()
|
Expression |
StepPattern.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 | |
---|---|
boolean |
UnionPattern.deepEquals(Expression expr)
|
boolean |
StepPattern.deepEquals(Expression expr)
|
boolean |
NodeTest.deepEquals(Expression expr)
|
void |
UnionPattern.UnionPathPartOwner.setExpression(Expression exp)
|
void |
StepPattern.setExpression(Expression exp)
|
void |
StepPattern.PredOwner.setExpression(Expression exp)
|
void |
FunctionPattern.FunctionOwner.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 Expression | |
---|---|
FunctionPattern(Expression expr,
int axis,
int predaxis)
Construct a FunctionPattern from a expression . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |