|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Digester
Interface for a digester
A digester, as its name implies, digests a schema (which comes here as a
JsonNode
) and returns a simplified form of it, according to its
context.
It is mainly used for keywords, for building a simplified form of a schema in order to ease the job of keyword construction; but most importantly, it also reports the instance types supported by this keyword.
It is also used to build a digested form of schemas for array/object schema selections.
SchemaDigester
,
KeywordValidator
,
ArraySchemaDigester
,
ObjectSchemaDigester
Method Summary | |
---|---|
JsonNode |
digest(JsonNode schema)
Digest a schema into a simplified form |
EnumSet<NodeType> |
supportedTypes()
Return the instance types handled by this digested form |
Method Detail |
---|
EnumSet<NodeType> supportedTypes()
NodeType
sJsonNode digest(JsonNode schema)
schema
- the schema to digest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |