Package | Description |
---|---|
org.infinispan.schematic | |
org.infinispan.schematic.internal | |
org.infinispan.schematic.internal.schema |
Modifier and Type | Method and Description |
---|---|
SchemaLibrary.Results |
SchemaLibrary.validate(Document document,
String schemaUri)
Validate the supplied document against the JSON Schema with the supplied URI.
|
Modifier and Type | Method and Description |
---|---|
Document |
SchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results)
Look for fields within the document (including nested documents) whose values are not of the expected type for the given
schema, but whose values can be converted into the expected type.
|
Modifier and Type | Method and Description |
---|---|
SchemaLibrary.Results |
InMemorySchemaLibrary.validate(Document document,
String schemaUri) |
Modifier and Type | Method and Description |
---|---|
Document |
InMemorySchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results) |
Modifier and Type | Class and Description |
---|---|
class |
ValidationResult
Basic implementation of
SchemaLibrary.Results to which problems can be added. |
Modifier and Type | Method and Description |
---|---|
static Document |
DocumentTransformer.convertValuesWithMismatchedTypes(Document original,
SchemaLibrary.Results results)
Return a copy of the supplied document that contains converted values for all of the fields (including in the nested
documents and arrays) that have values that are of the wrong type but can be converted to be of the correct type.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationResult.addAll(Iterator<SchemaLibrary.Results> iter) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.