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