Class ElUtils

java.lang.Object
com.aoapps.servlet.el.ElUtils

public final class ElUtils extends Object
Static utilities for Expression Language.
Author:
AO Industries, Inc.
  • Method Details

    • resolveValue

      public static <T> T resolveValue(ValueExpression expression, Class<T> type, ELContext elContext)
      Evaluates an expression then casts to the provided type.
    • resolveValue

      public static <T> T resolveValue(Object value, Class<T> type, ELContext elContext)
      Casts or evaluates an expression then casts to the provided type.