org.apache.el.lang
Class VariableMapperFactory

java.lang.Object
  extended by javax.el.VariableMapper
      extended by org.apache.el.lang.VariableMapperFactory

public class VariableMapperFactory
extends javax.el.VariableMapper


Constructor Summary
VariableMapperFactory(javax.el.VariableMapper target)
           
 
Method Summary
 javax.el.VariableMapper create()
           
 javax.el.ValueExpression resolveVariable(java.lang.String variable)
           
 javax.el.ValueExpression setVariable(java.lang.String variable, javax.el.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

VariableMapperFactory

public VariableMapperFactory(javax.el.VariableMapper target)
Method Detail

create

public javax.el.VariableMapper create()

resolveVariable

public javax.el.ValueExpression resolveVariable(java.lang.String variable)
Specified by:
resolveVariable in class javax.el.VariableMapper
Parameters:
variable - The variable name
Returns:
the ValueExpression assigned to the variable, null if there is no previous assignment to this variable.

setVariable

public javax.el.ValueExpression setVariable(java.lang.String variable,
                                            javax.el.ValueExpression expression)
Description copied from class: javax.el.VariableMapper
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.

Specified by:
setVariable in class javax.el.VariableMapper
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 © 2000-2009 Apache Software Foundation. All Rights Reserved.