|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.jdbc.attributeio.WKTAttributeIO
An attribute IO object that can read and write geometries encoded into WKT format.
Constructor Summary | |
WKTAttributeIO()
|
Method Summary | |
java.lang.Object |
read(java.sql.ResultSet rs,
int position)
Reads a feature attribute out of a ResultSet |
void |
write(java.sql.PreparedStatement ps,
int position,
java.lang.Object value)
Writes a feature attribute into a PreparedStatement |
void |
write(java.sql.ResultSet rs,
int position,
java.lang.Object value)
Writes a feature attribute into a ResultSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WKTAttributeIO()
Method Detail |
public java.lang.Object read(java.sql.ResultSet rs, int position) throws java.io.IOException
AttributeIO
read
in interface AttributeIO
rs
- - the resultset to be readposition
- - the position of the attribute in the resultset
java.io.IOException
- - if some exception occurs while reading the attributeAttributeIO.read(java.sql.ResultSet,
int)
public void write(java.sql.ResultSet rs, int position, java.lang.Object value) throws java.io.IOException
AttributeIO
write
in interface AttributeIO
rs
- - the result set to be modifiedposition
- - the position in which the attribute will inserted into the result setvalue
- - the attribute that will be written into the resultset
java.io.IOException
- - if some exception occurs while writing the attributeAttributeIO.write(java.sql.ResultSet,
int, java.lang.Object)
public void write(java.sql.PreparedStatement ps, int position, java.lang.Object value) throws java.io.IOException
AttributeIO
write
in interface AttributeIO
ps
- - the result set to be modifiedposition
- - the position in which the attribute will inserted into the result setvalue
- - the attribute that will be written into the resultset
java.io.IOException
- - if some exception occurs while writing the attributeAttributeIO.write(java.sql.ResultSet,
int, java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |