public class URLConstraint extends Object implements Constraint<URL,String>
| Constructor and Description |
|---|
URLConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(URL annotation,
String value)
For each value or parameter which should be checked this method will be invoked.
|
public boolean isValid(URL annotation, String value)
ConstraintisValid in interface Constraint<URL,String>annotation - the annotation to matchvalue - the value to be checked