Class JsonSchemaModelValidator
- java.lang.Object
-
- org.activiti.cloud.services.modeling.validation.JsonSchemaModelValidator
-
- All Implemented Interfaces:
ModelValidationErrorProducer,ModelValidator
- Direct Known Subclasses:
ConnectorModelValidator,ExtensionsJsonSchemaValidator
public abstract class JsonSchemaModelValidator extends Object implements ModelValidator
JSON Schema based abstract implementation forModelValidator
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaModelValidator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.everit.json.schema.loader.SchemaLoaderschemaLoader()voidvalidate(byte[] bytes, ValidationContext validationContext)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.cloud.modeling.api.ModelValidationErrorProducer
createModelValidationError, createModelValidationError
-
Methods inherited from interface org.activiti.cloud.modeling.api.ModelValidator
getHandledContentType, getHandledModelType, validate
-
-
-
-
Method Detail
-
schemaLoader
protected abstract org.everit.json.schema.loader.SchemaLoader schemaLoader()
-
validate
public void validate(byte[] bytes, ValidationContext validationContext)- Specified by:
validatein interfaceModelValidator
-
-