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.jackson.NodeType first,
com.github.fge.jackson.NodeType... other) |
Modifier and Type | Method and Description |
---|---|
JsonNode |
digest(JsonNode schema)
Digest a schema into a simplified form
|
supportedTypes, toString
public NullDigester(String keyword, com.github.fge.jackson.NodeType first, com.github.fge.jackson.NodeType... other)
Copyright © 2013. All Rights Reserved.