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(com.fasterxml.jackson.databind.JsonNode digest) |
Modifier and Type | Method and Description |
---|---|
Iterable<com.github.fge.jsonschema.jsonpointer.JsonPointer> |
selectSchemas(int index) |
public ArraySchemaSelector(com.fasterxml.jackson.databind.JsonNode digest)
public Iterable<com.github.fge.jsonschema.jsonpointer.JsonPointer> selectSchemas(int index)
Copyright © 2014. All Rights Reserved.