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 PatternValidator

    java.lang.Object
      org.hibernate.validator.PatternValidator

All Implemented Interfaces:
  Serializable, Validator<Pattern>

    public class PatternValidator

extends Object
implements Validator<Pattern>, Serializable

check if a given element match the regular expression

Author:
  Gavin King
See Also:
  Serialized Form

Constructor Summary
`PatternValidator()`

Method Summary
`void` | `initialize(Pattern parameters)` 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

### PatternValidator

    public PatternValidator()

Method Detail

### initialize

    public void initialize(Pattern parameters)

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

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

### isValid

    public boolean isValid(Object value)

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

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

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