palio.modules.el
Class PalioELContext

java.lang.Object
  extended by javax.el.ELContext
      extended by palio.modules.el.PalioELContext

public class PalioELContext
extends javax.el.ELContext

EL Context for jPALIO EL support

Author:
Krzysztof Madyniak

Constructor Summary
PalioELContext()
          Create a context.
PalioELContext(javax.el.ELResolver resolver)
          Create a context, use the specified resolver.
 
Method Summary
 javax.el.ELResolver getELResolver()
          Get our resolver.
 javax.el.FunctionMapper getFunctionMapper()
          Get our function mapper.
 javax.el.VariableMapper getVariableMapper()
          Get our variable mapper.
 void setELResolver(javax.el.ELResolver resolver)
          Set our resolver.
 void setFunction(java.lang.String prefix, java.lang.String localName, java.lang.reflect.Method method)
          Define a function.
 javax.el.ValueExpression setVariable(java.lang.String name, javax.el.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PalioELContext

public PalioELContext()
Create a context.


PalioELContext

public PalioELContext(javax.el.ELResolver resolver)
Create a context, use the specified resolver.

Method Detail

setFunction

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


setVariable

public javax.el.ValueExpression setVariable(java.lang.String name,
                                            javax.el.ValueExpression expression)
Define a variable.


getFunctionMapper

public javax.el.FunctionMapper getFunctionMapper()
Get our function mapper.

Specified by:
getFunctionMapper in class javax.el.ELContext

getVariableMapper

public javax.el.VariableMapper getVariableMapper()
Get our variable mapper.

Specified by:
getVariableMapper in class javax.el.ELContext

getELResolver

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

Specified by:
getELResolver in class javax.el.ELContext

setELResolver

public void setELResolver(javax.el.ELResolver resolver)
Set our resolver.

Parameters:
resolver -