com.github.fge.jsonschema.keyword.digest.helpers
Class DraftV3TypeKeywordDigester

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

public final class DraftV3TypeKeywordDigester
extends AbstractDigester

Digester for draft v3's type and disallow

These keywords are quite complex, but fortunately they share the same fundamental structure. Simple types and schema dependencies are stored separately.


Field Summary
 
Fields inherited from class com.github.fge.jsonschema.keyword.digest.AbstractDigester
FACTORY, keyword
 
Constructor Summary
DraftV3TypeKeywordDigester(String keyword)
           
 
Method Summary
 JsonNode digest(JsonNode schema)
          Digest a schema into a simplified form
 
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
 

Constructor Detail

DraftV3TypeKeywordDigester

public DraftV3TypeKeywordDigester(String keyword)
Method Detail

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