org.apache.commons.jexl
Class JexlHelper
java.lang.Object
org.apache.commons.jexl.JexlHelper
- public class JexlHelper
- extends Object
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.
- Version:
- $Id: JexlHelper.java,v 1.4 2004/06/12 23:53:17 tobrien Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
helper
protected static JexlHelper helper
JexlHelper
public JexlHelper()
getInstance
protected static JexlHelper getInstance()
createContext
public static JexlContext createContext()
- Returns a new
JexlContext
.
- Returns:
- a new JexlContext
newContext
protected JexlContext newContext()
- Creates and returns a new
JexlContext
. The current implementation
creates a new instance of HashMapContext
.
- Returns:
- a new JexlContext
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.