org.springmodules.validation.util.cel.valang
Class ValangConditionExpressionParser
java.lang.Object
org.springmodules.validation.valang.parser.SimpleValangBased
org.springmodules.validation.util.cel.valang.ValangConditionExpressionParser
- All Implemented Interfaces:
- ApplicationContextAware, ConditionExpressionParser, ValangBased
public class ValangConditionExpressionParser
- extends SimpleValangBased
- implements ConditionExpressionParser
A ConditionExpressionParser
implementation that knows how to parse valang boolean expressions.
- Author:
- Uri Boness
Method Summary |
Condition |
parse(String expression)
Parses the given condition expression and returns the parsed condition. |
Methods inherited from class org.springmodules.validation.valang.parser.SimpleValangBased |
addCustomFunction, createValangParser, createValangParser, findAllCustomFunctionsInApplicationContext, getAllCustomFunctions, getCustomFunctions, getDateParsers, initValang, setApplicationContext, setCustomFunctions, setDateParsers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValangConditionExpressionParser
public ValangConditionExpressionParser()
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.