public class ValidURLConstraint extends java.lang.Object implements ValidationConstraint<ValidURL>
| Constructor and Description |
|---|
ValidURLConstraint() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ValidURL 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(ValidURL annotation)
ValidationConstraintconfigure in interface ValidationConstraint<ValidURL>public boolean isValid(ValidationConstraintContext vcc, java.lang.Object value)
ValidationConstraintisValid in interface ValidationConstraint<ValidURL>true if validation passes, otherwise false.public static boolean validate(java.lang.Object value)
Copyright © 2003-present Jodd Team