public static enum Builder.Feature extends Enum<Builder.Feature>
Enum Constant and Description |
---|
METHOD_INVOCATIONS
Method invocations as in
${foo.bar(1)} as specified in JSR 245,
maintenance release 2. |
NULL_PROPERTIES
For some reason we don't understand, the specification does not allow to resolve
null property values. |
VARARGS
Allow for use of Java 5 varargs in function calls.
|
Modifier and Type | Method and Description |
---|---|
static Builder.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Builder.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Builder.Feature METHOD_INVOCATIONS
${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[])
.public static final Builder.Feature NULL_PROPERTIES
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
public static Builder.Feature[] values()
for (Builder.Feature c : Builder.Feature.values()) System.out.println(c);
public static Builder.Feature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019. All rights reserved.