org.apache.tiles.core.evaluator

## Interface AttributeEvaluator

- All Known Implementing Classes:
    AbstractAttributeEvaluator, DirectAttributeEvaluator, ELAttributeEvaluator, I18NAttributeEvaluator, OGNLAttributeEvaluator, StrutsAttributeEvaluator

      public interface AttributeEvaluator

  It represents an object that resolves a string to return an object.
  Since:
    2.1.0

- - ### Method Summary

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

- - ### Method Detail

    - #### evaluate

          Object evaluate(String expression,
                          Request request)

      Evaluates an expression.
      Parameters:
        `expression` - The expression to evaluate.
        `request` - The request object.
      Returns:
        The evaluated object.
      Since:
        2.1.0

    - #### evaluate

          Object evaluate(Attribute attribute,
                          Request request)

      Evaluates an attribute value.
      Parameters:
        `attribute` - The attribute to evaluate.
        `request` - The request object.
      Returns:
        The evaluated object.
      Since:
        2.1.0

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