public interface SyntaxChecker
There exists one syntax checker per supported schema keyword. For the recall, their role is to ensure the keyword values are well formed, so as to ease the job of the associated keyword validator.
You have the option to directly implement this interface, however you're
probably better off extending AbstractSyntaxChecker
instead.
Modifier and Type | Method and Description |
---|---|
void |
checkSyntax(SyntaxValidator validator,
List<Message> messages,
JsonNode schema)
Check the syntax for this keyword
|
void checkSyntax(SyntaxValidator validator, List<Message> messages, JsonNode schema)
validator
- the syntax validator to usemessages
- message list to fill in the event of a failureschema
- schema to analyzeCopyright © 2013. All Rights Reserved.