FileDocCategorySizeDatePackage
VariableMapperFactory.javaAPI DocApache Tomcat 6.0.141934Fri Jul 20 04:20:32 BST 2007org.apache.el.lang

VariableMapperFactory

public class VariableMapperFactory extends VariableMapper

Fields Summary
private final VariableMapper
target
private VariableMapper
momento
Constructors Summary
public VariableMapperFactory(VariableMapper target)

        if (target == null) {
            throw new NullPointerException("Target VariableMapper cannot be null");
        }
        this.target = target;
    
Methods Summary
public javax.el.VariableMappercreate()

        return this.momento;
    
public javax.el.ValueExpressionresolveVariable(java.lang.String variable)

        ValueExpression expr = this.target.resolveVariable(variable);
        if (expr != null) {
            if (this.momento == null) {
                this.momento = new VariableMapperImpl();
            }
            this.momento.setVariable(variable, expr);
        }
        return expr;
    
public javax.el.ValueExpressionsetVariable(java.lang.String variable, javax.el.ValueExpression expression)

        throw new UnsupportedOperationException("Cannot Set Variables on Factory");