public final class ValidationData extends Object implements MessageProvider
The included data are the schema (in the shape of a SchemaTree and
the instance to validate (in the shape of a JsonTree.
| Constructor and Description |
|---|
ValidationData(SchemaTree schema) |
ValidationData(SchemaTree schema,
JsonTree instance) |
| Modifier and Type | Method and Description |
|---|---|
JsonTree |
getInstance() |
SchemaTree |
getSchema() |
ProcessingMessage |
newMessage() |
ValidationData |
withInstance(JsonTree instance) |
ValidationData |
withSchema(SchemaTree schema) |
public ValidationData(SchemaTree schema, JsonTree instance)
public ValidationData(SchemaTree schema)
public SchemaTree getSchema()
public JsonTree getInstance()
public ValidationData withSchema(SchemaTree schema)
public ValidationData withInstance(JsonTree instance)
public ProcessingMessage newMessage()
newMessage in interface MessageProviderCopyright © 2013. All Rights Reserved.