All Methods Instance Methods Concrete Methods Modifier and Type Method Description
hasNext()Query for more content.
next()Next Feature from reader or new content.
remove()Removes current Feature, must be called before hasNext.
write()Writes out the current feature.
public void write() throws IOExceptionWrites out the current feature.
public void remove() throws IOExceptionDescription copied from interface:
FeatureWriterRemoves current Feature, must be called before hasNext.
FeatureWriters will need to allow all FeatureSources of the same typeName to issue a FeatureEvent event of type
FeatureEvent.FEATURES_REMOVEDwhen this method is called.
If this FeatureWriter is opperating against a Transaction FEATURES_REMOVED events should only be sent to FeatureSources operating on the same Transaction. When Transaction commit() is called other FeatureSources will be informed of the modifications.
When the current Feature has been provided as new content, this method "cancels" the add opperation (and notification needed).
public boolean hasNext() throws IOExceptionQuery for more content.
public SimpleFeature next() throws IOExceptionNext Feature from reader or new content.
- Specified by:
- Feature from Query, or newly appended Feature
IOException- if the writer has been closed or an I/O error occurs reading the next
- See Also: