public final class NullDigester extends AbstractDigester
NullNode for any input
This is actually useful for keywords like anyOf, allOf and
oneOf, which only roles are to validate subschemas: they do not need
a digested form at all, they just have to peek at the schema.
A net result of all keywords using this digester is that only one instance will ever be built.
FACTORY, keyword| Constructor and Description |
|---|
NullDigester(String keyword,
com.github.fge.jsonschema.util.NodeType first,
com.github.fge.jsonschema.util.NodeType... other) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
digest(com.fasterxml.jackson.databind.JsonNode schema)
Digest a schema into a simplified form
|
supportedTypes, toStringpublic NullDigester(String keyword, com.github.fge.jsonschema.util.NodeType first, com.github.fge.jsonschema.util.NodeType... other)
public com.fasterxml.jackson.databind.JsonNode digest(com.fasterxml.jackson.databind.JsonNode schema)
Digesterschema - the schema to digestCopyright © 2014. All Rights Reserved.