01: package com.vividsolutions.jump.datastore.jdbc;
02:
03: import java.sql.*;
04: import com.vividsolutions.jump.feature.*;
05:
06: /**
07: * An interface for objects which can transform columns
08: * from ResultSets into JUMP data types
09: */
10: public interface ValueConverter {
11: AttributeType getType();
12:
13: Object getValue(ResultSet rs, int column) throws Exception;
14: }
|