org.apache.commons.jxpath.ri.compiler

Class NameAttributeTest


public class NameAttributeTest
extends CoreOperationEqual

Captures the foo[@name=expr] expression. These expressions are handled in a special way when applied to beans or maps.
Version:
$Revision: 1.5 $ $Date: 2004/02/29 14:17:39 $
Author:
Dmitri Plotnikov

Nested Class Summary

Nested classes/interfaces 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

NOT_A_NUMBER, ONE, ZERO

Constructor Summary

NameAttributeTest(Expression namePath, Expression nameValue)

Method Summary

boolean
computeContextDependent()
Expression
getNameTestExpression()

Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperationEqual

computeValue, getPrecedence, getSymbol, isSymmetric

Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperationCompare

contains, equal, equal, findMatch

Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation

compute, computeValue, getPrecedence, getSymbol, isSymmetric, toString

Methods inherited from class org.apache.commons.jxpath.ri.compiler.Operation

computeContextDependent, getArguments

Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression

compute, computeContextDependent, computeValue, isContextDependent, iterate, iteratePointers

Constructor Details

NameAttributeTest

public NameAttributeTest(Expression namePath,
                         Expression nameValue)

Method Details

computeContextDependent

public boolean computeContextDependent()
Overrides:
computeContextDependent in interface Operation

getNameTestExpression

public Expression getNameTestExpression()