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 aany
type.ArrayTypeValidator ArrayTypeValidator applies all the constraints of aarray
type.BooleanTypeValidator BooleanTypeValidator applies all the constraints of aboolean
type.IntegerTypeValidator IntegerTypeValidator applies all the constraints of ainteger
type.NullTypeValidator null Value MUST be null.NumberTypeValidator NumberTypeValidator applies all the constraints of anumber
type.ObjectTypeValidator ObjectTypeValidator applies all the constraints of aobject
type.ReferenceTypeValidator ReferenceTypeValidator holds a reference to another validator.StringTypeValidator StringTypeValidator applies all the constraints of astring
type.UnionTypeValidator Union Types An array of two or more simple validators definitions.Validator Validator is the abstract base class of all typed validator.