Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.validator
Class DigitsValidator

    java.lang.Object
      org.hibernate.validator.DigitsValidator

All Implemented Interfaces:
  PropertyConstraint, Validator<Digits>

    public class DigitsValidator

extends Object
implements Validator<Digits>, PropertyConstraint

Validate a Digit to check if it matches the according pattern

Author:
  Norman Richards, Emmanuel Bernard

Constructor Summary
`DigitsValidator()`

Method Summary
`void` | `apply(org.hibernate.mapping.Property property)`
`void` | `initialize(Digits configuration)` Take the annotations values
`boolean` | `isValid(Object value)` does the object/element pass the constraints

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DigitsValidator

    public DigitsValidator()

Method Detail

### initialize

    public void initialize(Digits configuration)

  Description copied from interface: `Validator`
  Take the annotations values

  Specified by:
    `initialize` in interface `Validator<Digits>`

### isValid

    public boolean isValid(Object value)

  Description copied from interface: `Validator`
  does the object/element pass the constraints

  Specified by:
    `isValid` in interface `Validator<Digits>`

### apply

    public void apply(org.hibernate.mapping.Property property)

  Specified by:
    `apply` in interface `PropertyConstraint`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD