org.geotools.data.jdbc
Class WKTAttributeReader
java.lang.Object
org.geotools.data.AbstractAttributeIO
org.geotools.data.jdbc.ResultSetAttributeReader
org.geotools.data.jdbc.WKTAttributeReader
- public class WKTAttributeReader
- extends ResultSetAttributeReader
An attribute reader for well known text. For now this just reads well known
text in result sets, but if there are other cases of wkt that are not in
databases we can rethink or adapt this class to them.
- Author:
- Chris Holmes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WKTAttributeReader
protected WKTAttributeReader(java.sql.ResultSet results,
AttributeType[] attTypes,
int startColumn,
Transaction transaction,
java.sql.Connection connection)
readColumn
protected java.lang.Object readColumn(int column)
throws java.io.IOException
- Overrides:
readColumn
in class ResultSetAttributeReader
- Throws:
java.io.IOException
getReader
public static ResultSetAttributeReader getReader(java.sql.ResultSet results,
AttributeType[] attributes,
int startCol,
Transaction transaction)
throws DataSourceException
- Throws:
DataSourceException
getReader
public static ResultSetAttributeReader getReader(java.sql.ResultSet results,
AttributeType attribute,
int startCol,
Transaction transaction)
throws DataSourceException
- Throws:
DataSourceException
getGeometryReader
public static WKTAttributeReader getGeometryReader(java.sql.ResultSet results,
AttributeType attribute,
int startCol,
Transaction transaction)
throws DataSourceException
- Throws:
DataSourceException
Copyright © 1996-2003 GeoTools. All Rights Reserved.