Package net.pwall.json.schema.validation
Class ArrayValidator
-
- All Implemented Interfaces:
public final class ArrayValidator extends JSONSchema.Validator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumArrayValidator.ValidationType
-
Field Summary
Fields Modifier and Type Field Description private final ArrayValidator.ValidationTypeconditionprivate final Integervalueprivate final StringabsoluteLocationprivate final Stringdescriptionprivate final Stringtitleprivate final URIuriprivate final JSONPointerlocation
-
Constructor Summary
Constructors Constructor Description ArrayValidator(URI uri, JSONPointer location, ArrayValidator.ValidationType condition, Integer value)
-
Method Summary
Modifier and Type Method Description final ArrayValidator.ValidationTypegetCondition()final IntegergetValue()JSONPointerchildLocation(JSONPointer pointer)Booleanvalidate(JSONValue json, JSONPointer instanceLocation)BasicErrorEntrygetErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)Booleanequals(Object other)IntegerhashCode()-
Methods inherited from class net.pwall.json.schema.JSONSchema
createAnnotation, createBasicError, createBasicErrorEntry, createError, createSubSchemaBasicErrorEntry, createSubSchemaError, getAbsoluteLocation, getDescription, getLocation, getTitle, getUri, validate, validateBasic, validateBasic, validateDetailed, validateDetailed -
Methods inherited from class net.pwall.json.schema.JSONSchema.Validator
validateBasic, validateDetailed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ArrayValidator
ArrayValidator(URI uri, JSONPointer location, ArrayValidator.ValidationType condition, Integer value)
-
-
Method Detail
-
getCondition
final ArrayValidator.ValidationType getCondition()
-
childLocation
JSONPointer childLocation(JSONPointer pointer)
-
getErrorEntry
BasicErrorEntry getErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-