org.hibernate.validator.internal.constraintvalidators

## Class ScriptAssertValidator

- java.lang.Object
- - org.hibernate.validator.internal.constraintvalidators.ScriptAssertValidator

- All Implemented Interfaces:
    ConstraintValidator<ScriptAssert,Object>

      public class ScriptAssertValidator
      extends Object
      implements ConstraintValidator<ScriptAssert,Object>

  Validator for the `ScriptAssert` constraint annotation.
  Author:
    Gunnar Morling, Hardy Ferentschik, Kevin Pollet (C) 2011 SERLI

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScriptAssertValidator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initialize(ScriptAssert constraintAnnotation)`
    `boolean` | `isValid(Object value, ConstraintValidatorContext constraintValidatorContext)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ScriptAssertValidator

          public ScriptAssertValidator()

  - ### Method Detail

    - #### initialize

          public void initialize(ScriptAssert constraintAnnotation)

      Specified by:
        `initialize` in interface `ConstraintValidator<ScriptAssert,Object>`

    - #### isValid

          public boolean isValid(Object value,
                        ConstraintValidatorContext constraintValidatorContext)

      Specified by:
        `isValid` in interface `ConstraintValidator<ScriptAssert,Object>`

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved