Enum Class Builder.Feature

All Implemented Interfaces:
Serializable, Comparable<Builder.Feature>, Constable
Enclosing class:

public static enum Builder.Feature extends Enum<Builder.Feature>
Feature enumeration type.
  • Enum Constant Details


      public static final Builder.Feature METHOD_INVOCATIONS
      Method invocations as in ${foo.bar(1)} as specified in JSR 245, maintenance release 2. The method to be invoked is resolved at evaluation time by calling ELResolver.invoke(jakarta.el.ELContext, Object, Object, Class[], Object[]).

      public static final Builder.Feature NULL_PROPERTIES
      For some reason we don't understand, the specification does not allow to resolve null property values. E.g. ${map[key]} will always return null if key evaluates to null. Enabling this feature will allow JUEL to pass null to the property resolvers just like any other property value.

      public static final Builder.Feature VARARGS
      Allow for use of Java 5 varargs in function calls.
  • Method Details

    • values

      public static Builder.Feature[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Builder.Feature valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null