Package org.forgerock.json.schema.validator.validators
These classes are capable of validating the objects against the initially loaded schema.
All class implements the abstract Validator class constructor.
Each class is responsible for validating one object type. See the mappings between the types and classes in the this list:
- string:
StringTypeValidator - number:
NumberTypeValidator - integer:
IntegerTypeValidator - boolean:
BooleanTypeValidator - object:
ObjectTypeValidator - array:
ArrayTypeValidator - null:
NullTypeValidator - any:
AnyTypeValidator - Union Types:
UnionTypeValidator
Other type values MAY be used for custom purposes, but minimal validators of the specification implementation can allow any instance value on unknown type values.
-
Interface Summary Interface Description SimpleValidator<T> SimpleValidator is a base interface for all validator implementation. -
Class Summary Class Description AnyTypeValidator AnyTypeValidator applies all the constraints of aanytype.ArrayTypeValidator ArrayTypeValidator applies all the constraints of aarraytype.BooleanTypeValidator BooleanTypeValidator applies all the constraints of abooleantype.IntegerTypeValidator IntegerTypeValidator applies all the constraints of aintegertype.NullTypeValidator null Value MUST be null.NumberTypeValidator NumberTypeValidator applies all the constraints of anumbertype.ObjectTypeValidator ObjectTypeValidator applies all the constraints of aobjecttype.ReferenceTypeValidator ReferenceTypeValidator holds a reference to another validator.StringTypeValidator StringTypeValidator applies all the constraints of astringtype.UnionTypeValidator Union Types An array of two or more simple validators definitions.Validator Validator is the abstract base class of all typed validator.