public enum ExpressionContext extends Enum<ExpressionContext>
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.| Modifier and Type | Method and Description |
|---|---|
static ExpressionContext |
getContextForPlugin(String pluginName)
Retrieves the context for the plugin specified by
pluginName. |
Set<String> |
getOptions() |
static ExpressionContext |
valueOf(String name)
Returns 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.
|
public static final ExpressionContext PLUGIN_DATA_SLY_USE
public static final ExpressionContext PLUGIN_DATA_SLY_TEXT
public static final ExpressionContext PLUGIN_DATA_SLY_ATTRIBUTE
public static final ExpressionContext PLUGIN_DATA_SLY_ELEMENT
public static final ExpressionContext PLUGIN_DATA_SLY_TEST
public static final ExpressionContext PLUGIN_DATA_SLY_SET
public static final ExpressionContext PLUGIN_DATA_SLY_LIST
public static final ExpressionContext PLUGIN_DATA_SLY_REPEAT
public static final ExpressionContext PLUGIN_DATA_SLY_INCLUDE
public static final ExpressionContext PLUGIN_DATA_SLY_RESOURCE
public static final ExpressionContext PLUGIN_DATA_SLY_TEMPLATE
public static final ExpressionContext PLUGIN_DATA_SLY_CALL
public static final ExpressionContext PLUGIN_DATA_SLY_UNWRAP
public static final ExpressionContext ELEMENT
public static final ExpressionContext TEXT
public static final ExpressionContext ATTRIBUTE
public static ExpressionContext[] values()
for (ExpressionContext c : ExpressionContext.values()) System.out.println(c);
public static ExpressionContext 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 nullpublic static ExpressionContext getContextForPlugin(String pluginName)
pluginName.pluginName - the name of the plugin for which to retrieve the contextIllegalArgumentException - if the plugin identified by pluginName doesn't have a context associatedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.