public class UrlConstraint extends AbstractConstraint
Constructor and Description |
---|
UrlConstraint() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
setParameter(java.lang.Object constraintParameter)
The parameter which the constraint is validated against.
|
boolean |
supports(java.lang.Class type)
Returns whether the constraint supports being applied against the specified type;
|
getParameter, getPropertyName, isValid, rejectValue, rejectValue, rejectValue, rejectValue, rejectValue, rejectValueWithDefaultMessage, setMessageSource, setOwningClass, setPropertyName, toString, validate
public boolean supports(java.lang.Class type)
Constraint
type
- The type to supportpublic void setParameter(java.lang.Object constraintParameter)
Constraint
setParameter
in interface Constraint
setParameter
in class AbstractConstraint
constraintParameter
- The constraintParameter to set.public java.lang.String getName()