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,
com.github.fge.jackson.NodeType instanceType) |
Modifier and Type | Method and Description |
---|---|
com.github.fge.jackson.NodeType |
getInstanceType() |
SchemaTree |
getSchema() |
ProcessingMessage |
newMessage() |
public SchemaContext(FullData data)
public SchemaContext(SchemaTree schema, com.github.fge.jackson.NodeType instanceType)
public SchemaTree getSchema()
public com.github.fge.jackson.NodeType getInstanceType()
public ProcessingMessage newMessage()
newMessage
in interface MessageProvider
Copyright © 2013. All Rights Reserved.