com.healthmarketscience.jackcess.util
Class SimpleColumnValidatorFactory

java.lang.Object
  extended by com.healthmarketscience.jackcess.util.SimpleColumnValidatorFactory
All Implemented Interfaces:
ColumnValidatorFactory

public class SimpleColumnValidatorFactory
extends Object
implements ColumnValidatorFactory

Simple concrete implementation of ColumnValidatorFactory which returns SimpleColumnValidator.INSTANCE for all columns.

Author:
James Ahlborn

Field Summary
static SimpleColumnValidatorFactory INSTANCE
           
 
Constructor Summary
SimpleColumnValidatorFactory()
           
 
Method Summary
 ColumnValidator createValidator(Column col)
          Returns a ColumnValidator instance for the given column, or null if the default should be used.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SimpleColumnValidatorFactory INSTANCE
Constructor Detail

SimpleColumnValidatorFactory

public SimpleColumnValidatorFactory()
Method Detail

createValidator

public ColumnValidator createValidator(Column col)
Description copied from interface: ColumnValidatorFactory
Returns a ColumnValidator instance for the given column, or null if the default should be used.

Specified by:
createValidator in interface ColumnValidatorFactory


Copyright © 2005–2017 Health Market Science. All rights reserved.