de.smartics.validation.constraints.impl
Class UriAvailabilityValidator
java.lang.Object
de.smartics.validation.constraints.impl.UriAvailabilityValidator
-
All Implemented Interfaces:
-
javax.validation.ConstraintValidator<
Available,
URI>
-
public class UriAvailabilityValidator
-
extends
Object
-
implements javax.validation.ConstraintValidator<
Available,
URI>
Checks that the annotated resource is availability.
Method Summary |
void |
initialize(Available constraintAnnotation) |
boolean |
isValid(URI value, javax.validation.ConstraintValidatorContext constraintValidatorContext) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UriAvailabilityValidator
public UriAvailabilityValidator()
initialize
public void initialize(Available constraintAnnotation)
-
-
Specified by:
-
initialize
in interface
javax.validation.ConstraintValidator<Available,URI>
-
isValid
public boolean isValid(URI value,
javax.validation.ConstraintValidatorContext constraintValidatorContext)
-
-
Specified by:
-
isValid
in interface
javax.validation.ConstraintValidator<Available,URI>
-
Copyright © 2009-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.