com.github.fge.jsonschema.processors.validation
Class ArraySchemaSelector

java.lang.Object
  extended by 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).


Constructor Summary
ArraySchemaSelector(JsonNode digest)
           
 
Method Summary
 Iterable<JsonPointer> selectSchemas(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArraySchemaSelector

public ArraySchemaSelector(JsonNode digest)
Method Detail

selectSchemas

public Iterable<JsonPointer> selectSchemas(int index)