public final class DivisorSyntaxChecker extends AbstractSyntaxChecker
divisibleBy keyword (draft v3) and multipleOf keyword (draft v4)
This class ensures that the value of the keyword is a number which is strictly greater than 0. Note that this include floating point numbers.
keyword| Constructor and Description |
|---|
DivisorSyntaxChecker(String keyword) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkValue(Message.Builder msg,
List<Message> messages,
JsonNode schema) |
checkSyntaxpublic DivisorSyntaxChecker(String keyword)
public void checkValue(Message.Builder msg, List<Message> messages, JsonNode schema)
checkValue in class AbstractSyntaxCheckerCopyright © 2013. All Rights Reserved.