com.github.fge.jsonschema.keyword.validator.helpers
Class PositiveIntegerValidator

java.lang.Object
  extended by com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
      extended by com.github.fge.jsonschema.keyword.validator.helpers.PositiveIntegerValidator
All Implemented Interfaces:
KeywordValidator
Direct Known Subclasses:
MaxItemsValidator, MaxLengthValidator, MaxPropertiesValidator, MinItemsValidator, MinLengthValidator, MinPropertiesValidator

public abstract class PositiveIntegerValidator
extends AbstractKeywordValidator

Helper validator class for keywords whose value is a positive integer


Field Summary
protected  int intValue
           
 
Fields inherited from class com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
keyword
 
Constructor Summary
protected PositiveIntegerValidator(String keyword, JsonNode digest)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class com.github.fge.jsonschema.keyword.validator.AbstractKeywordValidator
newMsg, newMsg, toArrayNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.github.fge.jsonschema.keyword.validator.KeywordValidator
validate
 

Field Detail

intValue

protected final int intValue
Constructor Detail

PositiveIntegerValidator

protected PositiveIntegerValidator(String keyword,
                                   JsonNode digest)
Method Detail

toString

public final String toString()
Specified by:
toString in class AbstractKeywordValidator