|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEWKTAttributeIO
public class EWKTAttributeIO
An attribute IO object that can read and write geometries encoded into EWKT format.
modules/plugin/postgis (gt-postgis.jar)
Constructor Summary | |
---|---|
EWKTAttributeIO()
|
Method Summary | |
---|---|
Object |
read(ResultSet rs,
int position)
Reads a feature attribute out of a ResultSet |
void |
write(PreparedStatement ps,
int position,
Object value)
Writes a feature attribute into a PreparedStatement |
void |
write(ResultSet rs,
int position,
Object value)
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 |
---|
public EWKTAttributeIO()
Method Detail |
---|
public Object read(ResultSet rs, int position) throws IOException
AttributeIO
read
in interface AttributeIO
rs
- - the resultset to be readposition
- - the position of the attribute in the resultset
IOException
- - if some exception occurs while reading the attributeAttributeIO.read(java.sql.ResultSet,
int)
public void write(ResultSet rs, int position, Object value) throws 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
IOException
- - if some exception occurs while writing the attributeAttributeIO.write(java.sql.ResultSet,
int, java.lang.Object)
public void write(PreparedStatement ps, int position, Object value) throws 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
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 |