Class IgnoreViolations

java.lang.Object
interlok.csv.schema.IgnoreViolations
All Implemented Interfaces:
SchemaViolationHandler

public class IgnoreViolations extends Object implements SchemaViolationHandler
Ignore all failure messages from schema validation.
  • Constructor Details

    • IgnoreViolations

      public IgnoreViolations()
  • Method Details

    • handle

      public void handle(Collection<uk.gov.nationalarchives.csv.validator.api.java.FailMessage> failures, com.adaptris.core.AdaptrisMessage msg) throws com.adaptris.core.ServiceException
      Description copied from interface: SchemaViolationHandler
      Handle any schema violations.
      Specified by:
      handle in interface SchemaViolationHandler
      Parameters:
      failures - the failures representing the violations, non-null.
      msg - the adaptris message
      Throws:
      com.adaptris.core.ServiceException