public interface 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
object
- the Object to validatecontext
- the ValidationContextValidationException
- if the object fails validation.Copyright © 2014. All rights reserved.