public class URLConstraint extends Object implements Constraint<URL,String>
Constructor and Description |
---|
URLConstraint() |
public boolean isValid(URL annotation, String value)
Constraint
isValid
in interface Constraint<URL,String>
annotation
- the annotation to matchvalue
- the value to be checked