${variable-name}
.
@since 0.2.2
VariableResolver represents a pluggable mechanism for resolving a top-level variable reference at evaluation time.
@deprecated This has been replaced by {@link javax.el.ELResolver}when operating with anull
base
argument.
This class is used to customize the way an ExpressionEvaluator resolves variable references at evaluation time. For example, instances of this class can implement their own variable lookup mechanisms, or introduce the notion of "implicit variables" which override any other variables. An instance of this class should be passed when evaluating an expression.
An instance of this class includes the context against which resolution will happen
@since 2.0 @deprecated As of JSP 2.1, replaced by javax.el.ELResolverVariableResolver
interface defines the API for an object which may be provided by plugins to provide replacement values for variables in the generated content. Plugins should call the {@link WebConsoleUtil#setVariableResolver(javax.servlet.ServletRequest,VariableResolver)}method to provide their implementation for variable resolution.
The main use of such a variable resolver is when a plugin is using a static template which provides slots to place dynamically generated content parts.
Note: The variable resolver must be set in the request before the response writer is retrieved calling the ServletRequest.getWriter()
method. Otherwise the variable resolver will not be used for resolving variables.
@see WebConsoleUtil#getVariableResolver(javax.servlet.ServletRequest)
@see WebConsoleUtil#setVariableResolver(javax.servlet.ServletRequest,VariableResolver)
Variables
. The VariableResolver
implementation may be used to evaluate Variables
as well as transforming their names etc.
This class is used to customize the way an ExpressionEvaluator resolves variable references at evaluation time. For example, instances of this class can implement their own variable lookup mechanisms, or introduce the notion of "implicit variables" which override any other variables. An instance of this class should be passed when evaluating an expression.
An instance of this class includes the context against which resolution will happen
@since 2.0Since 5.0.0, you can implement another interface called {@link VariableResolverX}to have more control about resolving the variables.
Any class implementing this interface shall implement {@link Object#equals(Object)}and {@link Object#hashCode()} @author tomyeh @since 3.0.0 @see VariableResolverX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|