Revision 24224
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/VectorialEditableAdapter.java | ||
---|---|---|
301 | 301 |
import com.iver.cit.gvsig.fmap.drivers.IFeatureIterator; |
302 | 302 |
import com.iver.cit.gvsig.fmap.drivers.VectorialDriver; |
303 | 303 |
import com.iver.cit.gvsig.fmap.drivers.featureiterators.AttrQueryFeatureIterator; |
304 |
import com.iver.cit.gvsig.fmap.drivers.featureiterators.AttrQuerySelectionFeatureIterator; |
|
304 | 305 |
import com.iver.cit.gvsig.fmap.drivers.featureiterators.DefaultFeatureIterator; |
305 | 306 |
import com.iver.cit.gvsig.fmap.drivers.featureiterators.SpatialQueryFeatureIterator; |
306 | 307 |
import com.iver.cit.gvsig.fmap.layers.FBitSet; |
... | ... | |
1095 | 1096 |
this.ct=ct; |
1096 | 1097 |
} |
1097 | 1098 |
|
1099 |
public IFeatureIterator getFeatureIterator(String sql, IProjection newProjection, boolean withSelection) throws ReadDriverException { |
|
1100 |
if (withSelection) |
|
1101 |
return new AttrQuerySelectionFeatureIterator(this, projection, newProjection, sql); |
|
1102 |
else |
|
1103 |
return getFeatureIterator(sql,newProjection); |
|
1104 |
} |
|
1105 |
|
|
1098 | 1106 |
} |
Also available in: Unified diff