Uses of Interface
io.avaje.validation.adapter.ValidationAdapter
Packages that use ValidationAdapter
-
Uses of ValidationAdapter in io.avaje.validation
Methods in io.avaje.validation that return ValidationAdapterModifier and TypeMethodDescriptionValidator.AdapterBuilder.build
(ValidationContext ctx) Create a ValidationAdapter given the Validator instance.Validator.AnnotationAdapterBuilder.build
(ValidationContext.AdapterCreateRequest request) Create a ValidationAdapter given the Validator instance.Methods in io.avaje.validation with parameters of type ValidationAdapterModifier and TypeMethodDescriptionValidator.Builder.add
(Class<? extends Annotation> type, ValidationAdapter<T> adapter) Add a AnnotationValidationAdapter to use for the given type.Validator.Builder.add
(Type type, ValidationAdapter<T> adapter) Add a ValidationAdapter to use for the given type. -
Uses of ValidationAdapter in io.avaje.validation.adapter
Classes in io.avaje.validation.adapter that implement ValidationAdapterModifier and TypeClassDescriptionclass
Abstract Adapter that validates objects based on Constraint Annotations.class
Adapter that validates container types.class
Fields in io.avaje.validation.adapter declared as ValidationAdapterModifier and TypeFieldDescriptionprotected final ValidationAdapter
<T> ContainerAdapter.initalAdapter
Adapter placed on the container typeprotected ValidationAdapter
<Object> ContainerAdapter.multiAdapter
Methods in io.avaje.validation.adapter that return ValidationAdapterModifier and TypeMethodDescription<T> ValidationAdapter
<T> Return the constraint adapter for the given annotation with attributes.<T> ValidationAdapter
<T> ValidationContext.adapter
(Class<? extends Annotation> cls, Set<Class<?>> groups, String message, Map<String, Object> attributes) Return the constraint adapter for the given annotation with attributes.<T> ValidationAdapter
<T> Return the adapter for the given type.<T> ValidationAdapter
<T> Return the adapter for the given type.default ValidationAdapter
<T> ValidationAdapter.andThen
(ValidationAdapter<? super T> after) Compose this validation adapter with another adapter by applying the validations in sequence.ValidationContext.AdapterFactory.create
(Type type, ValidationContext ctx) Create and return a ValidationAdapter given the type and annotations or return null.ValidationContext.AnnotationFactory.create
(ValidationContext.AdapterCreateRequest request) Create and return a ValidationAdapter given the type and annotations or return null.default ValidationAdapter
<Object[]> MethodAdapterProvider.crossParamAdapter
(ValidationContext ctx) <T> ValidationAdapter
<T> ValidationContext.noop()
Return a no-op adapter.default ValidationAdapter
<Object> MethodAdapterProvider.returnAdapter
(ValidationContext ctx) Methods in io.avaje.validation.adapter that return types with arguments of type ValidationAdapterMethods in io.avaje.validation.adapter with parameters of type ValidationAdapterModifier and TypeMethodDescriptiondefault ValidationAdapter
<T> ValidationAdapter.andThen
(ValidationAdapter<? super T> after) Compose this validation adapter with another adapter by applying the validations in sequence.ContainerAdapter.andThenMulti
(ValidationAdapter<?> adapter) Compose the given adapter with the multiAdapter of this ContainerAdapter for validating multiple items.Constructors in io.avaje.validation.adapter with parameters of type ValidationAdapter