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