IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 5.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM Platform, Enterprise Edition, v 5.0

javax.el
Class VariableMapper

java.lang.Object
  extended by javax.el.VariableMapper

public abstract class VariableMapper
extends Object

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

VariableMapper

public VariableMapper()
Method Detail

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.

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 name
expression - 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.

Copyright 2003 Sun Microsystems, Inc. All rights reserved