org.apache.tiles.core.evaluator.impl

## Class DirectAttributeEvaluator

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

- All Implemented Interfaces:
    AttributeEvaluator

      public class DirectAttributeEvaluator
      extends AbstractAttributeEvaluator

  Resolves a string and returns the string itself. It is useful for backward compatibility.
  Since:
    2.1.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DirectAttributeEvaluator()`

  - ### Method Summary

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

    - ### Methods inherited from class org.apache.tiles.core.evaluator.AbstractAttributeEvaluator

      `evaluate`

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

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

- - ### Constructor Detail

    - #### DirectAttributeEvaluator

          public DirectAttributeEvaluator()

  - ### Method Detail

    - #### evaluate

          public Object evaluate(String expression,
                                 Request request)

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

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