caplin.core.validator.CommaSeparatedPropertiesValidator
is a
{@link caplin.trading.validation.Validator} that ensures string is a comma-separated list of property assignments
(unary properties are also acceptable)..
Attributes | Name and Description |
---|---|
|
caplin.core.validator.CommaSeparatedPropertiesValidator(string failureMessage)
|
Attributes | Name and Description |
---|---|
|
void
validate(var value, Object attributes, caplin.core.ValidationResult validationResult)
Do the validation. |
►
caplin.core.validator.CommaSeparatedPropertiesValidator(string failureMessage)
string | failureMessage | An i18n key for the failure message if validation fails. |
►
void
validate(var value, Object attributes, caplin.core.ValidationResult validationResult)
Do the validation.
var | value | The value to validate. |
Object | attributes | Attributes to control the validation process. Will not be null. |
caplin.core.ValidationResult | validationResult | The ValidationResult to store the result of this validation in. |