public final class MaxLength extends AbstractCriterion
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxLength() |
ValidationResult |
validate(FormCheckerElement value)
Tests whether the specified value satisfies this criterion.
|
public int getMaxLength()
public ValidationResult validate(FormCheckerElement value)
Criterionvalidate in interface Criterionvalidate in class AbstractCriterionvalue - to be tested against this criterion.Copyright © 2016. All rights reserved.