org.hibernate.validator.internal.cdi

## Class ValidationProviderHelper

- java.lang.Object
- - org.hibernate.validator.internal.cdi.ValidationProviderHelper

-     public class ValidationProviderHelper
      extends Object

  Provides functionality for dealing with validation provider types.
  Author:
    Gunnar Morling

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ValidationProviderHelper` | `forDefaultProvider(ValidatorFactory validatorFactory)`
    `static ValidationProviderHelper` | `forHibernateValidator()`
    `boolean` | `isDefaultProvider()` Whether the given provider is the default provider or not.
    `String` | `toString()`

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

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

- - ### Method Detail

    - #### forDefaultProvider

          public static ValidationProviderHelper forDefaultProvider(ValidatorFactory validatorFactory)

    - #### forHibernateValidator

          public static ValidationProviderHelper forHibernateValidator()

    - #### isDefaultProvider

          public boolean isDefaultProvider()

      Whether the given provider is the default provider or not.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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