- java.lang.Object
-
- io.github.mmm.validation.AbstractValidator<V>
-
- io.github.mmm.validation.AbstractValueValidator<CharSequence>
-
- io.github.mmm.validation.string.ValidatorPattern
-
- All Implemented Interfaces:
io.github.mmm.base.lang.Composable<Validator<?>>
,Validator<CharSequence>
,Iterable<Validator<?>>
public class ValidatorPattern extends AbstractValueValidator<CharSequence>
- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
-
Fields inherited from interface io.github.mmm.validation.Validator
ID_MANDATORY
-
-
Constructor Summary
Constructors Constructor Description ValidatorPattern(String pattern)
The constructor.ValidatorPattern(Pattern pattern)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getId()
int
hashCode()
protected io.github.mmm.nls.NlsMessage
validateNotNull(CharSequence value)
-
Methods inherited from class io.github.mmm.validation.AbstractValueValidator
validate, validateNull
-
Methods inherited from class io.github.mmm.validation.AbstractValidator
isDynamic, source2string, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.base.lang.Composable
getChild, getChildCount, iterator
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface io.github.mmm.validation.Validator
append, append, containsId, getMax, getMin, isMandatory, validate
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
getId()
, Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceValidator<CharSequence>
- Overrides:
getId
in classAbstractValidator<CharSequence>
-
validateNotNull
protected io.github.mmm.nls.NlsMessage validateNotNull(CharSequence value)
- Specified by:
validateNotNull
in classAbstractValueValidator<CharSequence>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractValidator<CharSequence>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractValidator<CharSequence>
-
-