com.github.fge.jsonschema.keyword.digest.common
Class MaximumDigester

java.lang.Object
  extended by com.github.fge.jsonschema.keyword.digest.AbstractDigester
      extended by com.github.fge.jsonschema.keyword.digest.helpers.NumericDigester
          extended by com.github.fge.jsonschema.keyword.digest.common.MaximumDigester
All Implemented Interfaces:
Digester

public final class MaximumDigester
extends NumericDigester

Digester for maximum

This uses NumericDigester as a base, and also stores information about the presence (or not) of exclusiveMaximum.


Field Summary
 
Fields inherited from class com.github.fge.jsonschema.keyword.digest.AbstractDigester
FACTORY, keyword
 
Method Summary
 JsonNode digest(JsonNode schema)
          Digest a schema into a simplified form
static Digester getInstance()
           
 
Methods inherited from class com.github.fge.jsonschema.keyword.digest.helpers.NumericDigester
digestedNumberNode
 
Methods inherited from class com.github.fge.jsonschema.keyword.digest.AbstractDigester
supportedTypes, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static Digester getInstance()

digest

public JsonNode digest(JsonNode schema)
Description copied from interface: Digester
Digest a schema into a simplified form

Parameters:
schema - the schema to digest
Returns:
the digested form


Copyright © 2014. All Rights Reserved.