public class SimpleContext extends ELContext
Constructor and Description |
---|
SimpleContext()
Create a context.
|
SimpleContext(ELResolver resolver)
Create a context, use the specified resolver.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getContext, getLocale, isPropertyResolved, putContext, setLocale, setPropertyResolved
public SimpleContext()
public SimpleContext(ELResolver resolver)
public void setFunction(String prefix, String localName, Method method)
public ValueExpression setVariable(String name, ValueExpression expression)
public FunctionMapper getFunctionMapper()
getFunctionMapper
in class ELContext
public VariableMapper getVariableMapper()
getVariableMapper
in class ELContext
public ELResolver getELResolver()
SimpleResolver
if necessary.getELResolver
in class ELContext
public void setELResolver(ELResolver resolver)
resolver
- Copyright © 2015. All rights reserved.