org.apache.tiles.core.evaluator

## Class AbstractAttributeEvaluator

- java.lang.Object
- - org.apache.tiles.core.evaluator.AbstractAttributeEvaluator

- All Implemented Interfaces:
    AttributeEvaluator
  Direct Known Subclasses:
    DirectAttributeEvaluator, ELAttributeEvaluator, I18NAttributeEvaluator, OGNLAttributeEvaluator, StrutsAttributeEvaluator

      public abstract class AbstractAttributeEvaluator
      extends Object
      implements AttributeEvaluator

  Abstract class to link a correct evaluation of an attribute, by evaluating `Attribute.getValue()` and then `Attribute.getExpressionObject()`.
  Since:
    2.1.2

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractAttributeEvaluator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `evaluate(Attribute attribute, Request request)` Evaluates an attribute value.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.tiles.core.evaluator.AttributeEvaluator

      `evaluate`

- - ### Constructor Detail

    - #### AbstractAttributeEvaluator

          public AbstractAttributeEvaluator()

  - ### Method Detail

    - #### evaluate

          public Object evaluate(Attribute attribute,
                                 Request request)

      Evaluates an attribute value.
      Specified by:
        `evaluate` in interface `AttributeEvaluator`
      Parameters:
        `attribute` - The attribute to evaluate.
        `request` - The request object.
      Returns:
        The evaluated object.

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.