public final class MaxItemsValidator extends PositiveIntegerValidator
maxItemsintValuekeyword| Constructor and Description |
|---|
MaxItemsValidator(JsonNode digest) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(Processor<FullData,FullData> processor,
ProcessingReport report,
MessageBundle bundle,
FullData data)
Validate the instance
|
toStringnewMsg, newMsg, toArrayNodepublic MaxItemsValidator(JsonNode digest)
public void validate(Processor<FullData,FullData> processor, ProcessingReport report, MessageBundle bundle, FullData data) throws ProcessingException
KeywordValidatorprocessor - the main validation processorreport - the report to usebundle - the message bundle to usedata - the validation dataInvalidInstanceException - instance is invalid, and the report has
been configured to throw an exception instead of logging errorsProcessingException