org.apache.jasper.runtime
类 ELContextImpl

java.lang.Object
  继承者 javax.el.ELContext
      继承者 org.apache.jasper.runtime.ELContextImpl

public class ELContextImpl
extends ELContext

Concrete implementation of ELContext. ELContext's constructor is protected to control creation of ELContext objects through their appropriate factory methods. This version of ELContext forces construction through JspApplicationContextImpl.

作者:
Mark Roth, Kin-man Chung

构造方法摘要
ELContextImpl(ELResolver resolver)
          Constructs a new ELContext associated with the given ELResolver.
 
方法摘要
 ELResolver getELResolver()
          Retrieves the ELResolver associated with this context.
 FunctionMapper getFunctionMapper()
          Retrieves the FunctionMapper associated with this ELContext.
 VariableMapper getVariableMapper()
          Retrieves the VariableMapper associated with this ELContext.
 void setFunctionMapper(FunctionMapper fnMapper)
           
 void setVariableMapper(VariableMapper varMapper)
           
 
从类 javax.el.ELContext 继承的方法
getContext, getLocale, isPropertyResolved, putContext, setLocale, setPropertyResolved
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ELContextImpl

public ELContextImpl(ELResolver resolver)
Constructs a new ELContext associated with the given ELResolver.

方法详细信息

getELResolver

public ELResolver getELResolver()
从类 ELContext 复制的描述
Retrieves the ELResolver associated with this context.

The ELContext maintains a reference to the ELResolver that will be consulted to resolve variables and properties during an expression evaluation. This method retrieves the reference to the resolver.

Once an ELContext is constructed, the reference to the ELResolver associated with the context cannot be changed.

指定者:
ELContext 中的 getELResolver
返回:
The resolver to be consulted for variable and property resolution during expression evaluation.

setFunctionMapper

public void setFunctionMapper(FunctionMapper fnMapper)

getFunctionMapper

public FunctionMapper getFunctionMapper()
从类 ELContext 复制的描述
Retrieves the FunctionMapper associated with this ELContext.

指定者:
ELContext 中的 getFunctionMapper
返回:
The function mapper to be consulted for the resolution of EL functions.

setVariableMapper

public void setVariableMapper(VariableMapper varMapper)

getVariableMapper

public VariableMapper getVariableMapper()
从类 ELContext 复制的描述
Retrieves the VariableMapper associated with this ELContext.

指定者:
ELContext 中的 getVariableMapper
返回:
The variable mapper to be consulted for the resolution of EL variables.


Copyright © 2013. All Rights Reserved.