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.CoreOperationCompare
org.apache.commons.jxpath.ri.compiler.CoreOperationEqual
org.apache.commons.jxpath.ri.compiler.NameAttributeTest
Captures the
foo[@name=<em>expr</em>]
expression. These expressions are handled in a special way when applied to beans or maps.-
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.CoreOperation
ADD_PRECEDENCE, AND_PRECEDENCE, COMPARE_PRECEDENCE, MULTIPLY_PRECEDENCE, NEGATE_PRECEDENCE, OR_PRECEDENCE, RELATIONAL_EXPR_PRECEDENCE, UNION_PRECEDENCE
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression
NOT_A_NUMBER, ONE, ZERO
-
Constructor Summary
ConstructorsConstructorDescriptionNameAttributeTest
(Expression namePath, Expression nameValue) Constructs a new NameAttributeTest. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Implemented by subclasses and result is cached by isContextDependent()Gets the name test expression.Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperationEqual
getSymbol
Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperationCompare
computeValue, contains, equal, equal, findMatch, getPrecedence, isSymmetric
Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation
compute, toString
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Operation
getArguments
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression
isContextDependent, iterate, iteratePointers
-
Constructor Details
-
Method Details
-
computeContextDependent
Description copied from class:Expression
Implemented by subclasses and result is cached by isContextDependent()- Overrides:
computeContextDependent
in classOperation
- Returns:
- calculated context-dependentness as boolean
-
getNameTestExpression
Gets the name test expression.- Returns:
- Expression
-