org.apache.commons.jxpath.ri.compiler
Class NameAttributeTest

java.lang.Object
  |
  +--org.apache.commons.jxpath.ri.compiler.Expression
        |
        +--org.apache.commons.jxpath.ri.compiler.Operation
              |
              +--org.apache.commons.jxpath.ri.compiler.CoreOperation
                    |
                    +--org.apache.commons.jxpath.ri.compiler.NameAttributeTest

public class NameAttributeTest
extends CoreOperation

Version:
$Revision: 1.1 $ $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
 
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Operation
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
NameAttributeTest(Expression namePath, Expression nameValue)
           
 
Method Summary
 boolean computeContextDependent()
          Implemented by subclasses and result is cached by isContextDependent()
 Expression getNameTestExpression()
           
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation
and, compute, computeValue, div, eq, equal, getArg1, getArg2, gt, gte, lt, lte, minus, minus, mod, mult, ne, or, sum, union
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Operation
getArguments
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression
getExpressionTypeCode, isContextDependent, iterate, iteratePointers, opCodeToString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameAttributeTest

public NameAttributeTest(Expression namePath,
                         Expression nameValue)
Method Detail

getNameTestExpression

public Expression getNameTestExpression()

computeContextDependent

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

Overrides:
computeContextDependent in class Operation
See Also:
Expression.computeContextDependent()


Copyright (c) 2001 - Apache Software Foundation