org.activiti.engine.impl.juel
类 SimpleContext

java.lang.Object
  继承者 org.activiti.engine.impl.javax.el.ELContext
      继承者 org.activiti.engine.impl.juel.SimpleContext
直接已知子类:
TaskElContext

public class SimpleContext
extends ELContext

Simple context implementation.

作者:
Christoph Beck

构造方法摘要
SimpleContext()
          Create a context.
SimpleContext(ELResolver resolver)
          Create a context, use the specified resolver.
 
方法摘要
 ELResolver getELResolver()
          Get our resolver.
 FunctionMapper getFunctionMapper()
          Get our function mapper.
 VariableMapper getVariableMapper()
          Get our variable mapper.
 void setELResolver(ELResolver resolver)
          Set our resolver.
 void setFunction(String prefix, String localName, Method method)
          Define a function.
 ValueExpression setVariable(String name, ValueExpression expression)
          Define a variable.
 
从类 org.activiti.engine.impl.javax.el.ELContext 继承的方法
getContext, getLocale, isPropertyResolved, putContext, setLocale, setPropertyResolved
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SimpleContext

public SimpleContext()
Create a context.


SimpleContext

public SimpleContext(ELResolver resolver)
Create a context, use the specified resolver.

方法详细信息

setFunction

public void setFunction(String prefix,
                        String localName,
                        Method method)
Define a function.


setVariable

public ValueExpression setVariable(String name,
                                   ValueExpression expression)
Define a variable.


getFunctionMapper

public FunctionMapper getFunctionMapper()
Get our function mapper.

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

getVariableMapper

public VariableMapper getVariableMapper()
Get our variable mapper.

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

getELResolver

public ELResolver getELResolver()
Get our resolver. Lazy initialize to a SimpleResolver if necessary.

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

setELResolver

public void setELResolver(ELResolver resolver)
Set our resolver.

参数:
resolver -


Copyright © 2013 Alfresco. All rights reserved.