Package | Description |
---|---|
org.forgerock.json.schema.validator |
These classes are the commonly used classes from other applications.
|
org.forgerock.json.schema.validator.validators |
These classes are capable of validating the objects against the initially loaded schema.
|
Modifier and Type | Method and Description |
---|---|
static Validator |
ObjectValidatorFactory.getTypeValidator(Map<String,Object> schema)
Returns a validator validating the schema.
|
static Validator |
ObjectValidatorFactory.getTypeValidator(Map<String,Object> schema,
List<String> jsonPointer)
Returns a validator validating the schema.
|
static Validator |
ObjectValidatorFactory.getTypeValidator(String type,
Map<String,Object> schema,
List<String> jsonPointer)
Instantiates a validator of the passed in type with the given schema.
|
Modifier and Type | Class and Description |
---|---|
class |
AnyTypeValidator
AnyTypeValidator applies all the constraints of a
any type. |
class |
ArrayTypeValidator
ArrayTypeValidator applies all the constraints of a
array type. |
class |
BooleanTypeValidator
BooleanTypeValidator applies all the constraints of a
boolean type. |
class |
IntegerTypeValidator
IntegerTypeValidator applies all the constraints of a
integer type. |
class |
NullTypeValidator
null Value MUST be null.
|
class |
NumberTypeValidator
NumberTypeValidator applies all the constraints of a
number type. |
class |
ObjectTypeValidator
ObjectTypeValidator applies all the constraints of a
object type. |
class |
ReferenceTypeValidator
ReferenceTypeValidator holds a reference to another validator.
|
class |
StringTypeValidator
StringTypeValidator applies all the constraints of a
string type. |
class |
UnionTypeValidator
Union Types An array of two or more simple validators definitions.
|
Modifier and Type | Method and Description |
---|---|
void |
ReferenceTypeValidator.setReferencedValidator(Validator validator)
Sets the validator being referenced by this object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Validator.collectAllValidators(Collection<Validator> results)
Collects all the sub-validators held in this validator and aggregates them in the passed in Collection.
|
protected void |
ObjectTypeValidator.collectAllValidators(Collection<Validator> results)
Collects all the sub-validators held in this validator and aggregates them in the passed in Collection.
|
protected void |
ArrayTypeValidator.collectAllValidators(Collection<Validator> results)
Collects all the sub-validators held in this validator and aggregates them in the passed in Collection.
|
protected static void |
Validator.collectAllValidators(Collection<Validator> results,
Collection<? extends Validator> col)
Collects all the sub-validators held in this validator and aggregates them in the passed in Collection.
|
protected static void |
Validator.collectAllValidators(Collection<Validator> results,
Collection<? extends Validator> col)
Collects all the sub-validators held in this validator and aggregates them in the passed in Collection.
|
protected static void |
Validator.collectAllValidators(Collection<Validator> results,
Map<?,? extends Validator> map)
Collects all the sub-validators held in this validator and aggregates them in the passed in Collection.
|
protected static void |
Validator.collectAllValidators(Collection<Validator> results,
Map<?,? extends Validator> map)
Collects all the sub-validators held in this validator and aggregates them in the passed in Collection.
|
Copyright 2010-2018 ForgeRock AS.