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(SyntaxValidator validator,
List<Message> messages,
JsonNode schema) |
checkSyntax, newMsg
public DivisorSyntaxChecker(String keyword)
public void checkValue(SyntaxValidator validator, List<Message> messages, JsonNode schema)
checkValue
in class AbstractSyntaxChecker
Copyright © 2013. All Rights Reserved.