it.haefelinger.flaka.el
Class Context

java.lang.Object
  extended by javax.el.ELContext
      extended by it.haefelinger.flaka.el.Context

public class Context
extends ELContext


Constructor Summary
protected Context()
           
  Context(ELResolver resolver)
          Create a context, use the specified resolver.
 
Method Summary
 ELResolver getELResolver()
           
 FunctionMapper getFunctionMapper()
          Get our function mapper.
 VariableMapper getVariableMapper()
          Get our variable mapper.
 void setFunction(String prefix, String localName, Method method)
          Define a function.
 ValueExpression setVariable(String name, ValueExpression expression)
          Define a variable.
 
Methods inherited from class javax.el.ELContext
getContext, getLocale, isPropertyResolved, putContext, setLocale, setPropertyResolved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

protected Context()

Context

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

Method Detail

getFunctionMapper

public FunctionMapper getFunctionMapper()
Get our function mapper.

Specified by:
getFunctionMapper in class ELContext

getVariableMapper

public VariableMapper getVariableMapper()
Get our variable mapper.

Specified by:
getVariableMapper in class ELContext

setFunction

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


setVariable

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


getELResolver

public ELResolver getELResolver()
Specified by:
getELResolver in class ELContext