Class Operation
java.lang.Object
org.apache.commons.jxpath.ri.compiler.Expression
org.apache.commons.jxpath.ri.compiler.Operation
- Direct Known Subclasses:
CoreFunction
,CoreOperation
,ExtensionFunction
- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.jxpath.ri.compiler.Expression
Expression.PointerIterator, Expression.ValueIterator
-
Field Summary
FieldsFields inherited from class org.apache.commons.jxpath.ri.compiler.Expression
NOT_A_NUMBER, ONE, ZERO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Implemented by subclasses and result is cached by isContextDependent()Get the arguments.Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression
compute, computeValue, isContextDependent, iterate, iteratePointers
-
Field Details
-
args
Expression[] of arguments
-
-
Constructor Details
-
Operation
Create a new Operation.- Parameters:
args
- Expression[]
-
-
Method Details
-
getArguments
Get the arguments.- Returns:
- Expression[]
-
computeContextDependent
public boolean computeContextDependent()Description copied from class:Expression
Implemented by subclasses and result is cached by isContextDependent()- Specified by:
computeContextDependent
in classExpression
- Returns:
- calculated context-dependentness as boolean
-