ReTypingFeatureIterator
public class ReTypingIterator extends Object implements Iterator<SimpleFeature>
Constructor and Description |
---|
ReTypingIterator(Iterator<SimpleFeature> delegate,
SimpleFeatureType source,
SimpleFeatureType target)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Iterator<SimpleFeature> |
getDelegate()
Deprecated.
|
boolean |
hasNext()
Deprecated.
|
SimpleFeature |
next()
Deprecated.
|
void |
remove()
Deprecated.
|
protected AttributeDescriptor[] |
typeAttributes(SimpleFeatureType original,
SimpleFeatureType target)
Deprecated.
Supplies mapping from origional to target FeatureType.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ReTypingIterator(Iterator<SimpleFeature> delegate, SimpleFeatureType source, SimpleFeatureType target)
public Iterator<SimpleFeature> getDelegate()
public void remove()
remove
in interface Iterator<SimpleFeature>
public boolean hasNext()
hasNext
in interface Iterator<SimpleFeature>
public SimpleFeature next()
next
in interface Iterator<SimpleFeature>
protected AttributeDescriptor[] typeAttributes(SimpleFeatureType original, SimpleFeatureType target)
Will also ensure that origional can cover target
target
- Desired FeatureTypeorigional
- Origional FeatureTypeIllegalArgumentException
- if unable to provide a mappingCopyright © 1996–2019 Geotools. All rights reserved.