|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Attribute reader/writer. Classes implementing this interface know how to parse and encode Feature attributes into resultset fields
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 |
Method Detail |
public java.lang.Object read(java.sql.ResultSet rs, int position) throws java.io.IOException
rs
- - the resultset to be readposition
- - the position of the attribute in the resultset
java.io.IOException
- - if some exception occurs while reading the attributepublic void write(java.sql.ResultSet rs, int position, java.lang.Object value) throws java.io.IOException
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 attributepublic void write(java.sql.PreparedStatement ps, int position, java.lang.Object value) throws java.io.IOException
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 attribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |