public class DefaultControlExpressionParser extends Object implements ControlExpressionParser
DEFAULT_DELIMITER
Constructor and Description |
---|
DefaultControlExpressionParser() |
Modifier and Type | Method and Description |
---|---|
List<String> |
extractControlValues(String controlExpression,
Character delimiter)
Some validation matchers can optionally contain one or more control values nested within a control expression.
|
public List<String> extractControlValues(String controlExpression, Character delimiter)
ControlExpressionParser
DateRangeValidationMatcher
expects
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.extractControlValues
in interface ControlExpressionParser
controlExpression
- the control expression to be parseddelimiter
- the delimiter to use. When NULL the ControlExpressionParser.DEFAULT_DELIMITER
is assumed.Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.