Package org.apache.commons.jexl
Class JexlHelper
java.lang.Object
org.apache.commons.jexl.JexlHelper
Helper to create a context. In the current implementation of JEXL, there
is one implementation of JexlContext -
HashMapContext
, and there
is no reason not to directly instantiate HashMapContext
in your
own application.- Since:
- 1.0
- Version:
- $Id$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JexlContext
Returns a newJexlContext
.protected static JexlHelper
protected JexlContext
Creates and returns a newJexlContext
.
-
Field Details
-
helper
singleton instance.
-
-
Constructor Details
-
JexlHelper
public JexlHelper()
-
-
Method Details
-
getInstance
- Returns:
- the single instance.
-
createContext
Returns a newJexlContext
.- Returns:
- a new JexlContext
-
newContext
Creates and returns a newJexlContext
. The current implementation creates a new instance ofHashMapContext
.- Returns:
- a new JexlContext
-