public class Validators extends Object
| Modifier and Type | Method and Description |
|---|---|
static ValidationCallback |
booleanValidator()
Validates that the property holds a boolean value, i.e.
|
static ValidationCallback |
charsetValidator()
Validates that the property holds a valid
Charset name. |
static ValidationCallback |
integerRangeValidator(int lowerBound,
int upperBound)
Validates that the property holds an integer within the given lower and upper bounds.
|
public static ValidationCallback charsetValidator()
Charset name.public static ValidationCallback integerRangeValidator(int lowerBound, int upperBound)
lowerBound - upperBound - public static ValidationCallback booleanValidator()
Copyright © 2010–2015 SonarSource. All rights reserved.