com.sun.enterprise.config.serverbeans.customvalidators
Class NotTargetKeywordValidator
java.lang.Object
com.sun.enterprise.config.serverbeans.customvalidators.NotTargetKeywordValidator
- All Implemented Interfaces:
- javax.validation.ConstraintValidator<NotTargetKeyword,String>
public class NotTargetKeywordValidator
- extends Object
- implements javax.validation.ConstraintValidator<NotTargetKeyword,String>
Validation logic for NotTargetKeyword constraint
- Author:
- Joe Di Pol
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotTargetKeywordValidator
public NotTargetKeywordValidator()
initialize
public void initialize(NotTargetKeyword constraintAnnotation)
- Specified by:
initialize in interface javax.validation.ConstraintValidator<NotTargetKeyword,String>
isValid
public boolean isValid(String name,
javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid in interface javax.validation.ConstraintValidator<NotTargetKeyword,String>
Copyright © 2012 GlassFish Community. All Rights Reserved.