FileDocCategorySizeDatePackage
ELContextWrapper.javaAPI DocApache Tomcat 6.0.142435Fri Jul 20 04:20:30 BST 2007org.apache.jasper.el

ELContextWrapper

public final class ELContextWrapper extends ELContext
Simple ELContextWrapper for runtime evaluation of EL w/ dynamic FunctionMappers
author
jhook

Fields Summary
private final ELContext
target
private final FunctionMapper
fnMapper
Constructors Summary
public ELContextWrapper(ELContext target, FunctionMapper fnMapper)

        this.target = target;
        this.fnMapper = fnMapper;
    
Methods Summary
public java.lang.ObjectgetContext(java.lang.Class key)

        return this.target.getContext(key);
    
public javax.el.ELResolvergetELResolver()

        return this.target.getELResolver();
    
public javax.el.FunctionMappergetFunctionMapper()

        if (this.fnMapper != null) return this.fnMapper;
        return this.target.getFunctionMapper();
    
public java.util.LocalegetLocale()

        return this.target.getLocale();
    
public javax.el.VariableMappergetVariableMapper()

        return this.target.getVariableMapper();
    
public booleanisPropertyResolved()

        return this.target.isPropertyResolved();
    
public voidputContext(java.lang.Class key, java.lang.Object contextObject)

        this.target.putContext(key, contextObject);
    
public voidsetLocale(java.util.Locale locale)

        this.target.setLocale(locale);
    
public voidsetPropertyResolved(boolean resolved)

        this.target.setPropertyResolved(resolved);