|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.PatternValidator
public class PatternValidator
check if a given element match the regular expression
| Constructor Summary | |
|---|---|
PatternValidator()
|
|
| Method Summary | |
|---|---|
void |
initialize(Pattern parameters)
Take the annotations values |
boolean |
isValid(java.lang.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 |
|---|
public PatternValidator()
| Method Detail |
|---|
public void initialize(Pattern parameters)
Validator
initialize in interface Validator<Pattern>public boolean isValid(java.lang.Object value)
Validator
isValid in interface Validator<Pattern>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||