|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.datasource.IlvMapDelegateFeatureIterator
ilog.views.maps.datasource.IlvSDODataSource.OracleIterator
public static class IlvSDODataSource.OracleIterator
An internal IlvMapRegionOfInterestIterator to go over an
Oracle SDO connection.
| Constructor Summary | |
|---|---|
IlvSDODataSource.OracleIterator(IlvInputStream stream)
Reads an OracleIterator from the specified input
stream. |
|
IlvSDODataSource.OracleIterator(IlvSDOConnection connection,
boolean isObjectModel,
String layerName)
Creates an OracleIterator from a specified Oracle SDO
connection. |
|
IlvSDODataSource.OracleIterator(IlvSDOConnection connection,
boolean isObjectModel,
String layerName,
IlvThreadedActivityMonitor tmonitor)
Creates an OracleIterator from a specified Oracle SDO
connection. |
|
| Method Summary | |
|---|---|
IlvCoordinateSystem |
getCoordinateSystem()
Returns the spatial reference system that describes the coordinate system of geometric coordinates of the map features. |
Rectangle2D |
getLatLonBounds()
Returns the bounds of all objects returned by this feature iterator. |
IlvMapFeature |
getNextFeature()
Returns the next map feature of the iterator. |
IlvRect |
getSize()
Returns the bounds of all objects returned by this feature iterator. |
void |
restart()
Rewinds the iterator for new use. |
void |
setRegionOfInterest(double minX,
double minY,
double maxX,
double maxY)
Sets the region of interest to return features for. |
void |
write(IlvOutputStream stream)
Writes an OracleIterator to the specified input stream. |
| Methods inherited from class ilog.views.maps.datasource.IlvMapDelegateFeatureIterator |
|---|
dispose, getDefaultFeatureRenderer, getDelegate, getLowerRightCorner, getUpperLeftCorner, isGeoreferenced, setDelegate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.views.maps.IlvMapFeatureIterator |
|---|
dispose, getDefaultFeatureRenderer, getLowerRightCorner, getUpperLeftCorner, isGeoreferenced |
| Constructor Detail |
|---|
public IlvSDODataSource.OracleIterator(IlvSDOConnection connection,
boolean isObjectModel,
String layerName)
OracleIterator from a specified Oracle SDO
connection.
connection - The SDO connection to read map features from.isObjectModel - Set to true if the Oracle
database follows the object model. Set to false for
the relational model.layerName - The name of the layer to fetch.
public IlvSDODataSource.OracleIterator(IlvSDOConnection connection,
boolean isObjectModel,
String layerName,
IlvThreadedActivityMonitor tmonitor)
OracleIterator from a specified Oracle SDO
connection.
connection - The SDO connection to read map features from.isObjectModel - Set to true if the Oracle
database follows the object model. Set to false for
the relational model.layerName - The name of the layer to fetch.tmonitor - Thread monitor or null.
public IlvSDODataSource.OracleIterator(IlvInputStream stream)
throws IlvReadFileException
OracleIterator from the specified input
stream.
stream - The IlvInputStream to read from.
IlvReadFileException - if an exception occurs during the
reading process.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
OracleIterator to the specified input stream.
write in interface IlvPersistentObjectstream - The IlvOutputStream to write to.
IOException - if an exception occurs during the writing process.public IlvCoordinateSystem getCoordinateSystem()
getCoordinateSystem in interface IlvMapFeatureIteratorgetCoordinateSystem in class IlvMapDelegateFeatureIteratornull if the
coordinate system is unknown.IlvMapFeatureIterator.getCoordinateSystem()public void restart()
restart in interface IlvMapReusableFeatureIteratorrestart in class IlvMapDelegateFeatureIteratorIlvMapReusableFeatureIterator.restart()
public void setRegionOfInterest(double minX,
double minY,
double maxX,
double maxY)
setRegionOfInterest in interface IlvMapRegionOfInterestIteratorminX - The left coordinate of the area of interest.minY - The bottom coordinate of the area of interest.maxX - The right coordinate of the area of interest.maxY - The top coordinate of the area of interest.IlvMapRegionOfInterestIterator.setRegionOfInterest(double, double, double, double)
public IlvMapFeature getNextFeature()
throws IOException
getNextFeature in interface IlvMapFeatureIteratorgetNextFeature in class IlvMapDelegateFeatureIteratornull
if the iteration is finished.
IOExceptionIlvMapFeatureIterator.getNextFeature()
public IlvRect getSize()
throws SQLException
SQLExceptionpublic Rectangle2D getLatLonBounds()
getLatLonBounds in interface IlvMapRegionOfInterestIterator
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||