org.springmodules.validation.util.cel.ognl
Class OgnlConditionExpressionParser
java.lang.Object
org.springmodules.validation.util.cel.ognl.OgnlConditionExpressionParser
- All Implemented Interfaces:
- ConditionExpressionParser
public class OgnlConditionExpressionParser
- extends Object
- implements ConditionExpressionParser
A ConditionExpressionParser
implementation that knows how to parse boolean OGNL expressions and return
the appropriate condition.
- Author:
- Uri Boness
Method Summary |
Condition |
parse(String expression)
Parses the given condition expression and returns the parsed condition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OgnlConditionExpressionParser
public OgnlConditionExpressionParser()
parse
public Condition parse(String expression)
throws CelParseException
- Description copied from interface:
ConditionExpressionParser
- Parses the given condition expression and returns the parsed condition.
- Specified by:
parse
in interface ConditionExpressionParser
- Parameters:
expression
- The given condition expression.
- Returns:
- The parsed condition.
- Throws:
CelParseException
- thrown when the condition expression parsing fails.
Copyright © 2009. All Rights Reserved.