org.apache.commons.jxpath.ri.compiler
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

public abstract class Operation
extends Expression

Version:
$Revision: 1.3 $ $Date: 2002/05/08 00:39:59 $
Author:
Dmitri Plotnikov

Nested Class Summary
 
Nested classes inherited from class org.apache.commons.jxpath.ri.compiler.Expression
Expression.PointerIterator, Expression.ValueIterator
 
Field Summary
protected  Expression[] args
           
 
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression
NaN, ONE, OP_AND, OP_CONSTANT, OP_CORE_FUNCTION, OP_DIV, OP_EQ, OP_EXPRESSION_PATH, OP_FUNCTION, OP_GT, OP_GTE, OP_KEY_LOOKUP, OP_LOCATION_PATH, OP_LT, OP_LTE, OP_MINUS, OP_MOD, OP_MULT, OP_NE, OP_OR, OP_STEP, OP_SUM, OP_UNARY_MINUS, OP_UNION, OP_VAR, ZERO
 
Constructor Summary
Operation(int code, Expression[] args)
           
 
Method Summary
 boolean computeContextDependent()
          Implemented by subclasses and result is cached by isContextDependent()
 Expression[] getArguments()
           
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression
compute, computeValue, getExpressionTypeCode, isContextDependent, iterate, iteratePointers, opCodeToString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

args

protected Expression[] args
Constructor Detail

Operation

public Operation(int code,
                 Expression[] args)
Method Detail

getArguments

public Expression[] getArguments()
Overrides:
getArguments in class Expression

computeContextDependent

public boolean computeContextDependent()
Description copied from class: Expression
Implemented by subclasses and result is cached by isContextDependent()

Specified by:
computeContextDependent in class Expression


Copyright (c) 2001 - Apache Software Foundation