|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.el Class VariableMapper
java.lang.Object javax.el.VariableMapper
public abstract class VariableMapper
- extends Object
在 EL 变量及其关联的 EL 表达式之间进行映射的接口。
since | JSP 2.1 |
The interface to a map between EL variables and the EL expressions they are associated with.
- Since:
- JSP 2.1
Constructor Summary | |
---|---|
VariableMapper()
|
Method Summary | |
---|---|
abstract ValueExpression |
resolveVariable(String variable)
|
abstract ValueExpression |
setVariable(String variable,
ValueExpression expression)
Assign a ValueExpression to an EL variable, replacing any previously assignment to the same variable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public
VariableMapper()
英文文档:
VariableMapper
public VariableMapper()
Method Detail |
---|
abstract public ValueExpression
resolveVariable(String variable)
variable | 变量名称 |
return | 分配给变量的 ValueExpression;如果此变量以前没有分配值,则返回 null。 |
resolveVariable
public abstract ValueExpression resolveVariable(String variable)
- Parameters:
variable
- The variable name- Returns:
- the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.
abstract public ValueExpression
setVariable(String variable, ValueExpression expression)
将 ValueExpression 分配给 EL 变量,替换以前分配给该变量的任何值。如果表达式为 null
,则删除分配给该变量的值。
variable | 变量名称 |
expression | 将分配给变量的 ValueExpression。 |
return | 以前分配给此变量的 ValueExpression;如果此变量以前没有分配值,则返回 null。 |
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
. - 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 previouse assignment to this variable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!