## Uses of Class
com.holonplatform.core.Validator.PatternFlag

- Packages that use Validator.PatternFlag
  Package | Description
  --- | ---
  com.holonplatform.core |

- - ### Uses of Validator.PatternFlag in com.holonplatform.core

    Methods in com.holonplatform.core that return Validator.PatternFlag
    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.

    Methods in com.holonplatform.core with parameters of type Validator.PatternFlag
    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<T>` | 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<T>` | 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<T>` | 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 © 2017 The Holon Platform. All rights reserved.