Uses of Package
org.dellroad.stuff.validation
Package
Description
Text handling classes.
Classes related to JSR-303 validation.
-
ClassDescriptionValidation constraint that when applied to classes that implement the
SelfValidating
interface allows custom validation by the class itself viaSelfValidating.checkValid()
.Implemented by classes that can validate themselves.Exception that can be thrown bySelfValidating.checkValid(jakarta.validation.ConstraintValidatorContext)
. -
ClassDescriptionSupport superclass for validators.Works like the standard
@Pattern
but applies to any type of object, converting toString
as necessary viaObject.toString()
, and recursing on collection types.Implemented by classes that can validate themselves.Exception that can be thrown bySelfValidating.checkValid(jakarta.validation.ConstraintValidatorContext)
.Validation constraint that checks for the uniqueness of the constrained property's value over some uniqueness domain.Converts values into some other object that has the desired uniqueness.Provides additional context forConstraintValidator
implementations.