1 16 17 package org.apache.commons.jexl; 18 19 import org.apache.commons.jexl.context.HashMapContext; 20 21 31 public class JexlHelper { 32 33 protected static JexlHelper helper = new JexlHelper(); 34 35 36 protected static JexlHelper getInstance() { 37 return helper; 38 } 39 40 44 public static JexlContext createContext() { 45 return getInstance().newContext(); 46 } 47 48 54 protected JexlContext newContext() { 55 return new HashMapContext(); 56 } 57 } 58 | Popular Tags |