Interface SchemaValidator
- All Known Implementing Classes:
V1SchemaValidator
public interface SchemaValidator
Interface to define Schema validators. Schema validators are built up of
ActionValidator
s
which combine to validate a given schema. Schemas will change with time and will need new
validators, so this interface ensures they can be easily swapped.-
Method Summary
Modifier and TypeMethodDescriptionvalidate
(CutsceneDocDTO cutsceneDocDTO) Validates a givenCutsceneDocDTO
-
Method Details
-
validate
Validates a givenCutsceneDocDTO
- Parameters:
cutsceneDocDTO
- TheCutsceneDocDTO
that needs to be validated- Returns:
- A list of
AuthoringError
detail each rule infraction
-