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 JexlContextReturns a newJexlContext.protected static JexlHelperprotected JexlContextCreates and returns a newJexlContext.
-
Field Details
-
helper
singleton instance.
-
-
Constructor Details
-
JexlHelper
public JexlHelper()
-
-
Method Details
-
getInstance
- Returns:
- the single instance.
-
createContext
-
newContext
Creates and returns a newJexlContext. The current implementation creates a new instance ofHashMapContext.- Returns:
- a new JexlContext
-