Package net.pwall.json.schema.validation
Class FormatValidator
-
- All Implemented Interfaces:
public final class FormatValidator extends JSONSchema.Validator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceFormatValidator.FormatCheckerpublic classFormatValidator.Int64FormatCheckerpublic classFormatValidator.Int32FormatCheckerpublic final classFormatValidator.NullFormatCheckerpublic final classFormatValidator.DelegatingFormatCheckerpublic final classFormatValidator.StringFormatCheckerpublic classFormatValidator.Companion
-
Field Summary
Fields Modifier and Type Field Description private final FormatValidator.FormatCheckercheckerprivate final StringabsoluteLocationprivate final Stringdescriptionprivate final Stringtitleprivate final URIuriprivate final JSONPointerlocationpublic final static FormatValidator.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description FormatValidator(URI uri, JSONPointer location, FormatValidator.FormatChecker checker)
-
Method Summary
Modifier and Type Method Description final FormatValidator.FormatCheckergetChecker()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
-
FormatValidator
FormatValidator(URI uri, JSONPointer location, FormatValidator.FormatChecker checker)
-
-
Method Detail
-
getChecker
final FormatValidator.FormatChecker getChecker()
-
childLocation
JSONPointer childLocation(JSONPointer pointer)
-
getErrorEntry
BasicErrorEntry getErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-