| public String getInternalTableName(String tablename) {
return tablename;
}
public Value getFieldValue(long rowIndex, int fieldId) throws DriverException {
GeneralPathX gp = new GeneralPathX();
gp.moveTo(10.0, 10.0);
gp.lineTo(10.0, 20.0);
gp.lineTo(20.0, 20.0);
gp.lineTo(20.0, 10.0);
gp.closePath();
Value v = GeometryFactory.createPolygon2D(gp);
return v;
}
|