-
public final class Configurator.CustomValidator extends JSONSchema.Validator
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONSchemaschemaprivate final StringabsoluteLocationprivate final Stringdescriptionprivate final JSONPointerlocationprivate final Stringtitleprivate final URIuri
-
Constructor Summary
Constructors Constructor Description Configurator.CustomValidator(URI uri, JSONPointer location, JSONSchema schema)
-
Method Summary
Modifier and Type Method Description final JSONSchemagetSchema()final StringgetAbsoluteLocation()StringgetDescription()final JSONPointergetLocation()StringgetTitle()final URIgetUri()BasicErrorEntrygetErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)Booleanvalidate(JSONValue json, JSONPointer instanceLocation)-
Methods inherited from class net.pwall.json.schema.JSONSchema.Validator
childLocation, createAnnotation, createBasicError, createBasicErrorEntry, createError, equals, hashCode, validate, validateBasic, validateBasic, validateDetailed, validateDetailed -
Methods inherited from class net.pwall.json.schema.codegen.Configurator.CustomValidator
validateBasic, validateDetailed -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Configurator.CustomValidator
Configurator.CustomValidator(URI uri, JSONPointer location, JSONSchema schema)
-
-
Method Detail
-
getSchema
final JSONSchema getSchema()
-
getAbsoluteLocation
final String getAbsoluteLocation()
-
getDescription
String getDescription()
-
getLocation
final JSONPointer getLocation()
-
getErrorEntry
BasicErrorEntry getErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-