public final class ArraySchemaSelector extends Object
Its role is to select which subschemas apply to a given array index of an
instance, given a digest built by ArraySchemaDigester
.
It may happen that no schemas apply at all (in which case the document at the given array index will always validate successfully).
Constructor and Description |
---|
ArraySchemaSelector(JsonNode digest) |
Modifier and Type | Method and Description |
---|---|
Iterable<JsonPointer> |
selectSchemas(int index) |
public ArraySchemaSelector(JsonNode digest)
public Iterable<JsonPointer> selectSchemas(int index)