Package | Description |
---|---|
org.foxlabs.validation.constraint | |
org.foxlabs.validation.converter |
Modifier and Type | Class and Description |
---|---|
class |
ArrayElementConstraint<V>
This class provides
SequenceElementConstraint implementation
that performs validation of array elements. |
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 |
CascadeConstraint<V>
This class provides
Constraint implementation that performs
cascade validation on an entity. |
class |
CheckConstraint<V>
This class provides base implementation of the
Constraint
interface that only checks value and doesn't modify it. |
class |
CoalesceConstraint
This class provides
CorrectConstraint implementation that
replaces all whitespaces with single character in a string. |
class |
CollectionElementConstraint<V>
This class provides
SequenceElementConstraint implementation
that performs validation of collection elements. |
class |
ConstraintAggregation<V>
This class provides base implementation of the
Constraint that
encapsulates other constraints to validate a value. |
class |
ConstraintComposition<V>
This class provides
ConstraintAggregation implementation that
is composition of the encapsulated constraints. |
class |
ConstraintConjunction<V>
This class provides
ConstraintAggregation implementation that
is conjunction of the encapsulated constraints. |
class |
ConstraintDisjunction<V>
This class provides
ConstraintAggregation implementation that
is disjunction of the encapsulated constraints. |
class |
ConstraintNegation<V>
This class provides
ConstraintAggregation implementation that
is negation of the encapsulated constraints. |
class |
CorrectConstraint<V>
This class provides base implementation of the
Constraint
interface that modifies (corrects) value and never throws
ConstraintViolationException . |
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 |
EmailAddressConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid email address. |
class |
EnumerationConstraint<V>
This class provides base implementation of the
CheckConstraint
that checks whether the specified value is one of the allowed constants. |
static class |
EnumerationConstraint.Default<V>
This class provides default
EnumerationConstraint
implementation based on static set of constants. |
class |
FileExistsConstraint
This class provides
CheckConstraint implementation that checks
existence of a file or directory. |
class |
FileSizeConstraint
This class provides
CheckConstraint implementation that checks
whether size of a file is within allowed minimum and maximum bounds. |
class |
FutureDateConstraint
This class provides
CheckConstraint implementation that checks
whether a date is date in the future. |
class |
HostnameConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid internet hostname according to
RFC 1123. |
class |
IdentifierConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid identifier. |
class |
IgnoreCaseEnumerationConstraint
This class provides
EnumerationConstraint implementation based
on static set of case insensitive strings. |
class |
IllegalCharsetConstraint
This class provides
CheckConstraint implementation that checks
whether a string not contains disallowed characters. |
class |
ImageSizeConstraint<V>
This class provides base implementation of the
Constraint that
checks whether the size of an image is within maximum bounds. |
static class |
ImageSizeConstraint.AwtCodec
This class provides
ImageSizeConstraint implementation for
java.awt.Image type. |
static class |
ImageSizeConstraint.RawCodec
This class provides
ImageSizeConstraint implementation for
byte[] type. |
class |
InetAddressConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid internet address (can be either hostname or IP
address). |
class |
InstanceOfConstraint
This class provides
CheckConstraint implementation that checks
whether a value is instance of one of allowed types. |
class |
Ip4AddressConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid IPv4 address. |
class |
Ip6AddressConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid IPv6 address. |
class |
IpAddressConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid IPv4 or IPv6 address. |
class |
IsFalseConstraint
This class provides
CheckConstraint implementation that checks
whether a boolean value is false . |
class |
IsNullConstraint
This class provides
CheckConstraint implementation that checks
whether a value is null . |
class |
IsTrueConstraint
This class provides
CheckConstraint implementation that checks
whether a boolean value is true . |
class |
LegalCharsetConstraint
This class provides
CheckConstraint implementation that checks
whether a string contains allowed characters only. |
class |
LogLevelConstraint
This class provides
EnumerationConstraint implementation for
java.util.logging.Level known constants. |
class |
LowerCaseConstraint
This class provides
CorrectConstraint implementation that
converts a string to lower case. |
class |
MapKeyConstraint<V>
This class provides
SequenceElementConstraint implementation
that performs validation of map keys. |
class |
MapValueConstraint<V>
This class provides
SequenceElementConstraint implementation
that performs validation of map values. |
class |
MaxLengthConstraint
This class provides
CorrectConstraint implementation that
allows to cut length of a string. |
class |
MimeTypeConstraint
This class provides
RegexConstraint implementation that checks
whether a string is valid MIME type representation. |
class |
NotBlankConstraint
This class provides
CheckConstraint implementation that
checks whether a string is not null or empty. |
class |
NotEmptyConstraint<V>
This class provides base implementation of the
CheckConstraint
that checks whether a value is not empty. |
static class |
NotEmptyConstraint.ArrayType
This class provides
NotEmptyConstraint implementation for
all array types. |
static class |
NotEmptyConstraint.CollectionType
This class provides
NotEmptyConstraint implementation for
all JDK java.util.Collection types. |
static class |
NotEmptyConstraint.MapType
This class provides
NotEmptyConstraint implementation for
all JDK java.util.Map types. |
static class |
NotEmptyConstraint.StringType
This class provides
NotEmptyConstraint implementation for
java.lang.String type. |
class |
NotNullConstraint
This class provides
CheckConstraint implementation that checks
whether a value is not null . |
class |
NullifyConstraint
This class provides
CorrectConstraint implementation that
replaces an empty string with null . |
class |
PastDateConstraint
This class provides
CheckConstraint implementation that checks
whether a date is date in the past. |
class |
PropertyComparisonConstraint<V>
This class provides base implementation of the
CheckConstraint
that applies binary comparison operator to a value and other property. |
static class |
PropertyComparisonConstraint.EqualToOp<V>
This class provides
PropertyComparisonConstraint
implementation that applies == operator to a value and
other property. |
static class |
PropertyComparisonConstraint.GreaterThanEqualOp<V>
This class provides
PropertyComparisonConstraint
implementation that applies >= operator to a value and
other property. |
static class |
PropertyComparisonConstraint.GreaterThanOp<V>
This class provides
PropertyComparisonConstraint
implementation that applies > operator to a value and
other property. |
static class |
PropertyComparisonConstraint.LessThanEqualOp<V>
This class provides
PropertyComparisonConstraint
implementation that applies <= operator to a value and
other property. |
static class |
PropertyComparisonConstraint.LessThanOp<V>
This class provides
PropertyComparisonConstraint
implementation that applies < operator to a value and
other property. |
static class |
PropertyComparisonConstraint.NotEqualToOp<V>
This class provides
PropertyComparisonConstraint
implementation that applies != operator to a value and
other property. |
class |
RangeConstraint<V>
This class provides
CheckConstraint implementation that checks
whether a value is within allowed minimum and maximum range. |
class |
RegexConstraint
This class provides
CheckConstraint implementation that checks
whether a string matches the regular expression. |
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 |
SequenceElementConstraint<V,E>
This class provides base implementation of the
Constraint that
uses another constraint to validate elements of a sequence. |
class |
SetNullConstraint
This class provides
CorrectConstraint implementation that
replaces a value with null . |
class |
SizeConstraint<V>
This class provides base implementation of the
CheckConstraint
that checks whether the size of a value is within allowed minimum and
maximum bounds. |
static class |
SizeConstraint.ArrayType
This class provides
SizeConstraint implementation for all
array types. |
static class |
SizeConstraint.CollectionType
This class provides
SizeConstraint implementation for all
JDK java.util.Collection types. |
static class |
SizeConstraint.MapType
This class provides
SizeConstraint implementation for all
JDK java.util.Map types. |
static class |
SizeConstraint.StringType
This class provides
SizeConstraint implementation for
java.lang.String type. |
class |
SupportedEncodingConstraint
This class provides
EnumerationConstraint implementation that
checks whether a string is in list of available charset names supported by
JRE. |
class |
SupportedImageMimeConstraint
This class provides
EnumerationConstraint implementation that
checks whether a string is in list of available image MIME types supported
by javax.imageio.ImageIO . |
class |
SupportedLocaleConstraint
This class provides
EnumerationConstraint implementation that
checks whether a locale is in list of available locales supported by JRE. |
class |
SupportedTimeZoneConstraint
This class provides
EnumerationConstraint implementation that
checks whether a time zone is in list of available time zones supported by
JRE. |
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. |
class |
UriAddressConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid URI reference. |
class |
UrlAddressConstraint
This class provides
CheckConstraint implementation that checks
whether a string is valid URL reference. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConverter<V>
This class provides base implementation of the
Converter
interface. |
class |
ArrayConverter<V>
This class provides
Converter implementation for all
one-dimensional array types. |
class |
BigDecimalConverter
This class provides
NumberConverter implementation for the
java.math.BigDecimal type. |
class |
BigIntegerConverter
This class provides
NumberConverter implementation for the
java.math.BigInteger type. |
class |
BooleanConverter
This class provides
Converter implementation for the
java.lang.Boolean type. |
class |
ByteConverter
This class provides
NumberConverter implementation for the
java.lang.Byte type. |
class |
CharacterConverter
This class provides
Converter implementation for the
java.lang.Character type. |
class |
ClassConverter
This class provides
Converter implementation for the
java.lang.Class type. |
class |
CollectionConverter<V>
This class provides
Converter implementation for all JDK
java.util.Collection types. |
class |
DateConverter
This class provides
Converter implementation for the
java.util.Date type. |
class |
DoubleConverter
This class provides
NumberConverter implementation for the
java.lang.Double type. |
class |
EnumConverter<V extends Enum<V>>
This class provides
Converter implementation for all
java.lang.Enum enumeration types. |
class |
FileConverter
This class provides
Converter implementation for the
java.io.File type. |
class |
FloatConverter
This class provides
NumberConverter implementation for the
java.lang.Float type. |
class |
IntegerConverter
This class provides
NumberConverter implementation for the
java.lang.Integer type. |
class |
LocaleConverter
This class provides
Converter implementation for the
java.util.Locale type. |
class |
LogLevelConverter
This class provides
Converter implementation for the
java.util.logging.Level type. |
class |
LongConverter
This class provides
NumberConverter implementation for the
java.lang.Long type. |
class |
MapConverter<K,V>
This class provides
Converter implementation for all JDK
java.util.Map types. |
class |
NumberConverter<V extends Number>
This class provides base
Converter implementation for all
java.lang.Number types. |
static class |
NumberConverter.DecimalType<V extends Number>
This class provides base
NumberConverter implementation for
all decimal types. |
static class |
NumberConverter.IntegerType<V extends Number>
This class provides base
NumberConverter implementation for
all integer types. |
class |
SequenceConverter<V>
This class provides base
Converter implementation for
converters of elements sequence. |
class |
ShortConverter
This class provides
NumberConverter implementation for the
java.lang.Short type. |
class |
SimpleTokenizer
This class provides simple
Tokenizer implementation based on
delimiter characters like java.util.StringTokenizer . |
class |
StringConverter
This class provides
Converter implementation for the
java.lang.String type. |
class |
TimeZoneConverter
This class provides
Converter implementation for the
java.util.TimeZone type. |
class |
Tokenizer
This class provides base
Converter implementation for the
string array type. |
class |
UnsupportedConverter<V>
This class provides
Converter stub for any unsupported type. |
class |
URIConverter
This class provides
Converter implementation for the
java.net.URI type. |
class |
URLConverter
This class provides
Converter implementation for the
java.net.URL type. |
Copyright © 2011–2020 FoxLabs. All rights reserved.