Enum Builder.Feature

    • Enum Constant Detail

      • METHOD_INVOCATIONS

        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(javax.el.ELContext, Object, Object, Class[], Object[]).
      • NULL_PROPERTIES

        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.
      • VARARGS

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

      • values

        public static Builder.Feature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Builder.Feature c : Builder.Feature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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