javax.el
类 VariableMapper
java.lang.Object
javax.el.VariableMapper
- 直接已知子类:
- VariableMapperFactory, VariableMapperImpl, VariableMapperImpl
public abstract class VariableMapper
- extends Object
The interface to a map between EL variables and the EL expressions
they are associated with.
- 从以下版本开始:
- JSP 2.1
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableMapper
public VariableMapper()
resolveVariable
public abstract ValueExpression resolveVariable(String variable)
- 参数:
variable - The variable name
- 返回:
- the ValueExpression assigned to the variable,
null if there is no previous assignment to this variable.
setVariable
public abstract ValueExpression setVariable(String variable,
ValueExpression expression)
- Assign a ValueExpression to an EL variable, replacing
any previously assignment to the same variable.
The assignment for the variable is removed if
the expression is
null.
- 参数:
variable - The variable nameexpression - The ValueExpression to be assigned
to the variable.
- 返回:
- The previous ValueExpression assigned to this variable,
null if there is no previouse assignment to this variable.
Copyright © 2013. All Rights Reserved.