Interface ArchiveDataSchemaValidator


public interface ArchiveDataSchemaValidator
  • Method Details

    • getContentTypes

      Set<String> getContentTypes()
      In case of content type clashes, validators are ordered according to precedence noted by @Order annotations.
      Returns:
      Content types supported by this validator (see ArchiveData.getContentType())
    • validatePayloadConformsToSchema

      ArchiveDataSchema validatePayloadConformsToSchema(ArchiveData archiveData)
      Parameters:
      archiveData - Archive data for which the payload is validated if it is well-formed
      Throws:
      SchemaValidationException - If the archive data payload does not conform to the schema specified in ArchiveData.getSchema()