Package interlok.csv.schema
Class IgnoreViolations
java.lang.Object
interlok.csv.schema.IgnoreViolations
- All Implemented Interfaces:
SchemaViolationHandler
Ignore all failure messages from schema validation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface interlok.csv.schema.SchemaViolationHandler
SchemaViolationHandler.FailureType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Collection<uk.gov.nationalarchives.csv.validator.api.java.FailMessage> failures, AdaptrisMessage msg) Handle any schema violations.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface interlok.csv.schema.SchemaViolationHandler
toString
-
Constructor Details
-
IgnoreViolations
public IgnoreViolations()
-
-
Method Details
-
handle
public void handle(Collection<uk.gov.nationalarchives.csv.validator.api.java.FailMessage> failures, AdaptrisMessage msg) throws ServiceException Description copied from interface:SchemaViolationHandlerHandle any schema violations.- Specified by:
handlein interfaceSchemaViolationHandler- Parameters:
failures- the failures representing the violations, non-null.msg- the adaptris message- Throws:
ServiceException
-