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, setPropertyResolvedpublic 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 ELContextpublic VariableMapper getVariableMapper()
getVariableMapper in class ELContextpublic ELResolver getELResolver()
SimpleResolver if necessary.getELResolver in class ELContextpublic void setELResolver(ELResolver resolver)
resolver - Copyright © 2018. All rights reserved.