public final class SchemaContext extends Object implements MessageProvider
SchemaDigester and a ValidationChain
This is essentially a FullData which only retains the type of the
instance to validate instead of the full instance.
NodeType.getNodeType(JsonNode)| Constructor and Description |
|---|
SchemaContext(FullData data) |
SchemaContext(SchemaTree schema,
NodeType instanceType) |
| Modifier and Type | Method and Description |
|---|---|
NodeType |
getInstanceType() |
SchemaTree |
getSchema() |
ProcessingMessage |
newMessage() |
public SchemaContext(FullData data)
public SchemaContext(SchemaTree schema, NodeType instanceType)
public SchemaTree getSchema()
public NodeType getInstanceType()
public ProcessingMessage newMessage()
newMessage in interface MessageProvider