- AbstractConverter<V> - Class in org.foxlabs.validation.converter
-
This class provides base implementation of the Converter
interface.
- AbstractConverter() - Constructor for class org.foxlabs.validation.converter.AbstractConverter
-
- AbstractEntityMetaData<T> - Class in org.foxlabs.validation.metadata
-
This class provides base implementation of the EntityMetaData
interface.
- AbstractEntityMetaData(Constraint<? super T>, Map<String, ? extends PropertyMetaData<T, Object>>) - Constructor for class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Constructs a new AbstractEntityMetaData
with the specified
entity constraint and properties metadata.
- AbstractMessageBuilder - Class in org.foxlabs.validation.message
-
This class provides base MessageBuilder
implementation.
- AbstractMessageBuilder() - Constructor for class org.foxlabs.validation.message.AbstractMessageBuilder
-
- AbstractPropertyMetaData<T,V> - Class in org.foxlabs.validation.metadata
-
This class provides base implementation of the PropertyMetaData
interface.
- AbstractPropertyMetaData(String, Converter<V>, Constraint<? super V>, V) - Constructor for class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Constructs a new AbstractPropertyMetaData
with the specified
name, converter, constraint and default value.
- AbstractValidation<V> - Class in org.foxlabs.validation
-
This class provides base implementation of the Validation
interface.
- AbstractValidation() - Constructor for class org.foxlabs.validation.AbstractValidation
-
- accept(PropertyMetaData<?, ?>) - Method in interface org.foxlabs.validation.metadata.PropertyFilter
-
Determines if the specified property should be accepted.
- accept(PropertyMetaData<?, ?>) - Method in class org.foxlabs.validation.metadata.PropertyFilter.And
-
Checks whether all of the encapsulated filters accept the specified
property.
- accept(PropertyMetaData<?, ?>) - Method in class org.foxlabs.validation.metadata.PropertyFilter.NameEndsWith
-
Determines if name of the specified property ends with provided
suffix.
- accept(PropertyMetaData<?, ?>) - Method in class org.foxlabs.validation.metadata.PropertyFilter.NameSet
-
Determines if set of provided property names contains name of the
specified property.
- accept(PropertyMetaData<?, ?>) - Method in class org.foxlabs.validation.metadata.PropertyFilter.NameStartsWith
-
Determines if name of the specified property starts with provided
prefix.
- accept(PropertyMetaData<?, ?>) - Method in class org.foxlabs.validation.metadata.PropertyFilter.Not
-
Checks whether the encapsulated filter not accepts the specified
property.
- accept(PropertyMetaData<?, ?>) - Method in class org.foxlabs.validation.metadata.PropertyFilter.Or
-
Checks whether at least one of the encapsulated filters accepts the
specified property.
- addDefaultConverter(Converter<V>) - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Registers a new default converter or overrides existing one.
- addListener(PropertyChangeListener) - Method in class org.foxlabs.validation.ConstrainedMap
-
Adds the specified listener to receive value change events from this map.
- addToCache(Class<? extends Annotation>, Validation<?>) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Adds validation component to the cache.
- addToCache(Class<? extends Annotation>, Validation<?>, Class<?>) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Adds validation component to the cache.
- addViolation(ViolationException) - Method in class org.foxlabs.validation.Validator.Context
-
- ALL - Static variable in interface org.foxlabs.validation.metadata.PropertyFilter
-
Default PropertyFilter
that accepts any property.
- ALL_GROUPS - Static variable in class org.foxlabs.validation.Validator
-
Array of constraint groups to be used for validation all the constraints.
- and(Collection<Constraint<? super V>>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that is conjunction of the specified constraints.
- and(Class<V>, Collection<Constraint<? super V>>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that is conjunction of the specified constraints.
- and(Constraint<? super V>...) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that is conjunction of the specified constraints.
- and(Class<V>, Constraint<? super V>...) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that is conjunction of the specified constraints.
- And(PropertyFilter...) - Constructor for class org.foxlabs.validation.metadata.PropertyFilter.And
-
Constructs a new PropertyFilter.And
with the specified
array of property filters.
- AnnotationSupport - Class in org.foxlabs.validation.support
-
This class provides annotation support methods and maintains validation
components cache.
- AnnotationSupport() - Constructor for class org.foxlabs.validation.support.AnnotationSupport
-
- appendIndex(ViolationException, StringBuilder) - Method in class org.foxlabs.validation.path.DefaultNodeFormatter
-
Appends index value of the specified violation node to the specified
path buffer.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.AbstractValidation
-
Appends context
argument that contains current validation
context.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in interface org.foxlabs.validation.constraint.Constraint
-
Appends arguments to be substituted into the error message template.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.ConstraintAggregation
-
Appends constraints
argument that contains encapsulated
constraints.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.ConstraintComposition
-
Returns false
.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.ConstraintWrapper
-
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.CustomConstraint
-
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.EnumerationConstraint
-
Appends constants
argument that contains set of allowed
constants.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.FileSizeConstraint
-
Appends minSize
and maxSize
arguments that
contain minimum and maximum allowed file size respectively.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.IdentityConstraint
-
Returns false
.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.IllegalCharsetConstraint
-
Appends charset
argument that contains disallowed character
set.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Appends maxWidth
and maxHeight
arguments that
contain maximum allowed image width and height respectively.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.InstanceOfConstraint
-
Appends types
argument that contains array of allowed types.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.LegalCharsetConstraint
-
Appends charset
argument that contains allowed character
set.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Appends property
argument that contains property name of
the second operand.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.RangeConstraint
-
Appends min
and max
arguments that contain
minimum and maximum value respectively.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.RegexConstraint
-
Appends pattern
argument that contains regular expression
pattern.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.SequenceElementConstraint
-
Appends constraint
argument that contains constraint of
sequence elements.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.SizeConstraint
-
Appends minSize
and maxSize
arguments that
contain minimum and maximum allowed size respectively.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.UriAddressConstraint
-
Appends schemes
argument that contains set of allowed
schemes.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.constraint.UrlAddressConstraint
-
Appends protocols
argument that contains set of allowed
protocols.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.ArrayConverter
-
Appends converter
argument that contains converter of array
elements.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.BooleanConverter
-
Appends constants
argument that contains set of allowed
boolean constants.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.CollectionConverter
-
Appends converter
argument that contains converter of
collection elements.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in interface org.foxlabs.validation.converter.Converter
-
Appends arguments to be substituted into the error message template.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.ConverterWrapper
-
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.CustomConverter
-
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.DateConverter
-
In case of localized conversion appends pattern
argument
that contains localized date/time pattern.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.EnumConverter
-
Appends constants
argument that contains set of allowed
enumeration constants.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.LogLevelConverter
-
Appends levels
argument that contains set of known log
levels.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.MapConverter
-
Appends kconverter
and vconverter
arguments
that contain converter of map keys and converter of map values
respectively.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.NumberConverter
-
In case of localized conversion appends pattern
argument
that contains localized number pattern.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.SequenceConverter
-
Appends tokenizer
argument that contains tokenizer of
elements sequence.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.SimpleTokenizer
-
Appends delims
argument that contains allowed elements
delimiter characters.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in class org.foxlabs.validation.converter.UnsupportedConverter
-
Appends type
argument that contains unsupported type.
- appendMessageArguments(ValidationContext<?>, Map<String, Object>) - Method in interface org.foxlabs.validation.Validation
-
- appendNode(ViolationException, StringBuilder) - Method in class org.foxlabs.validation.path.DefaultNodeFormatter
-
Appends the specified violation node to the specified path buffer.
- appendNode(ViolationException, StringBuilder) - Method in interface org.foxlabs.validation.path.NodeFormatter
-
Appends the specified violation node to the specified path buffer.
- appendSeparator(StringBuilder) - Method in class org.foxlabs.validation.path.DefaultNodeFormatter
-
Appends path separator to the specified path buffer.
- appendSeparator(StringBuilder) - Method in interface org.foxlabs.validation.path.NodeFormatter
-
Appends path separator to the specified path buffer.
- ArrayConverter<V> - Class in org.foxlabs.validation.converter
-
This class provides Converter
implementation for all
one-dimensional array types.
- arrayElement(Constraint<V>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that performs validation of array elements.
- ArrayElementConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides SequenceElementConstraint
implementation
that performs validation of array elements.
- arrayMaxSize(int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the length of an array is not
greater than allowed maximum length.
- arrayMinSize(int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the length of an array is not
less than allowed minimum length.
- arrayNotEmpty() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether an array is not empty.
- arrayRemoveNullElements() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that removes all null
elements from an
array.
- arraySize(int, int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the length of an array is within
allowed minimum and maximum bounds.
- awtImageSize(int, int, ImageAdjust) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the size of an image is within
maximum bounds.
- Capitalize - Annotation Type in org.foxlabs.validation.constraint
-
Converts to upper case first letter of first word in the annotated string.
- capitalize() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that converts to upper case first letter of first
word in a string.
- Capitalize.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Capitalize
annotations on the same element.
- CapitalizeAll - Annotation Type in org.foxlabs.validation.constraint
-
Converts to upper case first letters of all words in the annotated string.
- capitalizeAll() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that converts to upper case first letters of all
words in a string.
- CapitalizeAll.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @CapitalizeAll
annotations on the same
element.
- CapitalizeAllConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CorrectConstraint
implementation that
converts to upper case first letters of all words in a string.
- CapitalizeConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CorrectConstraint
implementation that
converts to upper case first letter of first word in a string.
- Cascade - Annotation Type in org.foxlabs.validation.constraint
-
Performs cascade validation on the annotated element.
- cascade(Class<V>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that performs cascade validation on an entity.
- cascade(EntityMetaData<V>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that performs cascade validation on an entity.
- Cascade.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Cascade
annotations on the same element.
- CascadeConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides Constraint
implementation that performs
cascade validation on an entity.
- cast(Object) - Method in class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Casts the specified entity to this entity type.
- cast(Object) - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Casts the specified value to this property type.
- cast(Object) - Method in class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Casts the specified value to this property type.
- cast(Object) - Method in interface org.foxlabs.validation.metadata.MetaData
-
Casts the specified value to data type.
- CharacterConverter - Class in org.foxlabs.validation.converter
-
This class provides Converter
implementation for the
java.lang.Character
type.
- charset - Variable in class org.foxlabs.validation.constraint.IllegalCharsetConstraint
-
Disallowed character set.
- charset - Variable in class org.foxlabs.validation.constraint.LegalCharsetConstraint
-
Allowed character set.
- check(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.CheckConstraint
-
Checks whether the specified value conforms this constraint rules.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.EmailAddressConstraint
-
Checks whether the specified string is valid email address.
- check(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.EnumerationConstraint
-
Checks whether the specified value is one of the allowed constants.
- check(File, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.FileExistsConstraint
-
Checks existence of the specified file or directory.
- check(File, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.FileSizeConstraint
-
Checks whether size of the specified file is within allowed minimum and
maximum bounds.
- check(Date, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.FutureDateConstraint
-
Checks whether the specified date is a date in the future.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.HostnameConstraint
-
Checks whether the specified string is valid internet hostname.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.IdentifierConstraint
-
Checks whether the specified string is valid identifier.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.IllegalCharsetConstraint
-
Checks whether the specified string not contains disallowed characters.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.InetAddressConstraint
-
Checks whether the specified string is valid internet address.
- check(Object, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.InstanceOfConstraint
-
Checks whether the specified value is instance of one of allowed types.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.Ip4AddressConstraint
-
Checks whether the specified string is valid IPv4 address.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.Ip6AddressConstraint
-
Checks whether the specified string is valid IPv6 address.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.IpAddressConstraint
-
Checks whether the specified string is valid IPv4 or IPv6 address.
- check(Boolean, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.IsFalseConstraint
-
Checks whether the specified boolean value is false
.
- check(Object, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.IsNullConstraint
-
Checks whether the specified value is null
.
- check(Boolean, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.IsTrueConstraint
-
Checks whether the specified boolean value is true
.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.LegalCharsetConstraint
-
Checks whether the specified string contains allowed characters only.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotBlankConstraint
-
Checks whether the specified string is not null
or empty.
- check(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint
-
Checks whether the specified value is not empty.
- check(Object, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotNullConstraint
-
Checks whether the specified value is not null
.
- check(Date, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.PastDateConstraint
-
Checks whether the specified date is a date in the past.
- check(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Applies binary comparison operator to the specified value and other
property.
- check(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.RangeConstraint
-
Checks whether the specified value is within allowed minimum and maximum
range.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.RegexConstraint
-
Checks whether the specified string matches the regular expression.
- check(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SizeConstraint
-
Checks whether the size of the specified value is within allowed
minimum and maximum bounds.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.UriAddressConstraint
-
Checks whether the specified string is valid URI reference with allowed
scheme.
- check(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.UrlAddressConstraint
-
Checks whether the specified string is valid URL reference with allowed
prefix and protocol.
- CheckConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides base implementation of the Constraint
interface that only checks value and doesn't modify it.
- CheckConstraint() - Constructor for class org.foxlabs.validation.constraint.CheckConstraint
-
- checkEntity(T) - Method in class org.foxlabs.validation.Validator.Context
-
- ClassConverter - Class in org.foxlabs.validation.converter
-
This class provides Converter
implementation for the
java.lang.Class
type.
- clear() - Method in class org.foxlabs.validation.ConstrainedMap
-
Resets all the values of this map to its default values.
- clear() - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Removes all the properties and clears entity constraint.
- Coalesce - Annotation Type in org.foxlabs.validation.constraint
-
Replaces all whitespaces with single character in the annotated string.
- coalesce() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that replaces all whitespaces with ' '
character in a string.
- coalesce(char, boolean) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that replaces all whitespaces with single character
in a string.
- Coalesce.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Coalesce
annotations on the same element.
- CoalesceConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CorrectConstraint
implementation that
replaces all whitespaces with single character in a string.
- CollectionConverter<V> - Class in org.foxlabs.validation.converter
-
This class provides Converter
implementation for all JDK
java.util.Collection
types.
- collectionElement(Constraint<V>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that performs validation of collection elements.
- CollectionElementConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides SequenceElementConstraint
implementation
that performs validation of collection elements.
- collectionMaxSize(int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the size of a collection is not
greater than allowed maximum size.
- collectionMinSize(int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the size of a collection is not
less than allowed minimum size.
- collectionNotEmpty() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a collection is not empty.
- collectionRemoveNullElements() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that removes all null
elements from a
collection.
- collectionSize(int, int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the size of a collection is
within allowed minimum and maximum bounds.
- commit(boolean) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Completes the transaction.
- comparator - Variable in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Comparator to be used for operands comparison.
- compare(Comparable<Object>, Comparable<Object>) - Method in class org.foxlabs.validation.constraint.DefaultComparator
-
Compares two java.lang.Comparable
objects.
- compare(V, V) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Applies binary comparison operator between two values.
- compare(V, V) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint.EqualToOp
-
Compares if the first specified operand equals to the second.
- compare(V, V) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint.GreaterThanEqualOp
-
Compares if the first specified operand is greater than or equal to
the second.
- compare(V, V) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint.GreaterThanOp
-
Compares if the first specified operand is greater than the second.
- compare(V, V) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint.LessThanEqualOp
-
Compares if the first specified operand is less than or equal to the
second.
- compare(V, V) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint.LessThanOp
-
Compares if the first specified operand is less than the second.
- compare(V, V) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint.NotEqualToOp
-
Compares if the first specified operand not equals to the second.
- Composition - Annotation Type in org.foxlabs.validation.constraint
-
Composition of constraints of the annotated element.
- Conjunction - Annotation Type in org.foxlabs.validation.constraint
-
Conjunction of constraints of the annotated element.
- constants - Variable in class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Unmodifiable set of allowed constants.
- ConstrainedBy - Annotation Type in org.foxlabs.validation.constraint
-
Link between a constraint annotation and its Constraint
implementations.
- ConstrainedMap - Class in org.foxlabs.validation
-
This class represents map with constrained entries.
- ConstrainedMap(Validator<Map<String, Object>>) - Constructor for class org.foxlabs.validation.ConstrainedMap
-
Constructs a new ConstrainedMap
with the specified
validator of map entries.
- ConstrainedMap.Entry<V> - Class in org.foxlabs.validation
-
This map entry holds metadata information and provides advanced
operations.
- ConstrainedMap.Transaction - Class in org.foxlabs.validation
-
This class allows to perform modification operations of this map on a
snapshot that is created at the moment of construction of the
transaction.
- Constraint<V> - Interface in org.foxlabs.validation.constraint
-
The root interface in the constraint hierarchy.
- constraint - Variable in class org.foxlabs.validation.constraint.ConstraintWrapper
-
Wrapped constraint.
- constraint - Variable in class org.foxlabs.validation.constraint.SequenceElementConstraint
-
Constraint to be used to validate elements of a sequence.
- constraint - Variable in class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Constraint to be used for entity validation.
- constraint - Variable in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Constraint to be used for property value validation.
- constraint - Variable in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Constraint to be used for entity validation.
- constraint(Constraint<? super T>) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines constraint to be used for entity validation.
- ConstraintAggregation<V> - Class in org.foxlabs.validation.constraint
-
This class provides base implementation of the Constraint
that
encapsulates other constraints to validate a value.
- ConstraintAggregation(Class<?>, Constraint<? super V>...) - Constructor for class org.foxlabs.validation.constraint.ConstraintAggregation
-
Constructs a new ConstraintAggregation
with the specified
value type and array of other constraints.
- ConstraintComposition<V> - Class in org.foxlabs.validation.constraint
-
This class provides ConstraintAggregation
implementation that
is composition of the encapsulated constraints.
- ConstraintConjunction<V> - Class in org.foxlabs.validation.constraint
-
This class provides ConstraintAggregation
implementation that
is conjunction of the encapsulated constraints.
- ConstraintDisjunction<V> - Class in org.foxlabs.validation.constraint
-
This class provides ConstraintAggregation
implementation that
is disjunction of the encapsulated constraints.
- ConstraintFactory - Class in org.foxlabs.validation.constraint
-
Defines a factory that allows to obtain Constraint
instances.
- ConstraintGroupWrapper<V> - Class in org.foxlabs.validation.constraint
-
This class provides ability to override groups of another constraint.
- ConstraintMessageWrapper<V> - Class in org.foxlabs.validation.constraint
-
This class provides ability to override error message of another constraint.
- ConstraintNegation<V> - Class in org.foxlabs.validation.constraint
-
This class provides ConstraintAggregation
implementation that
is negation of the encapsulated constraints.
- constraints - Variable in class org.foxlabs.validation.constraint.ConstraintAggregation
-
Array of constraints to be used for validation of a value.
- ConstraintViolationException - Exception in org.foxlabs.validation.constraint
-
Thrown to indicate that constraint validation fails.
- ConstraintViolationException(Constraint<?>, ValidationContext<?>, Object) - Constructor for exception org.foxlabs.validation.constraint.ConstraintViolationException
-
Constructs a new ConstraintViolationException
with the
specified constraint, context and invalid value.
- ConstraintViolationException(Constraint<?>, ValidationContext<?>, Object, Throwable) - Constructor for exception org.foxlabs.validation.constraint.ConstraintViolationException
-
Constructs a new ConstraintViolationException
with the
specified constraint, context, invalid value and cause.
- ConstraintWrapper<V> - Class in org.foxlabs.validation.constraint
-
This class provides convenient implementation of the Constraint
that can be subclassed to wrap another constraint.
- ConstraintWrapper(Constraint<V>) - Constructor for class org.foxlabs.validation.constraint.ConstraintWrapper
-
Constructs a new ConstraintWrapper
with the specified
constraint.
- containsKey(Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Determines if this map contains an entry for the specified key.
- containsValue(Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Determines if this map contains one or more keys with the specified
value.
- Context() - Constructor for class org.foxlabs.validation.constraint.ImageSizeConstraint.Context
-
- Context(Validator<T>.ContextBuilder) - Constructor for class org.foxlabs.validation.Validator.Context
-
Constructs a new Context
using parameters from the
specified context builder.
- ContextBuilder() - Constructor for class org.foxlabs.validation.Validator.ContextBuilder
-
Constructs default ContextBuilder
.
- ContextBuilder(ValidationContext<?>) - Constructor for class org.foxlabs.validation.Validator.ContextBuilder
-
Constructs a new ContextBuilder
for cascade validation.
- ConvertedBy - Annotation Type in org.foxlabs.validation.converter
-
Link between a converter annotation and its Converter
implementations.
- Converter<V> - Interface in org.foxlabs.validation.converter
-
The root interface in the converter hierarchy.
- converter - Variable in class org.foxlabs.validation.converter.ConverterWrapper
-
Wrapped converter.
- converter - Variable in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Converter to be used for property value conversion into and from string.
- ConverterFactory - Class in org.foxlabs.validation.converter
-
Defines a factory that allows to obtain Converter
instances.
- ConverterMessageWrapper<V> - Class in org.foxlabs.validation.converter
-
This class provides ability to override error message of another converter.
- ConverterWrapper<V> - Class in org.foxlabs.validation.converter
-
This class provides convenient implementation of the Converter
that can be subclassed to wrap another converter.
- ConverterWrapper(Converter<V>) - Constructor for class org.foxlabs.validation.converter.ConverterWrapper
-
Constructs a new ConverterWrapper
with the specified
converter.
- CorrectConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides base implementation of the Constraint
interface that modifies (corrects) value and never throws
ConstraintViolationException
.
- CorrectConstraint() - Constructor for class org.foxlabs.validation.constraint.CorrectConstraint
-
- createConstraint(Type, Annotation[], String, ValidationDefaults) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Creates a new constraint for the specified generic value type using
configuration from the specified annotations.
- createConverter(Class<V>, String) - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Returns converter for the specified value type.
- createConverter(Type, Annotation[], String) - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Creates a new converter for the specified generic value type using
configuration from the specified annotations.
- createValidation(Class<T>, Annotation, Class<?>) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Creates a new instance of the specified validation component type.
- currentEntity - Variable in class org.foxlabs.validation.Validator.Context
-
Current entity we are validating.
- currentIndex - Variable in class org.foxlabs.validation.Validator.Context
-
Current item index we are validating.
- currentTarget - Variable in class org.foxlabs.validation.Validator.Context
-
Current validation target we are validating.
- CustomConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides Constraint
implementation for custom
constraints.
- CustomConverter<V> - Class in org.foxlabs.validation.converter
-
This class provides Converter
implementation for custom
converters.
- DateConverter - Class in org.foxlabs.validation.converter
-
This class provides Converter
implementation for the
java.util.Date
type.
- DateConverter() - Constructor for class org.foxlabs.validation.converter.DateConverter
-
Constructs default DateConverter
.
- DateConverter(String) - Constructor for class org.foxlabs.validation.converter.DateConverter
-
Constructs a new DateConverter
with the specified date/time
pattern.
- DateConverter(DatePattern) - Constructor for class org.foxlabs.validation.converter.DateConverter
-
Constructs a new DateConverter
from the specified
annotation.
- DateConverter(int, int) - Constructor for class org.foxlabs.validation.converter.DateConverter
-
Constructs a new DateConverter
with the specified date and
time styles.
- DateConverter(DateStyle) - Constructor for class org.foxlabs.validation.converter.DateConverter
-
Constructs a new DateConverter
from the specified
annotation.
- DatePattern - Annotation Type in org.foxlabs.validation.converter
-
The annotated date pattern (see java.text.SimpleDateFormat
for
more information).
- datePattern - Variable in class org.foxlabs.validation.ValidatorFactory
-
Default pattern for dates.
- DatePattern.List - Annotation Type in org.foxlabs.validation.converter
-
Defines several @DatePattern
annotations on the same
element.
- dateStyle - Variable in class org.foxlabs.validation.converter.DateConverter
-
java.text.DateFormat
date style.
- DateStyle - Annotation Type in org.foxlabs.validation.converter
-
The annotated date style (see java.text.DateFormat
for more
information).
- dateStyle - Variable in class org.foxlabs.validation.ValidatorFactory
-
Default date style.
- DateStyle.List - Annotation Type in org.foxlabs.validation.converter
-
Defines several @DateStyle
annotations on the same element.
- decimalPattern - Variable in class org.foxlabs.validation.ValidatorFactory
-
Default pattern for decimal numbers.
- DecimalType(String) - Constructor for class org.foxlabs.validation.converter.NumberConverter.DecimalType
-
Constructs a new NumberConverter.DecimalType
with the
specified number pattern.
- decode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.AbstractConverter
-
Converts string representation of value into object.
- decode(String, ValidationContext<T>) - Method in interface org.foxlabs.validation.converter.Converter
-
Converts string representation of value into object.
- decode(Class<V>, String) - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Converts default string representation of value into object of the
specified type using registered converter.
- decode(Class<V>, String...) - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Converts array of default string representations of values into array of
objects of the specified type using registered converter.
- decode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.ConverterWrapper
-
- decode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.CustomConverter
-
- decode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.SequenceConverter
-
Converts string representation of elements sequence into object.
- decode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.StringConverter
-
Returns value as is.
- decode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.Tokenizer
-
Returns array of tokens extracted from the source string.
- decode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.UnsupportedConverter
-
Throws MalformedValueException
.
- decodeImage(Image) - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint.AwtCodec
-
Returns context that contains the specified image.
- decodeImage(V) - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Decodes the specified raw image representation into
java.awt.Image
and returns context that contains image and
its attributes.
- decodeImage(byte[]) - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint.RawCodec
-
Decodes the specified byte[]
array representing an
image into java.awt.Image
and returns context that
contains image and its format name.
- decodeValue(String, String) - Method in class org.foxlabs.validation.Validator.Context
-
- decodeValue(Converter<V>, String) - Method in class org.foxlabs.validation.Validator.Context
-
- decodeValue(String, String) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Converts string representation of property value into object using
predefined custom parameters.
- decodeValue(Converter<V>, String) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Converts string representation of value into object using the
specified converter and predefined custom parameters.
- decodeValues(String, String...) - Method in class org.foxlabs.validation.Validator.Context
-
- decodeValues(Converter<V>, String...) - Method in class org.foxlabs.validation.Validator.Context
-
- decodeValues(String, String...) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Converts array of string representations of property values into
array of objects using predefined custom parameters.
- decodeValues(Converter<V>, String...) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Converts array of string representations of values into array of
objects using the specified converter and predefined custom
parameters.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.CapitalizeAllConstraint
-
CapitalizeAllConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.CapitalizeConstraint
-
CapitalizeConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.CoalesceConstraint
-
CoalesceConstraint
default instance initialized with
' '
whitespaces replacement character.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.DespaceConstraint
-
DespaceConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.EmailAddressConstraint
-
EmailAddressConstraint
single instance.
- Default(V...) - Constructor for class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Constructs a new EnumerationConstraint.Default
with the
specified array of allowed constants.
- Default(Class<?>, V...) - Constructor for class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Constructs a new EnumerationConstraint.Default
with the
specified array of allowed constants and their type.
- Default(Collection<V>) - Constructor for class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Constructs a new EnumerationConstraint.Default
with the
specified collection of allowed constants.
- Default(Class<?>, Collection<V>) - Constructor for class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Constructs a new EnumerationConstraint.Default
with the
specified collection of allowed constants and their type.
- Default(Class<?>, Set<V>) - Constructor for class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Constructs a new EnumerationConstraint.Default
with the
specified set of allowed constants and their type.
- Default(Class<V>, Enumeration) - Constructor for class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Constructs a new EnumerationConstraint.Default
from the
specified annotation and type.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.FutureDateConstraint
-
FutureDateConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.HostnameConstraint
-
HostnameConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.IdentifierConstraint
-
IdentifierConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.IdentityConstraint
-
The IdentityConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.InetAddressConstraint
-
InetAddressConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.Ip4AddressConstraint
-
Ip4AddressConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.Ip6AddressConstraint
-
Ip6AddressConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.IpAddressConstraint
-
IpAddressConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.IsFalseConstraint
-
IsFalseConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.IsNullConstraint
-
IsNullConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.IsTrueConstraint
-
IsTrueConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.LogLevelConstraint
-
LogLevelConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.LowerCaseConstraint
-
LowerCaseConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.MimeTypeConstraint
-
MimeTypeConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.NotBlankConstraint
-
NotBlankConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.NotEmptyConstraint.ArrayType
-
NotEmptyConstraint.ArrayType
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.NotEmptyConstraint.CollectionType
-
NotEmptyConstraint.CollectionType
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.NotEmptyConstraint.MapType
-
NotEmptyConstraint.MapType
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.NotEmptyConstraint.StringType
-
NotEmptyConstraint.StringType
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.NotNullConstraint
-
NotNullConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.NullifyConstraint
-
NullifyConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.PastDateConstraint
-
PastDateConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.RemoveNullElementsConstraint.ArrayType
-
RemoveNullElementsConstraint.ArrayType
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.RemoveNullElementsConstraint.CollectionType
-
RemoveNullElementsConstraint.CollectionType
single
instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.SetNullConstraint
-
SetNullConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.SupportedEncodingConstraint
-
SupportedEncodingConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.SupportedImageMimeConstraint
-
SupportedImageMimeConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.SupportedLocaleConstraint
-
SupportedLocaleConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.SupportedTimeZoneConstraint
-
SupportedTimeZoneConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.SysdateConstraint
-
SysdateConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.TrimConstraint
-
TrimConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.UpperCaseConstraint
-
UpperCaseConstraint
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.UriAddressConstraint
-
UriAddressConstraint
default instance initialized with
empty set of schemes.
- DEFAULT - Static variable in class org.foxlabs.validation.constraint.UrlAddressConstraint
-
UrlAddressConstraint
default instance initialized with
no prefix and empty set of protocols.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.BigDecimalConverter
-
BigDecimalConverter
default instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.BigIntegerConverter
-
BigIntegerConverter
default instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.ClassConverter
-
ClassConverter
default instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.DateConverter
-
DateConverter
default instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.FileConverter
-
FileConverter
default instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.LocaleConverter
-
LocaleConverter
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.LogLevelConverter
-
LogLevelConverter
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.SimpleTokenizer
-
SimpleTokenizer
default instance initialized with
,;| \t\n\r
elements delimiters.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.StringConverter
-
StringConverter
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.TimeZoneConverter
-
TimeZoneConverter
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.URIConverter
-
URIConverter
single instance.
- DEFAULT - Static variable in class org.foxlabs.validation.converter.URLConverter
-
URLConverter
single instance.
- DEFAULT - Static variable in interface org.foxlabs.validation.message.MessageBuilder
-
MessageBuilder
default instance.
- DEFAULT - Static variable in interface org.foxlabs.validation.message.MessageResolver
-
MessageResolver
default instance.
- DEFAULT - Static variable in interface org.foxlabs.validation.path.NodeFormatter
-
NodeFormatter
default instance.
- DEFAULT_GROUP - Static variable in class org.foxlabs.validation.Validator
-
Default constraint group.
- DEFAULT_GROUP_SET - Static variable in class org.foxlabs.validation.support.AnnotationSupport
-
Default set of constraint groups.
- DEFAULT_TARGET_SET - Static variable in class org.foxlabs.validation.support.AnnotationSupport
-
Default set of validation targets.
- DefaultComparator - Class in org.foxlabs.validation.constraint
-
This class provides java.util.Comparator
implementation for
objects that implement java.lang.Comparable
interface.
- DefaultMessageBuilder - Class in org.foxlabs.validation.message
-
This class provides default MessageBuilder
implementation.
- DefaultMessageBuilder() - Constructor for class org.foxlabs.validation.message.DefaultMessageBuilder
-
Constructs default DefaultMessageBuilder
.
- DefaultNodeFormatter - Class in org.foxlabs.validation.path
-
This class provides default implementation of the NodeFormatter
interface.
- DefaultNodeFormatter(String) - Constructor for class org.foxlabs.validation.path.DefaultNodeFormatter
-
Constructs a new DefaultNodeFormatter
with the specified
path separator.
- DefaultNodeFormatter(String, String[], String[]) - Constructor for class org.foxlabs.validation.path.DefaultNodeFormatter
-
Constructs a new DefaultNodeFormatter
with the specified
path separator and index brackets.
- defaultValue(V) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that replaces a null
value with default
value.
- DefaultValue - Annotation Type in org.foxlabs.validation.constraint
-
Replaces null
value of the annotated element with default value.
- defaultValue - Variable in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Property default value.
- DefaultValue.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @DefaultValue
annotations on the same
element.
- DefaultValueConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides CorrectConstraint
implementation that
replaces a null
value with default value.
- despace() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that removes all whitespaces from a string.
- Despace - Annotation Type in org.foxlabs.validation.constraint
-
Removes all whitespaces from the annotated string.
- Despace.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Despace
annotations on the same element.
- DespaceConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CorrectConstraint
implementation that
removes all whitespaces from a string.
- DIRECTORY - Static variable in class org.foxlabs.validation.constraint.FileExistsConstraint
-
FileExistsConstraint
single instance that checks existence
of a directory.
- directoryExists() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks existence of a directory.
- Disjunction - Annotation Type in org.foxlabs.validation.constraint
-
Disjunction of constraints of the annotated element.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.AbstractConverter
-
Converts non-empty string representation of value into object.
- doDecode(String[], ValidationContext<T>, List<MalformedValueException>) - Method in class org.foxlabs.validation.converter.ArrayConverter
-
Converts string representations of array elements into array.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.BooleanConverter
-
Converts string representation of boolean value into
java.lang.Boolean
object.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.CharacterConverter
-
Converts string representation of character value into
java.lang.Character
object.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.ClassConverter
-
Returns java.lang.Class
object for the specified class name.
- doDecode(String[], ValidationContext<T>, List<MalformedValueException>) - Method in class org.foxlabs.validation.converter.CollectionConverter
-
Converts string representations of collection elements into collection.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.DateConverter
-
Converts string representation of date/time into
java.util.Date
object.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.EnumConverter
-
Converts string representation of enumeration value into
java.lang.Enum
object.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.FileConverter
-
Returns java.io.File
object for the specified path.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.LocaleConverter
-
Converts string representation of locale into
java.util.Locale
object.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.LogLevelConverter
-
Converts string representation of log level into
java.util.logging.Level
object.
- doDecode(String[], ValidationContext<T>, List<MalformedValueException>) - Method in class org.foxlabs.validation.converter.MapConverter
-
Converts string representations of key-value pairs into map.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.NumberConverter
-
Converts string representation of numeric value into
java.lang.Number
object.
- doDecode(String[], ValidationContext<T>, List<MalformedValueException>) - Method in class org.foxlabs.validation.converter.SequenceConverter
-
Converts string representations of elements into elements sequence.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.SimpleTokenizer
-
Returns array of tokens extracted from the source string.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.TimeZoneConverter
-
Converts string representation of time zone into
java.util.TimeZone
object.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.URIConverter
-
Converts URI string into java.net.URI
object.
- doDecode(String, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.URLConverter
-
Converts URL string into java.net.URL
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.BigDecimalConverter
-
Converts default string representation of decimal value into
java.math.BigDecimal
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.BigIntegerConverter
-
Converts default string representation of integer value into
java.math.BigInteger
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.ByteConverter
-
Converts default string representation of byte value into
java.lang.Byte
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.DateConverter
-
Converts default string representation of date/time into
java.util.Date
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.DoubleConverter
-
Converts default string representation of double value into
java.lang.Double
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.FloatConverter
-
Converts default string representation of float value into
java.lang.Float
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.IntegerConverter
-
Converts default string representation of integer value into
java.lang.Integer
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.LongConverter
-
Converts default string representation of long value into
java.lang.Long
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.NumberConverter
-
Converts default string representation of numeric value into
java.lang.Number
object.
- doDecodeDefault(String) - Method in class org.foxlabs.validation.converter.ShortConverter
-
Converts default string representation of short value into
java.lang.Short
object.
- doEncode(V, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.AbstractConverter
-
Converts null-safe value into string representation.
- doEncode(Boolean, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.BooleanConverter
-
Converts java.lang.Boolean
object into string
representation.
- doEncode(Class<?>, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.ClassConverter
-
Returns class name for the specified java.lang.Class
object.
- doEncode(Date, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.DateConverter
-
Converts java.util.Date
object into string representation.
- doEncode(V, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.EnumConverter
-
Converts java.lang.Enum
object into string representation.
- doEncode(File, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.FileConverter
-
Returns pathname for the specified java.io.File
object.
- doEncode(Locale, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.LocaleConverter
-
Converts java.util.Locale
object into string representation.
- doEncode(Level, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.LogLevelConverter
-
Converts java.util.logging.Level
object into string
representation.
- doEncode(V, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.NumberConverter
-
Converts java.lang.Number
object into string representation.
- doEncode(String[], ValidationContext<T>) - Method in class org.foxlabs.validation.converter.SimpleTokenizer
-
Builds string from the specified array of tokens.
- doEncode(TimeZone, ValidationContext<T>) - Method in class org.foxlabs.validation.converter.TimeZoneConverter
-
Converts java.util.TimeZone
object into string
representation.
- doEncodeDefault(Date) - Method in class org.foxlabs.validation.converter.DateConverter
-
Converts java.util.Date
object into default string
representation.
- doEncodeDefault(V) - Method in class org.foxlabs.validation.converter.NumberConverter
-
Converts java.lang.Number
object into default string
representation.
- doLoad(BufferedReader) - Method in class org.foxlabs.validation.ConstrainedMap
-
Reads a key-value pairs from the specified input character stream in a
simple line-oriented format.
- doSave(BufferedWriter, Locale, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Writes a key-value pairs from this map to the specified output character
stream in a simple line-oriented format.
- DoubleConverter - Class in org.foxlabs.validation.converter
-
This class provides NumberConverter
implementation for the
java.lang.Double
type.
- doValidate(Object, ValidationContext<T>, List<ConstraintViolationException>) - Method in class org.foxlabs.validation.constraint.ArrayElementConstraint
-
Checks whether all elements of the specified array conforms to the
constraint of array elements.
- doValidate(Collection<V>, ValidationContext<T>, List<ConstraintViolationException>) - Method in class org.foxlabs.validation.constraint.CollectionElementConstraint
-
Checks whether all elements of the specified collection conforms to the
constraint of collection elements.
- doValidate(Map<V, Object>, ValidationContext<T>, List<ConstraintViolationException>) - Method in class org.foxlabs.validation.constraint.MapKeyConstraint
-
Checks whether all keys of the specified map conforms to the constraint
of map keys.
- doValidate(Map<Object, V>, ValidationContext<T>, List<ConstraintViolationException>) - Method in class org.foxlabs.validation.constraint.MapValueConstraint
-
Checks whether all values of the specified map conforms to the constraint
of map values.
- doValidate(V, ValidationContext<T>, List<ConstraintViolationException>) - Method in class org.foxlabs.validation.constraint.SequenceElementConstraint
-
Checks whether all elements of the specified sequence conforms to the
constraint of sequence elements.
- get(Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns value to which the specified key is mapped.
- getAdjustMode() - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Returns image size adjust mode.
- getAllPropertyMetaData() - Method in class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Returns metadata of all the properties defined on the entity.
- getAllPropertyMetaData() - Method in interface org.foxlabs.validation.metadata.EntityMetaData
-
Returns metadata of all the properties defined on the entity.
- getAnnotation() - Method in exception org.foxlabs.validation.ValidationDeclarationException
-
Returns Validation
annotation.
- getAnnotationGroups(Annotation, String...) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Returns groups
property value from the specified annotation
or the specified default groups if annotation has no such property and
array of default groups is not empty; returns null
otherwise.
- getAnnotationList(Annotation) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Returns array of annotations defined by the specified inner
List
annotation or array with single element which
contains the specified annotation if it not conforms to the rules of
annotation list definition.
- getAnnotationMessage(Annotation, String) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Returns message
property value from the specified
annotation or default annotation message if annotation has no such
property.
- getAnnotationProperty(Annotation, String, Class<T>) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Returns annotation property value for the specified property name and
type or null
if the specified annotation has no property
with such name and type.
- getAnnotationTargets(Annotation) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Returns targets
property value from the specified annotation
or default target set if annotation has no such property.
- getBeanType() - Method in exception org.foxlabs.validation.metadata.BeanDefinitionException
-
Returns bean type.
- getCharset() - Method in class org.foxlabs.validation.constraint.IllegalCharsetConstraint
-
Returns disallowed character set.
- getCharset() - Method in class org.foxlabs.validation.constraint.LegalCharsetConstraint
-
Returns allowed character set.
- getComment() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns comment corresponding to this entry for default locale.
- getComment(Locale) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns comment corresponding to this entry for the specified locale.
- getComparator() - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Returns comparator to be used for operands comparison.
- getComparator() - Method in class org.foxlabs.validation.constraint.RangeConstraint
-
Returns comparator to be used for range checking.
- getComponent() - Method in exception org.foxlabs.validation.ViolationException
-
Returns validation component that is source of this exception.
- getConstants() - Method in class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Returns unmodifiable set of allowed constants.
- getConstants() - Method in class org.foxlabs.validation.constraint.EnumerationConstraint
-
Returns unmodifiable set of allowed constants.
- getConstraint() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns constraint to be used for value validation.
- getConstraint() - Method in exception org.foxlabs.validation.constraint.ConstraintViolationException
-
Returns constraint that is source of this exception.
- getConstraint() - Method in class org.foxlabs.validation.constraint.ConstraintWrapper
-
Returns wrapped constraint.
- getConstraint() - Method in class org.foxlabs.validation.constraint.SequenceElementConstraint
-
Returns constraint to be used to validate elements of a sequence.
- getConstraint() - Method in class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Returns constraint to be used for entity validation.
- getConstraint() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Returns constraint to be used for property value validation.
- getConstraint() - Method in interface org.foxlabs.validation.metadata.MetaData
-
Returns constraint to be used for data validation.
- getConstraints() - Method in class org.foxlabs.validation.constraint.ConstraintAggregation
-
Returns array of constraints to be used for validation of a value.
- getConverter() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns converter to be used for value conversion into and from
string representation.
- getConverter() - Method in class org.foxlabs.validation.converter.ConverterWrapper
-
Returns wrapped converter.
- getConverter() - Method in exception org.foxlabs.validation.converter.MalformedValueException
-
Returns converter that is source of this exception.
- getConverter() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Returns converter to be used for property value conversion into and from
string.
- getConverter() - Method in interface org.foxlabs.validation.metadata.PropertyMetaData
-
Returns converter to be used for property value conversion into and from
string representation.
- getCurrentEntity() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns current entity we are validating.
- getCurrentEntity() - Method in class org.foxlabs.validation.Validator.Context
-
Returns current entity we are validating.
- getCurrentIndex() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns current item index (or map key) we are validating.
- getCurrentIndex() - Method in class org.foxlabs.validation.Validator.Context
-
Returns current item index (or map key) we are validating.
- getCurrentTarget() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns current validation target we are validating.
- getCurrentTarget() - Method in class org.foxlabs.validation.Validator.Context
-
Returns current validation target we are validating.
- getDateFormat() - Method in interface org.foxlabs.validation.ValidationContext
-
- getDateFormat(String) - Method in interface org.foxlabs.validation.ValidationContext
-
- getDateFormat(int, int) - Method in interface org.foxlabs.validation.ValidationContext
-
- getDateFormat() - Method in class org.foxlabs.validation.Validator.Context
-
- getDateFormat(String) - Method in class org.foxlabs.validation.Validator.Context
-
- getDateFormat(int, int) - Method in class org.foxlabs.validation.Validator.Context
-
- getDecimalFormat() - Method in interface org.foxlabs.validation.ValidationContext
-
- getDecimalFormat(String) - Method in interface org.foxlabs.validation.ValidationContext
-
- getDecimalFormat() - Method in class org.foxlabs.validation.Validator.Context
-
- getDecimalFormat(String) - Method in class org.foxlabs.validation.Validator.Context
-
- getDefault() - Static method in class org.foxlabs.validation.ValidatorFactory
-
Returns immutable validator factory configured by default.
- getDefaultConverter(Class<V>) - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Returns default converter for the specified value type.
- getDefaultValue() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns default value of this entry.
- getDefaultValue() - Method in class org.foxlabs.validation.constraint.DefaultValueConstraint
-
Returns default value.
- getDefaultValue() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Returns default value of this property.
- getDefaultValue() - Method in interface org.foxlabs.validation.metadata.ElementMetaData
-
Returns default value of this entity element.
- getDisplayName(Locale, Locale) - Static method in class org.foxlabs.validation.converter.LocaleConverter
-
Returns localized name for the specified locale.
- getDisplayName(TimeZone, Locale) - Static method in class org.foxlabs.validation.converter.TimeZoneConverter
-
Returns localized name for the specified time zone.
- getElementMetaData() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns metadata of the current element we are validating.
- getElementMetaData() - Method in class org.foxlabs.validation.Validator.Context
-
Returns metadata of the current element we are validating.
- getElementName() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns name of the element defined on the entity we are validating.
- getElementName() - Method in class org.foxlabs.validation.Validator.Context
-
Returns name of the element defined on the entity we are validating.
- getElementName() - Method in exception org.foxlabs.validation.ViolationException
-
Returns name of the element defined on the entity.
- getElementType() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns type of the element defined on the entity we are validating.
- getElementType() - Method in class org.foxlabs.validation.Validator.Context
-
Returns type of the element defined on the entity we are validating.
- getElementType() - Method in exception org.foxlabs.validation.ViolationException
-
Returns type of the element defined on the entity.
- getEncodedValue(T, String) - Method in class org.foxlabs.validation.Validator.Context
-
- getEncodedValue(T, String) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Returns string representation of property value for the specified
entity using predefined custom parameters.
- getEncodedValues(T) - Method in class org.foxlabs.validation.Validator.Context
-
- getEncodedValues(T) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Returns string representations of property values for the specified
entity using predefined custom parameters.
- getEntityMetaData() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns metadata of the current entity we are validating.
- getEntityMetaData() - Method in class org.foxlabs.validation.Validator.Context
-
Returns metadata of the current entity we are validating.
- getEntityType() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns type of the entity we are validating.
- getEntityType() - Method in class org.foxlabs.validation.Validator.Context
-
Returns type of the entity we are validating.
- getEntityType() - Method in exception org.foxlabs.validation.ViolationException
-
Returns type of the entity.
- getEntry(String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns map entry for the specified key.
- getFactory() - Method in class org.foxlabs.validation.Validator
-
Returns factory that was used to create this validator.
- getFirstViolation() - Method in exception org.foxlabs.validation.ValidationException
-
Returns first violation in the list.
- getFormat(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.BigDecimalConverter
-
Returns decimal number format for the specified context and this
converter configuration.
- getFormat(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.DateConverter
-
Returns date/time format for the specified context and this converter
configuration.
- getFormat(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.NumberConverter.DecimalType
-
Returns decimal number format for the specified context and this
converter configuration.
- getFormat(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.NumberConverter
-
Returns number format for the specified context and this converter
configuration.
- getFormat(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.NumberConverter.IntegerType
-
Returns integer number format for the specified context and this
converter configuration.
- getFromCache(Class<? extends Annotation>, Class<?>) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Returns validation component from cache for the specified annotation and
value types.
- getGroups(Constraint<?>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns set of groups the specified constraint is applied on.
- getGroups() - Method in class org.foxlabs.validation.constraint.ConstraintGroupWrapper
-
Returns unmodifiable set of groups the constraint is applied on.
- getID(TimeZone) - Static method in class org.foxlabs.validation.converter.TimeZoneConverter
-
Returns ID for the specified time zone.
- getInstance(Class<V>, Class<? extends Comparator<?>>) - Static method in class org.foxlabs.validation.constraint.DefaultComparator
-
Returns comparator for the specified object type and comparator type.
- getIntegerFormat() - Method in interface org.foxlabs.validation.ValidationContext
-
- getIntegerFormat(String) - Method in interface org.foxlabs.validation.ValidationContext
-
- getIntegerFormat() - Method in class org.foxlabs.validation.Validator.Context
-
- getIntegerFormat(String) - Method in class org.foxlabs.validation.Validator.Context
-
- getInvalidIndex() - Method in exception org.foxlabs.validation.ViolationException
-
Returns index of the invalid value.
- getInvalidTarget() - Method in exception org.foxlabs.validation.ViolationException
-
Returns validation target of the invalid value.
- getInvalidType() - Method in exception org.foxlabs.validation.ViolationException
-
Returns type of the invalid value.
- getInvalidValue() - Method in exception org.foxlabs.validation.converter.MalformedValueException
-
Returns string representation of invalid value.
- getInvalidValue() - Method in exception org.foxlabs.validation.ViolationException
-
Returns invalid value.
- getKey() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns key corresponding to this entry.
- getLeafEntity() - Method in exception org.foxlabs.validation.ViolationException
-
Returns leaf entity being validated.
- getLimit() - Method in class org.foxlabs.validation.constraint.MaxLengthConstraint
-
Returns maximum string length.
- getLocalizedValue() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns localized string representation of value corresponding to
this entry.
- getLocalizedValue(Locale) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns localized string representation of value corresponding to
this entry.
- getLocalizedValue(Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns localized string representation of value to which the specified
key is mapped.
- getLocalizedValue(Object, Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns localized string representation of value to which the specified
key is mapped.
- getLocalizedValue(String) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Returns localized string representation of snapshot value to which
the specified key is mapped.
- getLocalizedValue(T, String) - Method in class org.foxlabs.validation.Validator
-
Returns localized string representation of property value for the
specified entity using default locale.
- getLocalizedValues() - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns localized string representations of this map values.
- getLocalizedValues(Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns localized string representations of this map values.
- getLocalizedValues() - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Returns localized string representations of this snapshot values.
- getLocalizedValues(T) - Method in class org.foxlabs.validation.Validator
-
Returns localized string representations of property values for the
specified entity using default locale.
- getMap() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns map this entry belongs to.
- getMax() - Method in class org.foxlabs.validation.constraint.RangeConstraint
-
Returns maximum value or null
if there is no maximum.
- getMaxHeight() - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Returns maximum image height.
- getMaxSize() - Method in class org.foxlabs.validation.constraint.FileSizeConstraint
-
Returns maximum allowed file size.
- getMaxSize() - Method in class org.foxlabs.validation.constraint.SizeConstraint
-
Returns allowed maximum size.
- getMaxWidth() - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Returns maximum image width.
- getMessageBuilder() - Method in class org.foxlabs.validation.Validator
-
Returns message builder to be used for building error messages.
- getMessageLocale() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns locale to be used for error messages and formatting numbers,
dates, etc.
- getMessageLocale() - Method in class org.foxlabs.validation.Validator.Context
-
Returns locale to be used for error messages and formatting numbers,
dates, etc.
- getMessageResolver() - Method in class org.foxlabs.validation.Validator
-
Returns message resolver to be used for resolving localized messages.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.AbstractValidation
-
Returns localized error message template using class name as message key.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.CascadeConstraint
-
CascadeConstaint
has no error message.
- getMessageTemplate(ValidationContext<?>) - Method in interface org.foxlabs.validation.constraint.Constraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.ConstraintComposition
-
Returns localized error message or null
if all of the
encapsulated constraints have no error message.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.ConstraintGroupWrapper
-
Returns localized error message template of the wrapped constraint or
null
if no group of this wrapper matches groups provided by
validation context.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.ConstraintMessageWrapper
-
Returns wrapped error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.ConstraintWrapper
-
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.CorrectConstraint
-
CorrectConstraint
s have no error message.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.CustomConstraint
-
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.FileExistsConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.FileSizeConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.IdentityConstraint
-
Returns null
.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.LogLevelConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.RangeConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.constraint.SizeConstraint
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in interface org.foxlabs.validation.converter.Converter
-
Returns localized error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.ConverterMessageWrapper
-
Returns wrapped error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.ConverterWrapper
-
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.CustomConverter
-
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.FileConverter
-
FileConverter
has no error message template.
- getMessageTemplate(ValidationContext<?>) - Method in class org.foxlabs.validation.converter.StringConverter
-
StringConverter
has no error message.
- getMessageTemplate(ValidationContext<?>) - Method in interface org.foxlabs.validation.Validation
-
Returns localized error message template.
- getMetaData(Class<?>) - Static method in class org.foxlabs.validation.metadata.BeanMetaData
-
Returns bean metadata for the specified type.
- getMetaData() - Method in class org.foxlabs.validation.Validator
-
Returns entity metadata.
- getMin() - Method in class org.foxlabs.validation.constraint.RangeConstraint
-
Returns minimum value or null
if there is no minimum.
- getMinSize() - Method in class org.foxlabs.validation.constraint.FileSizeConstraint
-
Returns minimum allowed file size.
- getMinSize() - Method in class org.foxlabs.validation.constraint.SizeConstraint
-
Returns allowed minimum size.
- getName() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Returns name of this property.
- getName() - Method in interface org.foxlabs.validation.metadata.ElementMetaData
-
Returns element name.
- getPattern() - Method in class org.foxlabs.validation.constraint.RegexConstraint
-
Returns compiled representation of a regular expression.
- getPattern() - Method in class org.foxlabs.validation.constraint.ReplaceConstraint
-
Returns compiled representation of a regular expression.
- getPrefix() - Method in class org.foxlabs.validation.constraint.UrlAddressConstraint
-
Returns prefix pattern if any.
- getPropertyFilter() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns filter to be used for property filtering.
- getPropertyFilter() - Method in class org.foxlabs.validation.Validator.Context
-
Returns filter to be used for property filtering.
- getPropertyMetaData(String) - Method in class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Returns metadata for the specified property.
- getPropertyMetaData(String) - Method in interface org.foxlabs.validation.metadata.EntityMetaData
-
Returns metadata for the specified property.
- getPropertyName() - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Returns property name of the second operand.
- getPropertyName() - Method in exception org.foxlabs.validation.metadata.BeanDefinitionException
-
Returns property name if any.
- getPropertyNames() - Method in class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Returns set of property names.
- getPropertyNames() - Method in interface org.foxlabs.validation.metadata.EntityMetaData
-
Returns set of property names.
- getProtocols() - Method in class org.foxlabs.validation.constraint.UrlAddressConstraint
-
Returns set of allowed protocols (empty set means all protocols are
allowed).
- getRawValue() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns default string representation of value corresponding to this
entry.
- getRawValue(Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns default string representation of value to which the specified
key is mapped.
- getRawValue(String) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Returns default string representation of snapshot value to which the
specified key is mapped.
- getRawValue(T, String) - Method in class org.foxlabs.validation.Validator
-
Returns default string representation of property value for the
specified entity.
- getRawValues() - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns default string representations of this map values.
- getRawValues() - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Returns default string representations of this snapshot values.
- getRawValues(T) - Method in class org.foxlabs.validation.Validator
-
Returns default string representations of property values for the
specified entity.
- getReplacement() - Method in class org.foxlabs.validation.constraint.CoalesceConstraint
-
Returns whitespaces replacement character.
- getReplacement() - Method in class org.foxlabs.validation.constraint.ReplaceConstraint
-
Returns string to be substituted for each match.
- getRootEntity() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns root entity being validated.
- getRootEntity() - Method in class org.foxlabs.validation.Validator.Context
-
Returns root entity being validated.
- getRootEntity() - Method in exception org.foxlabs.validation.ViolationException
-
Returns root entity being validated.
- getRootViolations() - Method in exception org.foxlabs.validation.ValidationException
-
Returns unmodifiable list of root violations.
- getSchemes() - Method in class org.foxlabs.validation.constraint.UriAddressConstraint
-
Returns set of allowed schemes (empty set means all schemes are
allowed).
- getSize(Object, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SizeConstraint.ArrayType
-
Returns length of the specified array.
- getSize(Collection<?>, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SizeConstraint.CollectionType
-
Returns size of the specified collection.
- getSize(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SizeConstraint
-
Returns size of the specified value.
- getSize(Map<?, ?>, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SizeConstraint.MapType
-
Returns size of the specified map.
- getSize(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SizeConstraint.StringType
-
Returns length of the specified string.
- getSortedConstants(Locale) - Method in class org.foxlabs.validation.constraint.EnumerationConstraint
-
Returns set of constants in order according to the specified locale.
- getSortedConstants(Locale) - Method in class org.foxlabs.validation.constraint.SupportedLocaleConstraint
-
Returns set of constants in order according to the specified locale.
- getSupportedTypes() - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Returns all supported value types by default.
- getter - Variable in class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Property value getter.
- getTimeZoneName(TimeZone, Locale) - Static method in class org.foxlabs.validation.resource.ResourceManager
-
Returns localized name for the specified time zone.
- getType() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns this entry value type.
- getType() - Method in class org.foxlabs.validation.constraint.ArrayElementConstraint
-
Returns array type.
- getType() - Method in class org.foxlabs.validation.constraint.CapitalizeAllConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.CapitalizeConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.CascadeConstraint
-
Returns the type of entity to be validated.
- getType() - Method in class org.foxlabs.validation.constraint.CoalesceConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.CollectionElementConstraint
-
Returns java.util.Collection
type.
- getType() - Method in interface org.foxlabs.validation.constraint.Constraint
-
Returns the type of value to be validated.
- getType() - Method in class org.foxlabs.validation.constraint.ConstraintAggregation
-
Returns the type of value to be validated.
- getType() - Method in class org.foxlabs.validation.constraint.ConstraintWrapper
-
- getType() - Method in class org.foxlabs.validation.constraint.CustomConstraint
-
- getType() - Method in class org.foxlabs.validation.constraint.DefaultValueConstraint
-
Returns the type of value to be validated.
- getType() - Method in class org.foxlabs.validation.constraint.DespaceConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.EmailAddressConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.EnumerationConstraint.Default
-
Returns type of enumeration constants.
- getType() - Method in class org.foxlabs.validation.constraint.FileExistsConstraint
-
Returns java.io.File
type.
- getType() - Method in class org.foxlabs.validation.constraint.FileSizeConstraint
-
Returns java.io.File
type.
- getType() - Method in class org.foxlabs.validation.constraint.FutureDateConstraint
-
Returns java.util.Date
type.
- getType() - Method in class org.foxlabs.validation.constraint.HostnameConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.IdentifierConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.IdentityConstraint
-
Returns java.lang.Object
type.
- getType() - Method in class org.foxlabs.validation.constraint.IllegalCharsetConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint.AwtCodec
-
Returns java.awt.Image
type.
- getType() - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint.RawCodec
-
Returns byte[]
type.
- getType() - Method in class org.foxlabs.validation.constraint.InetAddressConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.InstanceOfConstraint
-
Returns java.lang.Object
type.
- getType() - Method in class org.foxlabs.validation.constraint.Ip4AddressConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.Ip6AddressConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.IpAddressConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.IsFalseConstraint
-
Returns java.lang.Boolean
type.
- getType() - Method in class org.foxlabs.validation.constraint.IsNullConstraint
-
Returns java.lang.Object
type.
- getType() - Method in class org.foxlabs.validation.constraint.IsTrueConstraint
-
Returns java.lang.Boolean
type.
- getType() - Method in class org.foxlabs.validation.constraint.LegalCharsetConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.LowerCaseConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.MapKeyConstraint
-
Returns java.util.Map
type.
- getType() - Method in class org.foxlabs.validation.constraint.MapValueConstraint
-
Returns java.util.Map
type.
- getType() - Method in class org.foxlabs.validation.constraint.MaxLengthConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.NotBlankConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.ArrayType
-
Returns java.lang.Object
type.
- getType() - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.CollectionType
-
Returns java.util.Collection
type.
- getType() - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.MapType
-
Returns java.util.Map
type.
- getType() - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.StringType
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.NotNullConstraint
-
Returns java.lang.Object
type.
- getType() - Method in class org.foxlabs.validation.constraint.NullifyConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.PastDateConstraint
-
Returns java.util.Date
type.
- getType() - Method in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Returns type of the operands.
- getType() - Method in class org.foxlabs.validation.constraint.RangeConstraint
-
Returns the type of value to be validated.
- getType() - Method in class org.foxlabs.validation.constraint.RegexConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.RemoveNullElementsConstraint.ArrayType
-
Returns java.lang.Object
array type.
- getType() - Method in class org.foxlabs.validation.constraint.RemoveNullElementsConstraint.CollectionType
-
Returns java.util.Collection
type.
- getType() - Method in class org.foxlabs.validation.constraint.ReplaceConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.SetNullConstraint
-
Returns java.lang.Object
type.
- getType() - Method in class org.foxlabs.validation.constraint.SizeConstraint.ArrayType
-
Returns java.lang.Object
type.
- getType() - Method in class org.foxlabs.validation.constraint.SizeConstraint.CollectionType
-
Returns java.util.Collection
type.
- getType() - Method in class org.foxlabs.validation.constraint.SizeConstraint.MapType
-
Returns java.util.Map
type.
- getType() - Method in class org.foxlabs.validation.constraint.SizeConstraint.StringType
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.SysdateConstraint
-
Returns java.util.Date
type.
- getType() - Method in class org.foxlabs.validation.constraint.TrimConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.UpperCaseConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.UriAddressConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.constraint.UrlAddressConstraint
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.converter.ArrayConverter
-
Returns array type.
- getType() - Method in class org.foxlabs.validation.converter.BigDecimalConverter
-
Returns java.math.BigDecimal
type.
- getType() - Method in class org.foxlabs.validation.converter.BigIntegerConverter
-
Returns java.math.BigInteger
type.
- getType() - Method in class org.foxlabs.validation.converter.BooleanConverter
-
Returns java.lang.Boolean
type.
- getType() - Method in class org.foxlabs.validation.converter.ByteConverter
-
Returns java.lang.Byte
type.
- getType() - Method in class org.foxlabs.validation.converter.CharacterConverter
-
Returns java.lang.Character
type.
- getType() - Method in class org.foxlabs.validation.converter.ClassConverter
-
Returns java.lang.Class
type.
- getType() - Method in class org.foxlabs.validation.converter.CollectionConverter
-
Returns collection type.
- getType() - Method in interface org.foxlabs.validation.converter.Converter
-
Returns the type of value to be converted.
- getType() - Method in class org.foxlabs.validation.converter.ConverterWrapper
-
- getType() - Method in class org.foxlabs.validation.converter.CustomConverter
-
The default behavior of this method is to return
Converter.getType()
on the composite converter.
- getType() - Method in class org.foxlabs.validation.converter.DateConverter
-
Returns java.util.Date
type.
- getType() - Method in class org.foxlabs.validation.converter.DoubleConverter
-
Returns java.lang.Double
type.
- getType() - Method in class org.foxlabs.validation.converter.EnumConverter
-
Returns enumeration type.
- getType() - Method in class org.foxlabs.validation.converter.FileConverter
-
Returns java.io.File
type.
- getType() - Method in class org.foxlabs.validation.converter.FloatConverter
-
Returns java.lang.Float
type.
- getType() - Method in class org.foxlabs.validation.converter.IntegerConverter
-
Returns java.lang.Integer
type.
- getType() - Method in class org.foxlabs.validation.converter.LocaleConverter
-
Returns java.util.Locale
type.
- getType() - Method in class org.foxlabs.validation.converter.LogLevelConverter
-
Returns java.util.logging.Level
type.
- getType() - Method in class org.foxlabs.validation.converter.LongConverter
-
Returns java.lang.Long
type.
- getType() - Method in class org.foxlabs.validation.converter.MapConverter
-
Returns map type.
- getType() - Method in class org.foxlabs.validation.converter.ShortConverter
-
Returns java.lang.Short
type.
- getType() - Method in class org.foxlabs.validation.converter.StringConverter
-
Returns java.lang.String
type.
- getType() - Method in class org.foxlabs.validation.converter.TimeZoneConverter
-
Returns java.util.TimeZone
type.
- getType() - Method in class org.foxlabs.validation.converter.Tokenizer
-
Returns string array type.
- getType() - Method in class org.foxlabs.validation.converter.UnsupportedConverter
-
Returns unsupported type.
- getType() - Method in class org.foxlabs.validation.converter.URIConverter
-
Returns java.net.URI
type.
- getType() - Method in class org.foxlabs.validation.converter.URLConverter
-
Returns java.net.URL
type.
- getType() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Returns type of this property.
- getType() - Method in class org.foxlabs.validation.metadata.BeanMetaData
-
Returns bean type.
- getType() - Method in class org.foxlabs.validation.metadata.MapMetaData
-
Returns java.util.Map
type.
- getType() - Method in interface org.foxlabs.validation.metadata.MetaData
-
Returns the type of data.
- getType() - Method in interface org.foxlabs.validation.Validation
-
Returns the type of value to be validated.
- getValidatingGroups() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns array of constraint groups to be validated.
- getValidatingGroups() - Method in class org.foxlabs.validation.Validator.Context
-
Returns array of constraint groups to be validated.
- getValidator() - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns validator of this map.
- getValidator() - Method in interface org.foxlabs.validation.ValidationContext
-
Returns validator used for entity validation.
- getValidator() - Method in class org.foxlabs.validation.Validator.Context
-
Returns validator used for entity validation.
- getValue() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Returns value corresponding to this entry.
- getValue(Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns value to which the specified key is mapped.
- getValue(String) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Returns snapshot value to which the specified key is mapped.
- getValue(T) - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Returns value of this property for the specified entity.
- getValue(T) - Method in class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Returns value of this property for the specified bean.
- getValue(Map<String, Object>) - Method in class org.foxlabs.validation.metadata.MapMetaData.Property
-
Returns value of this property for the specified map.
- getValue(T) - Method in interface org.foxlabs.validation.metadata.PropertyMetaData
-
Returns value of this property for the specified entity.
- getValue(T, String) - Method in class org.foxlabs.validation.Validator
-
Returns property value for the specified entity.
- getValues() - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns a snapshot of this map.
- getValues(T) - Method in class org.foxlabs.validation.Validator.Context
-
- getValues(T) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Returns property values for the specified entity using predefined
custom parameters.
- getValues(T) - Method in class org.foxlabs.validation.Validator
-
Returns property values for the specified entity.
- GreaterThan - Annotation Type in org.foxlabs.validation.constraint
-
Applies >
operator to the annotated element and property
specified by this annotation.
- GreaterThan.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @GreaterThan
annotations on the same
element.
- GreaterThanEqual - Annotation Type in org.foxlabs.validation.constraint
-
Applies >=
operator to the annotated element and property
specified by this annotation.
- GreaterThanEqual.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @GreaterThanEqual
annotations on the same
element.
- gt(Class<V>, String) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that applies >
operator to a value
and the specified property.
- gt(Class<V>, String, Comparator<V>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that applies >
operator to a value
and the specified property.
- gte(Class<V>, String) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that applies >=
operator to a value
and the specified property.
- gte(Class<V>, String, Comparator<V>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that applies >=
operator to a value
and the specified property.
- identifier() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is valid identifier.
- Identifier - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is valid identifier.
- Identifier.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Identifier
annotations on the same element.
- IdentifierConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a string is valid identifier.
- identity() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that just returns value unchanged.
- IdentityConstraint - Class in org.foxlabs.validation.constraint
-
This class provides Constraint
implementation that just returns
value unchanged.
- ignoreCaseEnumeration(String...) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is one of the allowed
strings ignoring case considerations.
- ignoreCaseEnumeration(Collection<String>) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is one of the allowed
strings ignoring case considerations.
- IgnoreCaseEnumeration - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is one of the allowed constants (case
insensitive matching).
- IgnoreCaseEnumeration.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @IgnoreCaseEnumeration
annotations on the
same element.
- IgnoreCaseEnumerationConstraint - Class in org.foxlabs.validation.constraint
-
This class provides EnumerationConstraint
implementation based
on static set of case insensitive strings.
- IgnoreCaseEnumerationConstraint(String...) - Constructor for class org.foxlabs.validation.constraint.IgnoreCaseEnumerationConstraint
-
Constructs a new IgnoreCaseEnumerationConstraint
with the
specified array of allowed strings.
- IgnoreCaseEnumerationConstraint(Collection<String>) - Constructor for class org.foxlabs.validation.constraint.IgnoreCaseEnumerationConstraint
-
Constructs a new IgnoreCaseEnumerationConstraint
with the
specified collection of allowed strings.
- IgnoreCaseEnumerationConstraint(IgnoreCaseEnumeration) - Constructor for class org.foxlabs.validation.constraint.IgnoreCaseEnumerationConstraint
-
Constructs a new IgnoreCaseEnumerationConstraint
from the
specified annotation.
- illegalCharset(String) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string not contains disallowed
characters.
- illegalCharset(UnicodeSet) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string not contains disallowed
characters.
- IllegalCharset - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string not contains disallowed characters.
- IllegalCharset.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @IllegalCharset
annotations on the same
element.
- IllegalCharsetConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a string not contains disallowed characters.
- IllegalCharsetConstraint(UnicodeSet) - Constructor for class org.foxlabs.validation.constraint.IllegalCharsetConstraint
-
Constructs a new IllegalCharsetConstraint
with the
specified disallowed character set.
- image - Variable in class org.foxlabs.validation.constraint.ImageSizeConstraint.Context
-
java.awt.Image
decoded image.
- ImageAdjust - Enum in org.foxlabs.validation.constraint
-
Image size adjust mode.
- ImageSize - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the size of the annotated image is within maximum bounds.
- ImageSize.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @ImageSize
annotations on the same element.
- ImageSizeConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides base implementation of the Constraint
that
checks whether the size of an image is within maximum bounds.
- ImageSizeConstraint(int, int, ImageAdjust) - Constructor for class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Constructs a new ImageSizeConstraint
with the specified
maximum bounds and adjust mode.
- ImageSizeConstraint(ImageSize) - Constructor for class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Constructs a new ImageSizeConstraint
from the specified
annotation.
- ImageSizeConstraint.AwtCodec - Class in org.foxlabs.validation.constraint
-
This class provides ImageSizeConstraint
implementation for
java.awt.Image
type.
- ImageSizeConstraint.Context - Class in org.foxlabs.validation.constraint
-
Context to be used by image codecs.
- ImageSizeConstraint.IOContext - Class in org.foxlabs.validation.constraint
-
Context used by ImageSizeConstraint.RawCodec
.
- ImageSizeConstraint.RawCodec - Class in org.foxlabs.validation.constraint
-
This class provides ImageSizeConstraint
implementation for
byte[]
type.
- inetAddress() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is valid internet
address (can be either hostname or IP address).
- InetAddress - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is valid internet address (can be either
hostname or IP address).
- InetAddress.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @InetAddress
annotations on the same
element.
- InetAddressConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a string is valid internet address (can be either hostname or IP
address).
- INSTANCE - Static variable in class org.foxlabs.validation.constraint.DefaultComparator
-
DefaultComparator
single instance.
- instanceOf(Class<?>...) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a value is instance of one of the
specified types.
- InstanceOf - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated object is instance of one of allowed types.
- InstanceOf.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @InstanceOf
annotations on the same element.
- InstanceOfConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a value is instance of one of allowed types.
- IntegerConverter - Class in org.foxlabs.validation.converter
-
This class provides NumberConverter
implementation for the
java.lang.Integer
type.
- integerPattern - Variable in class org.foxlabs.validation.ValidatorFactory
-
Default pattern for integer numbers.
- IntegerType(String) - Constructor for class org.foxlabs.validation.converter.NumberConverter.IntegerType
-
Constructs a new NumberConverter.IntegerType
with the
specified number pattern.
- IOContext() - Constructor for class org.foxlabs.validation.constraint.ImageSizeConstraint.IOContext
-
- ip4Address() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is valid IPv4 address.
- Ip4Address - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is valid IPv4 address.
- Ip4Address.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Ip4Address
annotations on the same element.
- Ip4AddressConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a string is valid IPv4 address.
- ip6Address() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is valid IPv6 address.
- Ip6Address - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is valid IPv6 address.
- Ip6Address.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Ip6Address
annotations on the same element.
- Ip6AddressConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a string is valid IPv6 address.
- ipAddress() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is valid IPv4 or IPv6
address.
- IpAddress - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is valid IPv4 or IPv6 address.
- IpAddress.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @IpAddress
annotations on the same element.
- IpAddressConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a string is valid IPv4 or IPv6 address.
- isAnnotationPresent(Annotation, Class<? extends Annotation>) - Static method in class org.foxlabs.validation.support.AnnotationSupport
-
Determines recursively if the specified annotation has an annotation of
required type.
- isCascade() - Method in exception org.foxlabs.validation.ValidationException
-
Determines if it is result of cascade validation.
- isConstraintAnnotation(Annotation) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Determines if the specified annotation is either constraint annotation
or custom constraint annotation.
- isConverterAnnotation(Annotation) - Static method in class org.foxlabs.validation.converter.ConverterFactory
-
Determines if the specified annotation is either converter annotation
or custom converter annotation.
- isDefault() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Determines if this entry value equals to default value.
- isDirectory() - Method in class org.foxlabs.validation.constraint.FileExistsConstraint
-
Determines whether file or directory existence should be checked.
- isEmpty() - Method in class org.foxlabs.validation.ConstrainedMap
-
Determines if this map contains no entries.
- isEmpty(Object, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.ArrayType
-
Determines whether the specified array is empty.
- isEmpty(Collection<?>, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.CollectionType
-
Determines whether the specified collection is empty.
- isEmpty(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint
-
Determines whether the specified value is empty.
- isEmpty(Map<?, ?>, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.MapType
-
Determines whether the specified map is empty.
- isEmpty(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NotEmptyConstraint.StringType
-
Determines whether the specified string is empty.
- isFailFast() - Method in interface org.foxlabs.validation.ValidationContext
-
Determines if validation should fail on the first violation.
- isFailFast() - Method in class org.foxlabs.validation.Validator.Context
-
Determines if validation should fail on the first violation.
- isFalse() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a boolean value is
false
.
- IsFalse - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated boolean value is false
.
- IsFalse.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @IsFalse
annotations on the same
element.
- IsFalseConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a boolean value is false
.
- isLocalizedConvert() - Method in interface org.foxlabs.validation.ValidationContext
-
Determines if converters should take locale into account.
- isLocalizedConvert() - Method in class org.foxlabs.validation.Validator.Context
-
Determines if converters should take locale into account.
- isMultiline() - Method in class org.foxlabs.validation.constraint.CoalesceConstraint
-
Flag determines if new line characters should be preserved.
- isNull() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a value is null
.
- IsNull - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated object is null
.
- IsNull.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @IsNull
annotations on the same element.
- IsNullConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a value is null
.
- isReadable() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Determines if this property is readable.
- isReadable() - Method in class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Determines if this property has getter.
- isReadable() - Method in interface org.foxlabs.validation.metadata.PropertyMetaData
-
Determines if this property is readable.
- isRequired() - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Determines if this entry requires value.
- isRequired() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Determines if this property requires value.
- isRequired() - Method in interface org.foxlabs.validation.metadata.PropertyMetaData
-
Determines if this property requires value.
- isTrue() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a boolean value is
true
.
- IsTrue - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated boolean value is true
.
- IsTrue.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @IsTrue
annotations on the same element.
- IsTrueConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a boolean value is true
.
- isWriteable() - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Determines if this property is writeable.
- isWriteable() - Method in class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Determines if this property has setter.
- isWriteable() - Method in interface org.foxlabs.validation.metadata.PropertyMetaData
-
Determines if this property is writeable.
- iterator() - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns iterator of the map entries.
- iterator(PropertyFilter) - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns iterator of the map entries with the specified property filter.
- iterator() - Method in exception org.foxlabs.validation.ValidationException
-
Returns iterator over all violations hierarchy.
- iterator(NodeFormatter) - Method in exception org.foxlabs.validation.ValidationException
-
Returns iterator over all violations hierarchy.
- parent - Variable in class org.foxlabs.validation.Validator.Context
-
Parent context in case of cascade validation.
- ParentDirectory - Annotation Type in org.foxlabs.validation.converter
-
The annotated file parent directory.
- ParentDirectory.List - Annotation Type in org.foxlabs.validation.converter
-
Defines several @ParentDirectory
annotations on the same
element.
- parseLocale(String) - Static method in class org.foxlabs.validation.converter.LocaleConverter
-
Parses the specified default string representation of locale.
- parseTimeZone(String) - Static method in class org.foxlabs.validation.converter.TimeZoneConverter
-
Returns time zone for the specified ID.
- pastDate() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a date is date in the past.
- PastDate - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated date is a date in the past.
- PastDate.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @PastDate
annotations on the same element.
- PastDateConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CheckConstraint
implementation that checks
whether a date is date in the past.
- path() - Method in class org.foxlabs.validation.path.PathIterator
-
Returns path of the current violation.
- PathIterator - Class in org.foxlabs.validation.path
-
This iterator used by ValidationException
to iterate over all
violations hierarchy and allows to obtain path of the current violation.
- PathIterator(ValidationException, NodeFormatter) - Constructor for class org.foxlabs.validation.path.PathIterator
-
Constructs a new PathIterator
with the specified violations
hierarhy and path separator.
- pattern - Variable in class org.foxlabs.validation.constraint.RegexConstraint
-
Compiled representation of a regular expression.
- pattern - Variable in class org.foxlabs.validation.constraint.ReplaceConstraint
-
Compiled representation of a regular expression.
- pattern - Variable in class org.foxlabs.validation.converter.DateConverter
-
java.text.SimpleDateFormat
date/time pattern.
- pattern - Variable in class org.foxlabs.validation.converter.NumberConverter
-
java.text.DecimalFormat
number pattern.
- printViolations() - Method in exception org.foxlabs.validation.ValidationException
-
Prints violations to the standard error stream.
- printViolations(PrintStream) - Method in exception org.foxlabs.validation.ValidationException
-
Prints violations to the specified print stream.
- properties - Variable in class org.foxlabs.validation.metadata.AbstractEntityMetaData
-
Metadata of all the properties defined on the entity.
- properties - Variable in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Metadata of all the properties defined on the entity.
- Property(String, Converter<V>, Constraint<? super V>, PropertyGetter, PropertySetter, V) - Constructor for class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Constructs a new BeanPropertyMetaData
with the specified
name, converter, constraint, property getter and setter.
- property(String, Converter<V>, Constraint<? super V>, V) - Method in class org.foxlabs.validation.metadata.MapMetaData.Builder
-
Defines a property with the specified name, converter, constraint
and default value.
- Property(String, Converter<V>, Constraint<? super V>, V) - Constructor for class org.foxlabs.validation.metadata.MapMetaData.Property
-
Constructs a new MapMetaData.Property
with the
specified name, converter, constraint and default value.
- property(String, Class<V>) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name and type.
- property(String, Class<V>, V) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name, type and default value.
- property(String, Class<V>, Constraint<? super V>) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name, type and constraint.
- property(String, Class<V>, Constraint<? super V>, V) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name, type, constraint and
default value.
- property(String, Converter<V>) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name and converter.
- property(String, Converter<V>, V) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name, converter and default
value.
- property(String, Converter<V>, Constraint<? super V>) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name, converter and constraint.
- property(String, Converter<V>, Constraint<? super V>, V) - Method in class org.foxlabs.validation.metadata.MetaDataBuilder
-
Defines a property with the specified name, converter, constraint
and default value.
- PropertyComparisonConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides base implementation of the CheckConstraint
that applies binary comparison operator to a value and other property.
- PropertyComparisonConstraint(Class<?>, String, Comparator<V>) - Constructor for class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Constructs a new PropertyComparisonConstraint
with the
specified type of the operands, property name and comparator.
- PropertyComparisonConstraint.EqualToOp<V> - Class in org.foxlabs.validation.constraint
-
This class provides PropertyComparisonConstraint
implementation that applies ==
operator to a value and
other property.
- PropertyComparisonConstraint.GreaterThanEqualOp<V> - Class in org.foxlabs.validation.constraint
-
This class provides PropertyComparisonConstraint
implementation that applies >=
operator to a value and
other property.
- PropertyComparisonConstraint.GreaterThanOp<V> - Class in org.foxlabs.validation.constraint
-
This class provides PropertyComparisonConstraint
implementation that applies >
operator to a value and
other property.
- PropertyComparisonConstraint.LessThanEqualOp<V> - Class in org.foxlabs.validation.constraint
-
This class provides PropertyComparisonConstraint
implementation that applies <=
operator to a value and
other property.
- PropertyComparisonConstraint.LessThanOp<V> - Class in org.foxlabs.validation.constraint
-
This class provides PropertyComparisonConstraint
implementation that applies <
operator to a value and
other property.
- PropertyComparisonConstraint.NotEqualToOp<V> - Class in org.foxlabs.validation.constraint
-
This class provides PropertyComparisonConstraint
implementation that applies !=
operator to a value and
other property.
- PropertyFilter - Interface in org.foxlabs.validation.metadata
-
Defines a property filter interface.
- propertyFilter - Variable in class org.foxlabs.validation.Validator.Context
-
Filter to be used for property filtering.
- PropertyFilter.And - Class in org.foxlabs.validation.metadata
-
This class provides PropertyFilter
implementation that is
conjunction of another property filters.
- PropertyFilter.NameEndsWith - Class in org.foxlabs.validation.metadata
-
This class provides PropertyFilter
implementation that
accepts only properties which names ends with a particular suffix.
- PropertyFilter.NameSet - Class in org.foxlabs.validation.metadata
-
This class provides PropertyFilter
implementation that
accepts only properties with particular names.
- PropertyFilter.NameStartsWith - Class in org.foxlabs.validation.metadata
-
This class provides PropertyFilter
implementation that
accepts only properties which names starts with a particular prefix.
- PropertyFilter.Not - Class in org.foxlabs.validation.metadata
-
This class provides PropertyFilter
implementation that is
negation of another filter.
- PropertyFilter.Or - Class in org.foxlabs.validation.metadata
-
This class provides PropertyFilter
implementation that is
disjunction of another property filters.
- PropertyMetaData<T,V> - Interface in org.foxlabs.validation.metadata
-
Defines descriptor that holds necessary metadata about property.
- propertyName - Variable in class org.foxlabs.validation.constraint.PropertyComparisonConstraint
-
Property name of the second operand.
- put(String, Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified value for the specified key in this map.
- putAll(Map<? extends String, ? extends Object>) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified map values to this map values.
- save(File, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Saves this map key-value pairs to the specified file.
- save(File, Locale, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Saves this map key-value pairs to the specified file.
- save(OutputStream, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Saves this map key-value pairs to the specified output stream.
- save(OutputStream, Locale, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Saves this map key-value pairs to the specified output stream.
- save(Writer, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Saves this map key-value pairs to the specified output character stream.
- save(Writer, Locale, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Saves this map key-value pairs to the specified output character stream.
- separator - Variable in class org.foxlabs.validation.path.DefaultNodeFormatter
-
Path separator.
- SequenceConverter<V> - Class in org.foxlabs.validation.converter
-
This class provides base Converter
implementation for
converters of elements sequence.
- SequenceConverter(Tokenizer) - Constructor for class org.foxlabs.validation.converter.SequenceConverter
-
Constructs a new SequenceConverter
with the specified
tokenizer of elements sequence.
- SequenceElementConstraint<V,E> - Class in org.foxlabs.validation.constraint
-
This class provides base implementation of the Constraint
that
uses another constraint to validate elements of a sequence.
- SequenceElementConstraint(Constraint<E>) - Constructor for class org.foxlabs.validation.constraint.SequenceElementConstraint
-
Constructs a new SequenceElementConstraint
with the
specified constraint of elements.
- setCurrentIndex(Object) - Method in interface org.foxlabs.validation.ValidationContext
-
Sets current item index (or map key) we are validating.
- setCurrentIndex(Object) - Method in class org.foxlabs.validation.Validator.Context
-
Sets current item index (or map key) we are validating.
- setCurrentTarget(ValidationTarget) - Method in interface org.foxlabs.validation.ValidationContext
-
Sets current validation target we are validating.
- setCurrentTarget(ValidationTarget) - Method in class org.foxlabs.validation.Validator.Context
-
Sets current validation target we are validating.
- setDateFormat(String) - Method in class org.foxlabs.validation.ValidatorFactory
-
Sets default format of dates according to the specified pattern.
- setDateFormat(int, int) - Method in class org.foxlabs.validation.ValidatorFactory
-
Sets default format of dates according to the specified date and time
styles.
- setDecimalFormat(String) - Method in class org.foxlabs.validation.ValidatorFactory
-
Sets default format of decimal numbers according to the specified
pattern.
- setEncodedValue(T, String, String) - Method in class org.foxlabs.validation.Validator.Context
-
- setEncodedValue(T, String, String) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Assigns property value for the specified entity using predefined
custom parameters.
- setEncodedValues(T, Map<String, String>) - Method in class org.foxlabs.validation.Validator.Context
-
- setEncodedValues(T, Map<String, String>) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Assigns property values for the specified entity using predefined
custom parameters.
- setFailFast(boolean) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Sets flag that determines if validation should fail on the first
violation.
- setIntegerFormat(String) - Method in class org.foxlabs.validation.ValidatorFactory
-
Sets default format of integer numbers according to the specified
pattern.
- setLocalizedConvert(boolean) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Sets flag that determines if converters should take locale into
account.
- setLocalizedValue(String) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Assigns the specified value for this entry.
- setLocalizedValue(String, Locale) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Assigns the specified value for this entry.
- setLocalizedValue(Object, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified value for the specified key in this map.
- setLocalizedValue(Object, String, Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified value for the specified key in this map.
- setLocalizedValue(String, String) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Assigns the specified value for the specified key in this snapshot.
- setLocalizedValue(T, String, String) - Method in class org.foxlabs.validation.Validator
-
Assigns property value for the specified entity using default locale.
- setLocalizedValues(Map<String, String>) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified map values to this map values.
- setLocalizedValues(Map<String, String>, Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified map values to this map values.
- setLocalizedValues(Map<String, String>) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Assigns the specified map values to this snapshot.
- setLocalizedValues(T, Map<String, String>) - Method in class org.foxlabs.validation.Validator
-
Assigns property values for the specified entity using default locale.
- setMessageBuilder(MessageBuilder) - Method in class org.foxlabs.validation.ValidatorFactory
-
Sets message builder to be used for building error messages.
- setMessageLocale(Locale) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Sets locale to be used for error messages and formatting numbers,
dates, etc.
- setMessageResolver(MessageResolver) - Method in class org.foxlabs.validation.ValidatorFactory
-
Sets message resolver to be used for resolving localized messages.
- setNull() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that replaces a value with null
.
- SetNull - Annotation Type in org.foxlabs.validation.constraint
-
Replaces value of the annotated element with null
.
- SetNull.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @SetNull
annotations on the same element.
- SetNullConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CorrectConstraint
implementation that
replaces a value with null
.
- setPropertyFilter(PropertyFilter) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Sets filter to be used for property filtering.
- setRawValue(String) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Assigns the specified value for this entry.
- setRawValue(String, Locale) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Assigns the specified value for this entry.
- setRawValue(Object, String) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified value for the specified key in this map.
- setRawValue(Object, String, Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified value for the specified key in this map.
- setRawValue(String, String) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Assigns the specified value for the specified key in this snapshot.
- setRawValue(T, String, String) - Method in class org.foxlabs.validation.Validator
-
Assigns property value for the specified entity.
- setRawValues(Map<String, String>) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified map values to this map values.
- setRawValues(Map<String, String>, Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified map values to this map values.
- setRawValues(Map<String, String>) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Assigns the specified map values to this snapshot.
- setRawValues(T, Map<String, String>) - Method in class org.foxlabs.validation.Validator
-
Assigns property values for the specified entity.
- setter - Variable in class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Property value setter.
- setValidatingGroups(String...) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Sets array of constraint groups to be validated.
- setValue(Object) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Assigns the specified value for this entry.
- setValue(Object, Locale) - Method in class org.foxlabs.validation.ConstrainedMap.Entry
-
Assigns the specified value for this entry.
- setValue(Object, Object) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified value for the specified key in this map.
- setValue(Object, Object, Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified value for the specified key in this map.
- setValue(String, Object) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Assigns the specified value for the specified key in this snapshot.
- setValue(T, Object) - Method in class org.foxlabs.validation.metadata.AbstractPropertyMetaData
-
Assigns value of this property for the specified entity.
- setValue(T, Object) - Method in class org.foxlabs.validation.metadata.BeanMetaData.Property
-
Assigns value of this property for the specified bean.
- setValue(Map<String, Object>, Object) - Method in class org.foxlabs.validation.metadata.MapMetaData.Property
-
Assigns value of this property for the specified map.
- setValue(T, Object) - Method in interface org.foxlabs.validation.metadata.PropertyMetaData
-
Assigns value of this property for the specified entity.
- setValue(T, String, Object) - Method in class org.foxlabs.validation.Validator
-
Assigns property value for the specified entity.
- setValues(Map<String, Object>) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified map values to this map values.
- setValues(Map<String, Object>, Locale) - Method in class org.foxlabs.validation.ConstrainedMap
-
Assigns the specified map values to this map values.
- setValues(Map<String, Object>) - Method in class org.foxlabs.validation.ConstrainedMap.Transaction
-
Assigns the specified map values to this snapshot.
- setValues(T, Map<String, ?>) - Method in class org.foxlabs.validation.Validator.Context
-
- setValues(T, Map<String, ?>) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Assigns property values for the specified entity using predefined
custom parameters.
- setValues(T, Map<String, ?>) - Method in class org.foxlabs.validation.Validator
-
Assigns property values for the specified entity.
- ShortConverter - Class in org.foxlabs.validation.converter
-
This class provides NumberConverter
implementation for the
java.lang.Short
type.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.BooleanConverter
-
BooleanConverter
primitive type instance.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.ByteConverter
-
ByteConverter
primitive type instance.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.CharacterConverter
-
CharacterConverter
primitive type instance.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.DoubleConverter
-
DoubleConverter
primitive type instance.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.FloatConverter
-
FloatConverter
primitive type instance.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.IntegerConverter
-
IntegerConverter
primitive type instance.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.LongConverter
-
LongConverter
primitive type instance.
- SIMPLE - Static variable in class org.foxlabs.validation.converter.ShortConverter
-
ShortConverter
primitive type instance.
- SimpleTokenizer - Class in org.foxlabs.validation.converter
-
This class provides simple Tokenizer
implementation based on
delimiter characters like java.util.StringTokenizer
.
- size() - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns the number of entries in this map.
- Size - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether value size of the annotated element is within allowed minimum
and maximum bounds.
- Size.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Size
annotations on the same element.
- SizeConstraint<V> - Class in org.foxlabs.validation.constraint
-
This class provides base implementation of the CheckConstraint
that checks whether the size of a value is within allowed minimum and
maximum bounds.
- SizeConstraint(int, int) - Constructor for class org.foxlabs.validation.constraint.SizeConstraint
-
Constructs a new SizeConstraint
with the specified minimum
and maximum sizes.
- SizeConstraint.ArrayType - Class in org.foxlabs.validation.constraint
-
This class provides SizeConstraint
implementation for all
array types.
- SizeConstraint.CollectionType - Class in org.foxlabs.validation.constraint
-
This class provides SizeConstraint
implementation for all
JDK java.util.Collection
types.
- SizeConstraint.MapType - Class in org.foxlabs.validation.constraint
-
This class provides SizeConstraint
implementation for all
JDK java.util.Map
types.
- SizeConstraint.StringType - Class in org.foxlabs.validation.constraint
-
This class provides SizeConstraint
implementation for
java.lang.String
type.
- StringConverter - Class in org.foxlabs.validation.converter
-
This class provides Converter
implementation for the
java.lang.String
type.
- stringMaxSize(int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the length of a string is not
greater than allowed maximum length.
- stringMinSize(int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the length of a string is not
less than allowed minimum length.
- stringNotEmpty() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is not empty.
- stringSize(int, int) - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether the length of a string is within
allowed minimum and maximum bounds.
- supportedEncoding() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is in list of available
charset names supported by JRE.
- SupportedEncoding - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is in list of available charset names
supported by JRE.
- SupportedEncoding.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @SupportedEncoding
annotations on the same element.
- SupportedEncodingConstraint - Class in org.foxlabs.validation.constraint
-
This class provides EnumerationConstraint
implementation that
checks whether a string is in list of available charset names supported by
JRE.
- supportedImageMime() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a string is in list of available
image MIME types supported by javax.imageio.ImageIO
.
- SupportedImageMime - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated string is in list of available image MIME types
supported by javax.imageio.ImageIO
.
- SupportedImageMime.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @SupportedImageMime
annotations on the same element.
- SupportedImageMimeConstraint - Class in org.foxlabs.validation.constraint
-
This class provides EnumerationConstraint
implementation that
checks whether a string is in list of available image MIME types supported
by javax.imageio.ImageIO
.
- supportedLocale() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a locale is in list of available
locales supported by JRE.
- SupportedLocale - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated locale is in list of available locales
supported by JRE.
- SupportedLocale.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @SupportedLocale
annotations on the same element.
- SupportedLocaleConstraint - Class in org.foxlabs.validation.constraint
-
This class provides EnumerationConstraint
implementation that
checks whether a locale is in list of available locales supported by JRE.
- supportedTimeZone() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that checks whether a time zone is in list of
available time zones supported by JRE.
- SupportedTimeZone - Annotation Type in org.foxlabs.validation.constraint
-
Checks whether the annotated time zone is in list of available time zones
supported by JRE.
- SupportedTimeZone.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @SupportedTimeZone
annotations on the same element.
- SupportedTimeZoneConstraint - Class in org.foxlabs.validation.constraint
-
This class provides EnumerationConstraint
implementation that
checks whether a time zone is in list of available time zones supported by
JRE.
- sysdate() - Static method in class org.foxlabs.validation.constraint.ConstraintFactory
-
Returns constraint that replaces a null
date with current
system date.
- Sysdate - Annotation Type in org.foxlabs.validation.constraint
-
Replaces null
value of the annotated date with system date.
- Sysdate.List - Annotation Type in org.foxlabs.validation.constraint
-
Defines several @Sysdate
annotations on the same element.
- SysdateConstraint - Class in org.foxlabs.validation.constraint
-
This class provides CorrectConstraint
implementation that
replaces a null
date with current system date.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.CapitalizeAllConstraint
-
Converts to upper case first letters of all words in the specified
string.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.CapitalizeConstraint
-
Converts to upper case first letter of first word in the specified
string.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.CascadeConstraint
-
Performs cascade validation on the specified entity.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.CheckConstraint
-
Performs validation of the specified value and returns unmodified value.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.CoalesceConstraint
-
Replaces all whitespaces with replacement character in the specified
string.
- validate(V, ValidationContext<T>) - Method in interface org.foxlabs.validation.constraint.Constraint
-
Validates the specified value using context if needed and returns
possibly modified value.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.ConstraintAggregation
-
Checks whether the specified value conforms to all of the encapsulated
constraints.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.ConstraintDisjunction
-
Checks whether the specified value conforms at least one of the
encapsulated constraints.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.ConstraintGroupWrapper
-
Validates the specified value using context if needed and returns
possibly modified value.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.ConstraintNegation
-
Checks whether the specified value not conforms to all of the
encapsulated constraints.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.ConstraintWrapper
-
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.CustomConstraint
-
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.DefaultValueConstraint
-
Returns default value if the specified value is null
;
returns value as is otherwise.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.DespaceConstraint
-
Removes all whitespaces from the specified string.
- validate(Object, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.IdentityConstraint
-
Returns the specified value.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.ImageSizeConstraint
-
Checks whether the size of the specified image is within maximum bounds.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.LowerCaseConstraint
-
Converts the specified string to lower case.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.MaxLengthConstraint
-
Returns substring of maximum length for the specified string or string
as is if its length is not greater than maximum length.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.NullifyConstraint
-
Returns null
if the specified string is empty; returns
string as is otherwise.
- validate(Object[], ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.RemoveNullElementsConstraint.ArrayType
-
Removes all null
elements from the specified array.
- validate(Collection<?>, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.RemoveNullElementsConstraint.CollectionType
-
Removes all null
elements from the specified collection.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.ReplaceConstraint
-
Replaces each substring of the specified string that matches the given
regular expression with the given replacement.
- validate(V, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SequenceElementConstraint
-
Checks whether all elements of the specified sequence conforms to the
constraint of sequence elements.
- validate(Object, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SetNullConstraint
-
Returns null
.
- validate(Date, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.SysdateConstraint
-
Returns current system date if the specified date is null
;
returns date as is otherwise.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.TrimConstraint
-
Returns the specified string with no leading and trailing whitespaces.
- validate(String, ValidationContext<T>) - Method in class org.foxlabs.validation.constraint.UpperCaseConstraint
-
Converts the specified string to upper case.
- validate(MetaData<V>, V) - Method in class org.foxlabs.validation.Validator.Context
-
- validateEntity(T) - Method in class org.foxlabs.validation.Validator.Context
-
- validateEntity(T) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Validates the specified entity and returns possibly modified entity
using predefined custom parameters.
- validateEntity(T, String...) - Method in class org.foxlabs.validation.Validator
-
Validates the specified entity and returns possibly modified entity.
- validateProperty(T, String) - Method in class org.foxlabs.validation.Validator.Context
-
- validateProperty(PropertyMetaData<T, V>) - Method in class org.foxlabs.validation.Validator.Context
-
- validateProperty(T, String) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Validates property value for the specified entity using predefined
custom parameters and assigns modified value to that property.
- validateProperty(T, String, String...) - Method in class org.foxlabs.validation.Validator
-
Validates property value for the specified entity and assigns modified
value to that property.
- validateValue(String, Object) - Method in class org.foxlabs.validation.Validator.Context
-
- validateValue(String, Object) - Method in class org.foxlabs.validation.Validator.ContextBuilder
-
Validates the specified property value using predefined custom
parameters and returns possibly modified value.
- validateValue(String, Object, String...) - Method in class org.foxlabs.validation.Validator
-
Validates the specified property value and returns possibly modified
value.
- validatingGroups - Variable in class org.foxlabs.validation.Validator.Context
-
Array of constraint groups we are validating.
- Validation<V> - Interface in org.foxlabs.validation
-
The root interface in the validation hierarchy.
- VALIDATION_BUNDLE - Static variable in class org.foxlabs.validation.resource.ResourceManager
-
Message bundle for default validation messages.
- ValidationContext<T> - Interface in org.foxlabs.validation
-
This context holds current validation state.
- ValidationDeclarationException - Exception in org.foxlabs.validation
-
Thrown to indicate that declaration of Validation
annotation
is not legal.
- ValidationDeclarationException(Annotation, String) - Constructor for exception org.foxlabs.validation.ValidationDeclarationException
-
Constructs a new ValidationDeclarationException
with the
specified annotation and detail message.
- ValidationDeclarationException(Annotation, String, Throwable) - Constructor for exception org.foxlabs.validation.ValidationDeclarationException
-
Constructs a new ValidationDeclarationException
with the
specified annotation, detail message and cause.
- ValidationDeclarationException(Annotation, Throwable) - Constructor for exception org.foxlabs.validation.ValidationDeclarationException
-
Constructs a new ValidationDeclarationException
with the
specified annotation and cause.
- ValidationDefaults - Annotation Type in org.foxlabs.validation
-
Defines default validation properties for the annotated bean.
- ValidationException - Exception in org.foxlabs.validation
-
Thrown to indicate that validation of a multiple elements fails.
- ValidationException(ViolationException) - Constructor for exception org.foxlabs.validation.ValidationException
-
Constructs a new ValidationException
with the specified
single violation.
- ValidationException(List<? extends ViolationException>) - Constructor for exception org.foxlabs.validation.ValidationException
-
Constructs a new ValidationException
with the specified
list of violations.
- ValidationInstantiationException - Exception in org.foxlabs.validation
-
Thrown to indicate that Validation
instantiation fails.
- ValidationInstantiationException(Annotation, Throwable) - Constructor for exception org.foxlabs.validation.ValidationInstantiationException
-
Constructs a new ValidationInstantiationException
with the
specified annotation and cause.
- ValidationSignatureException - Exception in org.foxlabs.validation
-
Thrown to indicate that Validation
implementation class doesn't
define valid constructor.
- ValidationSignatureException(Annotation, Class<?>) - Constructor for exception org.foxlabs.validation.ValidationSignatureException
-
Constructs a new ValidationSignatureException
with the
specified annotation and Validation
instance type.
- ValidationTarget - Enum in org.foxlabs.validation
-
Defines value part to which validation should be applied.
- ValidationTargetException - Exception in org.foxlabs.validation
-
Thrown to indicate that ValidationTarget
defined by the
targets
property of the annotation can't be applied to the
annotated element.
- ValidationTargetException(Annotation, ValidationTarget) - Constructor for exception org.foxlabs.validation.ValidationTargetException
-
Constructs a new ValidationTargetException
with the
specified annotation and target.
- ValidationTypeException - Exception in org.foxlabs.validation
-
Thrown to indicate that type of the annotated element is not supported by
the Validation
.
- ValidationTypeException(Annotation, Class<?>) - Constructor for exception org.foxlabs.validation.ValidationTypeException
-
Constructs a new ValidationTypeException
with the specified
annotation and invalid object type.
- Validator<T> - Class in org.foxlabs.validation
-
This class allows to perform validation of entities, properties, etc.
- Validator(ValidatorFactory, EntityMetaData<T>, MessageResolver, MessageBuilder, String, String, String, int, int) - Constructor for class org.foxlabs.validation.Validator
-
Constructs a new Validator
with the specified factory,
entity metadata, message resolver and error message builder.
- Validator.Context - Class in org.foxlabs.validation
-
This context holds current validation state.
- Validator.ContextBuilder - Class in org.foxlabs.validation
-
This builder allows to perform validation operations with custom
parameters.
- ValidatorFactory - Class in org.foxlabs.validation
-
Defines a factory that allows to create Validator
instances.
- ValidatorFactory() - Constructor for class org.foxlabs.validation.ValidatorFactory
-
Constructs default ValidatorFactory
.
- ValidatorFactory(String) - Constructor for class org.foxlabs.validation.ValidatorFactory
-
Constructs a new ValidatorFactory
with the specified
message bundle name.
- valueOf(String) - Static method in enum org.foxlabs.validation.constraint.ImageAdjust
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.foxlabs.validation.ValidationTarget
-
Returns the enum constant of this type with the specified name.
- values() - Method in class org.foxlabs.validation.ConstrainedMap
-
Returns collection view of the values contained in this map.
- values() - Static method in enum org.foxlabs.validation.constraint.ImageAdjust
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.foxlabs.validation.ValidationTarget
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- ViolationException - Exception in org.foxlabs.validation
-
Thrown to indicate that validation of a single element fails.
- ViolationException(Validation<?>, ValidationContext<?>, Object) - Constructor for exception org.foxlabs.validation.ViolationException
-
Constructs a new ViolationException
with the specified
validation component, context and invalid value.
- ViolationException(Validation<?>, ValidationContext<?>, Object, Throwable) - Constructor for exception org.foxlabs.validation.ViolationException
-
Constructs a new ViolationException
with the specified
validation component, context, invalid value and cause.