FileDocCategorySizeDatePackage
VariableMapperFactory.javaAPI DocGlassfish v2 API3013Fri May 04 22:31:18 BST 2007com.sun.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");