Package net.pwall.json.schema.validation
Class PropertiesValidator
-
- All Implemented Interfaces:
public final class PropertiesValidator extends JSONSchema.Validator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumPropertiesValidator.ValidationType
-
Field Summary
Fields Modifier and Type Field Description private final PropertiesValidator.ValidationTypeconditionprivate final Integervalueprivate final StringabsoluteLocationprivate final Stringdescriptionprivate final Stringtitleprivate final URIuriprivate final JSONPointerlocation
-
Constructor Summary
Constructors Constructor Description PropertiesValidator(URI uri, JSONPointer location, PropertiesValidator.ValidationType condition, Integer value)
-
Method Summary
Modifier and Type Method Description final PropertiesValidator.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
-
PropertiesValidator
PropertiesValidator(URI uri, JSONPointer location, PropertiesValidator.ValidationType condition, Integer value)
-
-
Method Detail
-
getCondition
final PropertiesValidator.ValidationType getCondition()
-
childLocation
JSONPointer childLocation(JSONPointer pointer)
-
getErrorEntry
BasicErrorEntry getErrorEntry(JSONPointer relativeLocation, JSONValue json, JSONPointer instanceLocation)
-
-
-
-