Interface ControlExpressionParser
- All Known Implementing Classes:
DefaultControlExpressionParser
public interface ControlExpressionParser
Control expression parser for extracting the individual control values from a control expression.
- Since:
- 2.5
- Author:
- Martin Maher
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionextractControlValues(String controlExpression, Character delimiter) Some validation matchers can optionally contain one or more control values nested within a control expression.
-
Field Details
-
DEFAULT_DELIMITER
-
-
Method Details
-
extractControlValues
Some validation matchers can optionally contain one or more control values nested within a control expression. Matchers implementing this interface should take care of extracting the individual control values from the expression.
For example, theorg.citrusframework.validation.matcher.core.DateRangeValidationMatcherexpects between 2 to 3 control values (dateFrom, dateTo and optionally datePattern) to be provided. It's ControlExpressionParser would be expected to parse the control expression, returning each individual control value for each nested parameter found within the control expression.- Parameters:
controlExpression- the control expression to be parseddelimiter- the delimiter to use. When NULL theDEFAULT_DELIMITERis assumed.- Returns:
-