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: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
    • Constructor Detail

      • NameAttributeTest

        public NameAttributeTest​(Expression namePath,
                                 Expression nameValue)
        Create a new NameAttributeTest.
        Parameters:
        namePath - Expression
        nameValue - Expression
    • Method Detail

      • getNameTestExpression

        public Expression getNameTestExpression()
        Get the name test expression.
        Returns:
        Expression
      • computeContextDependent

        public boolean computeContextDependent()
        Description copied from class: Expression
        Implemented by subclasses and result is cached by isContextDependent()
        Overrides:
        computeContextDependent in class Operation
        Returns:
        calculated context-dependentness as boolean