Package | Description |
---|---|
org.foxlabs.validation.constraint |
Modifier and Type | Class and Description |
---|---|
class |
CapitalizeAllConstraint
This class provides
CorrectConstraint implementation that
converts to upper case first letters of all words in a string. |
class |
CapitalizeConstraint
This class provides
CorrectConstraint implementation that
converts to upper case first letter of first word in a string. |
class |
CoalesceConstraint
This class provides
CorrectConstraint implementation that
replaces all whitespaces with single character in a string. |
class |
DefaultValueConstraint<V>
This class provides
CorrectConstraint implementation that
replaces a null value with default value. |
class |
DespaceConstraint
This class provides
CorrectConstraint implementation that
removes all whitespaces from a string. |
class |
LowerCaseConstraint
This class provides
CorrectConstraint implementation that
converts a string to lower case. |
class |
MaxLengthConstraint
This class provides
CorrectConstraint implementation that
allows to cut length of a string. |
class |
NullifyConstraint
This class provides
CorrectConstraint implementation that
replaces an empty string with null . |
class |
RemoveNullElementsConstraint<V>
This class provides base implementation of the
CorrectConstraint
that removes all null elements from a sequence. |
static class |
RemoveNullElementsConstraint.ArrayType
This class provides
RemoveNullElementsConstraint
implementation for all array types. |
static class |
RemoveNullElementsConstraint.CollectionType
This class provides
RemoveNullElementsConstraint
implementation for all JDK java.util.Collection types. |
class |
ReplaceConstraint
This class provides
CorrectConstraint implementation that
Replaces each substring of a string that matches the given regular
expression with the given replacement. |
class |
SetNullConstraint
This class provides
CorrectConstraint implementation that
replaces a value with null . |
class |
SysdateConstraint
This class provides
CorrectConstraint implementation that
replaces a null date with current system date. |
class |
TrimConstraint
This class provides
CorrectConstraint implementation that
removes leading and trailing whitespaces from a string. |
class |
UpperCaseConstraint
This class provides
CorrectConstraint implementation that
converts a string to upper case. |
Copyright © 2011–2020 FoxLabs. All rights reserved.