public final class SchemaContext extends Object implements com.github.fge.jsonschema.report.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(com.github.fge.jsonschema.tree.SchemaTree schema,
com.github.fge.jsonschema.util.NodeType instanceType) |
Modifier and Type | Method and Description |
---|---|
com.github.fge.jsonschema.util.NodeType |
getInstanceType() |
com.github.fge.jsonschema.tree.SchemaTree |
getSchema() |
com.github.fge.jsonschema.report.ProcessingMessage |
newMessage() |
public SchemaContext(FullData data)
public SchemaContext(com.github.fge.jsonschema.tree.SchemaTree schema, com.github.fge.jsonschema.util.NodeType instanceType)
public com.github.fge.jsonschema.tree.SchemaTree getSchema()
public com.github.fge.jsonschema.util.NodeType getInstanceType()
public com.github.fge.jsonschema.report.ProcessingMessage newMessage()
newMessage
in interface com.github.fge.jsonschema.report.MessageProvider
Copyright © 2014. All Rights Reserved.