public interface ClassValidator extends TypeValidator
Modifier and Type | Method and Description |
---|---|
void |
validate(Object object,
ValidationContext context)
Validates the given Object.
|
void validate(Object object, ValidationContext context) throws ValidationException
validate
in interface TypeValidator
object
- the Object to validatecontext
- the ValidationContextValidationException
- when the class is not valid.Copyright © 2021. All rights reserved.