org.apache.commons.jexl
Class ExpressionFactory
java.lang.Object
org.apache.commons.jexl.ExpressionFactory
- public class ExpressionFactory
- extends java.lang.Object
Used to create Expression objects
- Version:
- $Id: ExpressionFactory.java,v 1.3 2003/10/09 21:28:55 rdonkin Exp $
- Author:
- Geir Magnusson Jr.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parser
protected static Parser parser
- our parser - we share it
ef
protected static ExpressionFactory ef
- We Be Singleton
ExpressionFactory
private ExpressionFactory()
createExpression
public static Expression createExpression(java.lang.String expression)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInstance
protected static ExpressionFactory getInstance()
createNewExpression
protected Expression createNewExpression(java.lang.String expression)
throws java.lang.Exception
- Creates a new Expression based on the expression string.
- Returns:
- Expression
- Throws:
java.lang.Exception
- for a variety of reasons - mostly malformed
Jexl expression