Package com.io7m.smfj.validation.api
Interface SMFSchemaValidatorType
-
- All Known Implementing Classes:
SMFSchemaValidator
public interface SMFSchemaValidatorType
The type of schema validators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SMFPartialLogged<SMFHeader>
validate(SMFHeader header, SMFSchema schema)
Validate the given header against the given schema.
-
-
-
Method Detail
-
validate
SMFPartialLogged<SMFHeader> validate(SMFHeader header, SMFSchema schema)
Validate the given header against the given schema.- Parameters:
header
- The headerschema
- The schema- Returns:
- The validated header or a list of validation errors
-
-