Package com.sun.el.lang
Class VariableMapperImpl
java.lang.Object
jakarta.el.VariableMapper
com.sun.el.lang.VariableMapperImpl
- All Implemented Interfaces:
Externalizable,Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidresolveVariable(String variable) setVariable(String variable, ValueExpression expression) Assign a ValueExpression to an Jakarta Expression Language variable, replacing any previously assignment to the same variable.void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
vars
-
-
Constructor Details
-
VariableMapperImpl
public VariableMapperImpl()
-
-
Method Details
-
resolveVariable
- Specified by:
resolveVariablein classVariableMapper- Parameters:
variable- The variable name- Returns:
- the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
-
setVariable
Description copied from class:VariableMapperAssign 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 isnull.- Specified by:
setVariablein classVariableMapper- Parameters:
variable- The variable nameexpression- The ValueExpression to be assigned to the variable.- Returns:
- The previous ValueExpression assigned to this variable, null if there is no previous assignment to this variable.
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-