APIdia Launch Partner
Top Description Fields Constructors Methods
io.github.spannm.jackcess.util

public Class SimpleColumnValidator

extends Object
implements ColumnValidator
Class Inheritance
All Implemented Interfaces
io.github.spannm.jackcess.util.ColumnValidator
Imports
io.github.spannm.jackcess.Column

Simple concrete implementation of ColumnValidator which simply returns the given value.

Field Summary

Modifier and TypeField and Description
public static final SimpleColumnValidator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
validate(Column col, Object val)

Implements io.github.spannm.jackcess.util.ColumnValidator.validate.

Validates and/or manipulates the given potential new value for the given column.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final SimpleColumnValidator INSTANCE

Constructor Detail

SimpleColumnValidatorback to summary
public SimpleColumnValidator()

Method Detail

validateback to summary
public Object validate(Column col, Object val)

Implements io.github.spannm.jackcess.util.ColumnValidator.validate.

Doc from io.github.spannm.jackcess.util.ColumnValidator.validate.

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.

Annotations
@Override