| Package | Description |
|---|---|
| com.holonplatform.core |
| Modifier and Type | Method and Description |
|---|---|
static Validator.PatternFlag |
Validator.PatternFlag.fromFlag(int flag)
Get the
Validator.PatternFlag which corresponds to given regex flag value |
static Validator.PatternFlag |
Validator.PatternFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validator.PatternFlag[] |
Validator.PatternFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Validator.PatternFlag.asBitValue(Validator.PatternFlag[] flags)
Get given flags as bit mask.
|
static <T extends CharSequence> |
Validator.pattern(String regex,
Localizable message,
Validator.PatternFlag... flags)
Build a validator that checks that given value matches a regular expression, and uses given
Localizable
message as validation error message. |
static <T extends CharSequence> |
Validator.pattern(String regex,
String message,
String messageCode,
Validator.PatternFlag... flags)
Build a validator that checks that given value matches a regular expression.
|
static <T extends CharSequence> |
Validator.pattern(String regex,
Validator.PatternFlag... flags)
Build a validator that checks that given value matches a regular expression, and uses
Validator.ValidationMessage.PATTERN as validation error message. |
Copyright © 2019 The Holon Platform. All rights reserved.