Enum ExpressionContext
- All Implemented Interfaces:
Serializable,Comparable<ExpressionContext>
Defines a context for the
Expression that will be processed by a Filter. The context can then be used by filters to
further enhance the decision mechanism for their processing.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionContextgetContextForPlugin(String pluginName) Retrieves the context for the plugin specified bypluginName.static ExpressionContextReturns the enum constant of this type with the specified name.static ExpressionContext[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLUGIN_DATA_SLY_USE
-
PLUGIN_DATA_SLY_TEXT
-
PLUGIN_DATA_SLY_ATTRIBUTE
-
PLUGIN_DATA_SLY_ELEMENT
-
PLUGIN_DATA_SLY_TEST
-
PLUGIN_DATA_SLY_SET
-
PLUGIN_DATA_SLY_LIST
-
PLUGIN_DATA_SLY_REPEAT
-
PLUGIN_DATA_SLY_INCLUDE
-
PLUGIN_DATA_SLY_RESOURCE
-
PLUGIN_DATA_SLY_TEMPLATE
-
PLUGIN_DATA_SLY_CALL
-
PLUGIN_DATA_SLY_UNWRAP
-
ELEMENT
-
TEXT
-
ATTRIBUTE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getContextForPlugin
Retrieves the context for the plugin specified bypluginName.- Parameters:
pluginName- the name of the plugin for which to retrieve the context- Returns:
- the context
- Throws:
IllegalArgumentException- if the plugin identified bypluginNamedoesn't have a context associated
-
getOptions
-