public class ItemsValidatorFactory extends ItemsValidatorFactory
| Constructor and Description |
|---|
ItemsValidatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
Validator |
createValidator(JsonObject schema,
JsonPointer scope,
SchemaParserInternal parser,
MutableStateValidator parent)
This method consume the schema eventually creating a new
Validator. |
getKeyword, instantiatecanConsumeSchemapublic Validator createValidator(JsonObject schema, JsonPointer scope, SchemaParserInternal parser, MutableStateValidator parent)
ValidatorFactoryValidator. The schema parser calls it during schema parsing only if ValidatorFactory.canConsumeSchema(JsonObject) returns true
You can return any of SyncValidator, AsyncValidator or MutableStateValidator
createValidator in interface ValidatorFactorycreateValidator in class BaseSingleSchemaValidatorFactoryschema - JsonObject representing the schemascope - scope of the parsed schemaparser - caller parserparent - parent of this schemaCopyright © 2022 Eclipse. All rights reserved.