public interface Reader
Reader defines expected behaviour of a validation module reader.| Modifier and Type | Method | Description |
|---|---|---|
InputFormatType |
getInputFormat() |
Return the input format supported by the reader.
|
void |
read(ValidationInput input,
ValidationContext context) |
Main method to process the input.
|
void |
setValidator(Validator validator) |
Set Validation to call during the reading.
|
InputFormatType getInputFormat()
void setValidator(Validator validator)
validator - Validator to apply.void read(ValidationInput input, ValidationContext context) throws ValidationException
input - The input to readcontext - Validation context with all information requiredValidationException - The read exception.Copyright © 2025. All rights reserved.