com.github.fge.jsonschema.processors.validation
Class ArraySchemaSelector
java.lang.Object
com.github.fge.jsonschema.processors.validation.ArraySchemaSelector
public final class ArraySchemaSelector
- extends Object
JSON Schema subschema selector for array instances
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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArraySchemaSelector
public ArraySchemaSelector(JsonNode digest)
selectSchemas
public Iterable<JsonPointer> selectSchemas(int index)