public class URLValidator extends Object implements ConstraintValidator<URL,CharSequence>
Constructor and Description |
---|
URLValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(URL url) |
boolean |
isValid(CharSequence value,
ConstraintValidatorContext constraintValidatorContext) |
public void initialize(URL url)
initialize
in interface ConstraintValidator<URL,CharSequence>
public boolean isValid(CharSequence value, ConstraintValidatorContext constraintValidatorContext)
isValid
in interface ConstraintValidator<URL,CharSequence>
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved