java.lang.Object
net.fortuna.ical4j.validate.schema.JsonSchemaValidator
- All Implemented Interfaces:
Serializable,Validator<StructuredData>
XXX: The validotor library used in this class currently depends on the URLDecoder.decode(String, Charset)
method added in Java 10. As such this will cause an error when used with Java < 10.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(StructuredData target) Validates the target content by applying validation rules.
-
Constructor Details
-
JsonSchemaValidator
-
-
Method Details
-
validate
Description copied from interface:ValidatorValidates the target content by applying validation rules. When content fails validation the validator may throw an exception depending on the implementation.- Specified by:
validatein interfaceValidator<StructuredData>- Parameters:
target- the target of validation- Returns:
- the result of validation applied to the specified target
- Throws:
ValidationException- indicates validation failure (implementation-specific)
-