Top Description Constructors Methods
jakarta.el

public abstract Class VariableMapper

extends Object
Class Inheritance
Known Direct Subclasses
jakarta.el.StandardELContext.DefaultVariableMapper

The interface to a map between Jakarta Expression Language variables and the Jakarta Expression Language expressions they are associated with.
Since
Jakarta Server Pages 2.1

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract ValueExpression

Returns:

the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
resolveVariable
(String
The variable name
variable
)

public abstract ValueExpression

Returns:

The previous ValueExpression assigned to this variable, null if there is no previous assignment to this variable.
setVariable
(String
The variable name
variable
,
ValueExpression
The ValueExpression to be assigned to the variable.
expression
)

Assign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same variable.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

VariableMapperback to summary
public VariableMapper()

Method Detail

resolveVariableback to summary
public abstract ValueExpression resolveVariable(String variable)
Parameters
variable:String

The variable name

Returns:ValueExpression

the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.

setVariableback to summary
public abstract ValueExpression setVariable(String variable, ValueExpression expression)

Assign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same variable. The assignment for the variable is removed if the expression is null.

Parameters
variable:String

The variable name

expression:ValueExpression

The ValueExpression to be assigned to the variable.

Returns:ValueExpression

The previous ValueExpression assigned to this variable, null if there is no previous assignment to this variable.