org.apache.tiles.ognl

## Class OGNLAttributeEvaluator

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

- All Implemented Interfaces:
    AttributeEvaluator

      public class OGNLAttributeEvaluator
      extends AbstractAttributeEvaluator

  Evaluates attribute expressions and expressions with OGNL language.
  Since:
    2.2.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OGNLAttributeEvaluator()`

  - ### 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

    - #### OGNLAttributeEvaluator

          public OGNLAttributeEvaluator()

  - ### 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–2025 Apache Software Foundation. All rights reserved.