Package net.pwall.json.schema.validation
Class DelegatingValidator
-
- All Implemented Interfaces:
public final class DelegatingValidator extends JSONSchema.Validator
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONSchema.Validatorvalidatorprivate final StringabsoluteLocationprivate final Stringdescriptionprivate final Stringtitleprivate final URIuriprivate final JSONPointerlocation
-
Constructor Summary
Constructors Constructor Description DelegatingValidator(URI uri, JSONPointer location, String childName, JSONSchema.Validator validator)
-
Method Summary
Modifier and Type Method Description final JSONSchema.ValidatorgetValidator()JSONPointerchildLocation(JSONPointer pointer)Booleanvalidate(JSONValue json, JSONPointer instanceLocation)BasicErrorEntrygetErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)-
Methods inherited from class net.pwall.json.schema.JSONSchema
createAnnotation, createBasicError, createBasicErrorEntry, createError, createSubSchemaBasicErrorEntry, createSubSchemaError, equals, getAbsoluteLocation, getDescription, getLocation, getTitle, getUri, hashCode, 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
-
DelegatingValidator
DelegatingValidator(URI uri, JSONPointer location, String childName, JSONSchema.Validator validator)
-
-
Method Detail
-
getValidator
final JSONSchema.Validator getValidator()
-
childLocation
JSONPointer childLocation(JSONPointer pointer)
-
getErrorEntry
BasicErrorEntry getErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-