public abstract class IlvMapDelegateFeatureIterator extends Object implements IlvMapReusableFeatureIterator
IlvMapReusableFeatureIterator
that uses a IlvMapfeatureIterator
as delegate. These class of IlvMapFeatureIterator
is used in IlvMapDataSource
s
in order to allow the data source to be restarted.Constructor and Description |
---|
IlvMapDelegateFeatureIterator()
Creates a new
IlvMapDelegateFeatureIterator . |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases the resources allocated by the feature iterator
(files, connections, and so on).
|
IlvCoordinateSystem |
getCoordinateSystem()
Returns the spatial reference system that describes the coordinate
system of geometric coordinates of the map features.
|
IlvFeatureRenderer |
getDefaultFeatureRenderer()
Returns a renderer that can be used to translate the map features returned
by this iterator into graphic objects.
|
IlvMapFeatureIterator |
getDelegate()
Returns the delegate.
|
IlvCoordinate |
getLowerRightCorner()
Returns the lower right corner of the rectangle containing all
the map feature of the list, or
null
if the iterator cannot provide this information. |
IlvMapFeature |
getNextFeature()
Returns the next map feature of the iterator or
null if the iteration is finished. |
IlvCoordinate |
getUpperLeftCorner()
Returns the upper left corner of the rectangle containing all
the map features of the list, or
null
if the iterator cannot provide this information. |
boolean |
isGeoreferenced()
Returns
true if the map reader can provide the
source projection of its map features. |
abstract void |
restart()
Rewinds the iterator for a new use.
|
void |
setDelegate(IlvMapFeatureIterator delegate)
Sets the delegate.
|
public IlvMapDelegateFeatureIterator()
IlvMapDelegateFeatureIterator
.public IlvMapFeatureIterator getDelegate()
public void setDelegate(IlvMapFeatureIterator delegate)
delegate
- The delegate to set.public void dispose()
dispose
in interface IlvMapFeatureIterator
IlvMapFeatureIterator.dispose()
public IlvCoordinateSystem getCoordinateSystem()
getCoordinateSystem
in interface IlvMapFeatureIterator
null
if the coordinate system is unknown.IlvMapFeatureIterator.getCoordinateSystem()
public IlvFeatureRenderer getDefaultFeatureRenderer()
getDefaultFeatureRenderer
in interface IlvMapFeatureIterator
IlvMapFeatureIterator.getDefaultFeatureRenderer()
public IlvCoordinate getLowerRightCorner()
null
if the iterator cannot provide this information.getLowerRightCorner
in interface IlvMapFeatureIterator
IlvMapFeatureIterator.getLowerRightCorner()
public IlvCoordinate getUpperLeftCorner()
null
if the iterator cannot provide this information.getUpperLeftCorner
in interface IlvMapFeatureIterator
IlvMapFeatureIterator.getUpperLeftCorner()
public IlvMapFeature getNextFeature() throws IOException
null
if the iteration is finished.
The returned map feature must be considered as volatile and
can be modified by the reader during the next call to its
getNextFeature
function.getNextFeature
in interface IlvMapFeatureIterator
IOException
IlvMapFeatureIterator.getNextFeature()
public boolean isGeoreferenced()
true
if the map reader can provide the
source projection of its map features.isGeoreferenced
in interface IlvMapFeatureIterator
IlvMapFeatureIterator.isGeoreferenced()
public abstract void restart()
restart
in interface IlvMapReusableFeatureIterator
IlvMapReusableFeatureIterator.restart()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.