public class NotBlankConstraint extends java.lang.Object implements ValidationConstraint<NotBlank>
Constructor and Description |
---|
NotBlankConstraint() |
Modifier and Type | Method and Description |
---|---|
void |
configure(NotBlank annotation)
Configures constraint from associated annotation.
|
boolean |
isValid(ValidationConstraintContext vcc,
java.lang.Object value)
Performs validation in context of target object on provided value.
|
static boolean |
validate(java.lang.Object value) |
public void configure(NotBlank annotation)
ValidationConstraint
configure
in interface ValidationConstraint<NotBlank>
public boolean isValid(ValidationConstraintContext vcc, java.lang.Object value)
ValidationConstraint
isValid
in interface ValidationConstraint<NotBlank>
true
if validation passes, otherwise false
.public static boolean validate(java.lang.Object value)
Copyright © 2003-present Jodd Team