org.geotools.data.jdbc.attributeio
Class WKTAttributeIO

Object
  extended by WKTAttributeIO
All Implemented Interfaces:
AttributeIO

Deprecated. scheduled for removal in 2.7, use classes in org.geotools.jdbc

public class WKTAttributeIO
extends Object
implements AttributeIO

An attribute IO object that can read and write geometries encoded into WKT format.

Author:
wolf
Module:
modules/library/jdbc (gt-jdbc.jar)

Constructor Summary
WKTAttributeIO()
          Deprecated.  
 
Method Summary
 Object read(ResultSet rs, int position)
          Deprecated. Reads a feature attribute out of a ResultSet
 void write(PreparedStatement ps, int position, Object value)
          Deprecated. Writes a feature attribute into a PreparedStatement
 void write(ResultSet rs, int position, Object value)
          Deprecated. Writes a feature attribute into a ResultSet
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WKTAttributeIO

public WKTAttributeIO()
Deprecated. 
Method Detail

read

public Object read(ResultSet rs,
                   int position)
            throws IOException
Deprecated. 
Description copied from interface: AttributeIO
Reads a feature attribute out of a ResultSet

Specified by:
read in interface AttributeIO
Parameters:
rs - - the resultset to be read
position - - the position of the attribute in the resultset
Returns:
The parsed attribute
Throws:
IOException - - if some exception occurs while reading the attribute
See Also:
AttributeIO.read(java.sql.ResultSet, int)

write

public void write(ResultSet rs,
                  int position,
                  Object value)
           throws IOException
Deprecated. 
Description copied from interface: AttributeIO
Writes a feature attribute into a ResultSet

Specified by:
write in interface AttributeIO
Parameters:
rs - - the result set to be modified
position - - the position in which the attribute will inserted into the result set
value - - the attribute that will be written into the resultset
Throws:
IOException - - if some exception occurs while writing the attribute
See Also:
AttributeIO.write(java.sql.ResultSet, int, java.lang.Object)

write

public void write(PreparedStatement ps,
                  int position,
                  Object value)
           throws IOException
Deprecated. 
Description copied from interface: AttributeIO
Writes a feature attribute into a PreparedStatement

Specified by:
write in interface AttributeIO
Parameters:
ps - - the result set to be modified
position - - the position in which the attribute will inserted into the result set
value - - the attribute that will be written into the resultset
Throws:
IOException - - if some exception occurs while writing the attribute
See Also:
AttributeIO.write(java.sql.ResultSet, int, java.lang.Object)


Copyright © 1996-2010 Geotools. All Rights Reserved.