Class SimpleColumnValidator

  • All Implemented Interfaces:
    ColumnValidator

    public class SimpleColumnValidator
    extends Object
    implements ColumnValidator
    Simple concrete implementation of ColumnValidator which simply returns the given value.
    Author:
    James Ahlborn
    • Constructor Detail

      • SimpleColumnValidator

        public SimpleColumnValidator()
    • Method Detail

      • validate

        public Object validate​(Column col,
                               Object val)
                        throws IOException
        Description copied from interface: ColumnValidator
        Validates and/or manipulates the given potential new value for the given column. This method may return an entirely different value or throw an exception if the input value is not valid.
        Specified by:
        validate in interface ColumnValidator
        Throws:
        IOException