public abstract class IlvMapDelegateFeatureIterator extends Object implements IlvMapReusableFeatureIterator
IlvMapReusableFeatureIterator that uses a IlvMapfeatureIterator
as delegate. These class of IlvMapFeatureIterator is used in IlvMapDataSources
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 IlvMapFeatureIteratorIlvMapFeatureIterator.dispose()public IlvCoordinateSystem getCoordinateSystem()
getCoordinateSystem in interface IlvMapFeatureIteratornull
if the coordinate system is unknown.IlvMapFeatureIterator.getCoordinateSystem()public IlvFeatureRenderer getDefaultFeatureRenderer()
getDefaultFeatureRenderer in interface IlvMapFeatureIteratorIlvMapFeatureIterator.getDefaultFeatureRenderer()public IlvCoordinate getLowerRightCorner()
null
if the iterator cannot provide this information.getLowerRightCorner in interface IlvMapFeatureIteratorIlvMapFeatureIterator.getLowerRightCorner()public IlvCoordinate getUpperLeftCorner()
null
if the iterator cannot provide this information.getUpperLeftCorner in interface IlvMapFeatureIteratorIlvMapFeatureIterator.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 IlvMapFeatureIteratorIOExceptionIlvMapFeatureIterator.getNextFeature()public boolean isGeoreferenced()
true if the map reader can provide the
source projection of its map features.isGeoreferenced in interface IlvMapFeatureIteratorIlvMapFeatureIterator.isGeoreferenced()public abstract void restart()
restart in interface IlvMapReusableFeatureIteratorIlvMapReusableFeatureIterator.restart()© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.