io.avaje.validation.adapter.ArrayValidationAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avaje-validator Show documentation
Show all versions of avaje-validator Show documentation
validator for annotated pojos using constraint annotations and source code generation
package io.avaje.validation.adapter;
final class ArrayValidationAdapter extends ContainerAdapter {
ArrayValidationAdapter(ValidationAdapter adapters) {
super(adapters);
}
@Override
public boolean validate(T value, ValidationRequest req, String propertyName) {
if (initalAdapter.validate(value, req, propertyName)) {
validateArray((Object[]) value, req, propertyName);
}
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy