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 and Description
    --- | ---
    `javaslang.control.Validation<javaslang.collection.List<SMFErrorType>,SMFHeader>` | `validate(SMFHeader header, SMFSchema schema)` Validate the given header against the given schema.

- - ### Method Detail

    - #### validate

          javaslang.control.Validation<javaslang.collection.List<SMFErrorType>,SMFHeader> validate(SMFHeader header,
                                                                                                   SMFSchema schema)

      Validate the given header against the given schema.
      Parameters:
        `header` - The header
        `schema` - The schema
      Returns:
        The validated header or a list of validation errors

Copyright © 2017 <code@io7m.com> http://io7m.com