Package org.bgerp.dao.expression
Class Context
java.lang.Object
org.apache.commons.jexl3.MapContext
org.bgerp.dao.expression.Context
- All Implemented Interfaces:
org.apache.commons.jexl3.JexlContext
,org.apache.commons.jexl3.JexlContext.NamespaceResolver
public class Context
extends org.apache.commons.jexl3.MapContext
implements org.apache.commons.jexl3.JexlContext.NamespaceResolver
Extended JEXL context, providing creation of static class contexts by full name.
var = org.bgerp.SomeClass; var.someStaticMethod();
-
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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.jexl3.MapContext
clear, set
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
has
- Specified by:
has
in interfaceorg.apache.commons.jexl3.JexlContext
- Overrides:
has
in classorg.apache.commons.jexl3.MapContext
-
get
- Specified by:
get
in interfaceorg.apache.commons.jexl3.JexlContext
- Overrides:
get
in classorg.apache.commons.jexl3.MapContext
-
resolveNamespace
Resolves only top-level namespace- Specified by:
resolveNamespace
in interfaceorg.apache.commons.jexl3.JexlContext.NamespaceResolver
- Parameters:
name
- the namespace name, can be onlynull
- Returns:
- the context object under key
null
- Throws:
UnsupportedOperationException
- if notnull
passed as name
-