public enum ELExpressionCacheMode extends Enum<ELExpressionCacheMode>
Enum Constant and Description |
---|
allowCset
Does not cache expressions on these cases:
- ui:param was used on the current template context
- Inside user tags
- An expression uses a variable resolved through VariableMapper
In this case, c:set is assumed to be always on the parent node.
|
always
Does not cache expressions on these cases:
- Inside user tags
- An expression uses a variable resolved through VariableMapper
Note if ui:param is used, each template call should define the same
param count, even if only just a few are used.
|
noCache
Does not cache expressions.
|
strict
Does not cache expressions on these cases:
- A c:set tag with only var and value properties was used on the current page.
|
Modifier and Type | Method and Description |
---|---|
static ELExpressionCacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELExpressionCacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELExpressionCacheMode noCache
public static final ELExpressionCacheMode strict
public static final ELExpressionCacheMode allowCset
public static final ELExpressionCacheMode always
public static ELExpressionCacheMode[] values()
for (ELExpressionCacheMode c : ELExpressionCacheMode.values()) System.out.println(c);
public static ELExpressionCacheMode 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 © 2016 The Apache Software Foundation. All Rights Reserved.