org.geotools.data.gen
Class PreGeneralizedFeatureIterator
java.lang.Object
org.geotools.data.gen.PreGeneralizedFeatureIterator
- All Implemented Interfaces:
- FeatureIterator<org.opengis.feature.simple.SimpleFeature>
public class PreGeneralizedFeatureIterator
- extends java.lang.Object
- implements FeatureIterator<org.opengis.feature.simple.SimpleFeature>
- Author:
- Christian Muüller
Implementation of
FeatureIterator
for PreGeneralizedSimpleFeature
Constructor Summary |
PreGeneralizedFeatureIterator(FeatureIterator<org.opengis.feature.simple.SimpleFeature> backendIterator,
org.opengis.feature.simple.SimpleFeatureType featureTyp,
int[] indexMapping,
java.lang.String geomPropertyName,
java.lang.String backendGeomPropertyName)
|
Method Summary |
void |
close()
Required so FeatureCollection classes can implement close( FeatureIterator ). |
boolean |
hasNext()
Does another Feature exist in this Iteration. |
org.opengis.feature.simple.SimpleFeature |
next()
Get the next Feature in this iteration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
backendIterator
protected FeatureIterator<org.opengis.feature.simple.SimpleFeature> backendIterator
featureTyp
protected org.opengis.feature.simple.SimpleFeatureType featureTyp
geomPropertyName
protected java.lang.String geomPropertyName
backendGeomPropertyName
protected java.lang.String backendGeomPropertyName
indexMapping
protected int[] indexMapping
PreGeneralizedFeatureIterator
public PreGeneralizedFeatureIterator(FeatureIterator<org.opengis.feature.simple.SimpleFeature> backendIterator,
org.opengis.feature.simple.SimpleFeatureType featureTyp,
int[] indexMapping,
java.lang.String geomPropertyName,
java.lang.String backendGeomPropertyName)
close
public void close()
- Description copied from interface:
FeatureIterator
- Required so FeatureCollection classes can implement close( FeatureIterator ).
- Specified by:
close
in interface FeatureIterator<org.opengis.feature.simple.SimpleFeature>
hasNext
public boolean hasNext()
- Description copied from interface:
FeatureIterator
- Does another Feature exist in this Iteration.
Iterator defin: Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)
- Specified by:
hasNext
in interface FeatureIterator<org.opengis.feature.simple.SimpleFeature>
- Returns:
- true if more Features exist, false otherwise.
next
public org.opengis.feature.simple.SimpleFeature next()
throws java.util.NoSuchElementException
- Description copied from interface:
FeatureIterator
- Get the next Feature in this iteration.
- Specified by:
next
in interface FeatureIterator<org.opengis.feature.simple.SimpleFeature>
- Returns:
- The next Feature
- Throws:
java.util.NoSuchElementException
- If no more Features exist.
Copyright © 1996-2010 Geotools. All Rights Reserved.