Package org.hotrod.dynamicsql.jexl
Class JEXLParameterContext
- java.lang.Object
-
- org.hotrod.dynamicsql.Parameters
-
- org.hotrod.dynamicsql.jexl.JEXLParameterContext
-
- All Implemented Interfaces:
org.apache.commons.jexl3.JexlContext
public class JEXLParameterContext extends Parameters implements org.apache.commons.jexl3.JexlContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.commons.jexl3.JexlContext
org.apache.commons.jexl3.JexlContext.AnnotationProcessor, org.apache.commons.jexl3.JexlContext.CancellationHandle, org.apache.commons.jexl3.JexlContext.ClassNameResolver, org.apache.commons.jexl3.JexlContext.ModuleProcessor, org.apache.commons.jexl3.JexlContext.NamespaceFunctor, org.apache.commons.jexl3.JexlContext.NamespaceResolver, org.apache.commons.jexl3.JexlContext.OptionsHandle, org.apache.commons.jexl3.JexlContext.PragmaProcessor, org.apache.commons.jexl3.JexlContext.ThreadLocal
-
-
Field Summary
-
Fields inherited from class org.hotrod.dynamicsql.Parameters
params
-
-
Constructor Summary
Constructors Constructor Description JEXLParameterContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(String name, Object value)Objectget(String name)ObjectgetParameterValue(String name)booleanhas(String name)booleanhasParameter(String name)voidset(String name, Object value)Objectunbind(String name)-
Methods inherited from class org.hotrod.dynamicsql.Parameters
add
-
-
-
-
Method Detail
-
get
public Object get(String name)
- Specified by:
getin interfaceorg.apache.commons.jexl3.JexlContext
-
set
public void set(String name, Object value)
- Specified by:
setin interfaceorg.apache.commons.jexl3.JexlContext
-
has
public boolean has(String name)
- Specified by:
hasin interfaceorg.apache.commons.jexl3.JexlContext
-
hasParameter
public boolean hasParameter(String name)
- Specified by:
hasParameterin classParameters
-
getParameterValue
public Object getParameterValue(String name)
- Specified by:
getParameterValuein classParameters
-
bind
public void bind(String name, Object value) throws DynamicExpressionException
- Specified by:
bindin classParameters- Throws:
DynamicExpressionException
-
unbind
public Object unbind(String name)
- Specified by:
unbindin classParameters
-
-