Package org.geotools.data.wfs
Class WFSFeatureWriter
Object
DiffContentFeatureWriter
WFSFeatureWriter
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- FeatureWriter<SimpleFeatureType,- SimpleFeature> 
- 
Field SummaryFields inherited from class DiffContentFeatureWriterdiff, reader
- 
Constructor SummaryConstructorsConstructorDescriptionWFSFeatureWriter(WFSFeatureStore store, WFSLocalTransactionState localSate, FeatureReader<SimpleFeatureType, SimpleFeature> reader, boolean autoCommit) 
- 
Method SummaryMethods inherited from class DiffContentFeatureWriterclose, getFeatureType
- 
Constructor Details- 
WFSFeatureWriterpublic WFSFeatureWriter(WFSFeatureStore store, WFSLocalTransactionState localSate, FeatureReader<SimpleFeatureType, SimpleFeature> reader, boolean autoCommit) 
 
- 
- 
Method Details- 
writeDescription copied from class:DiffContentFeatureWriterWrites out the current feature.- Specified by:
- writein interface- FeatureWriter<SimpleFeatureType,- SimpleFeature> 
- Overrides:
- writein class- DiffContentFeatureWriter
- Throws:
- IOException
- See Also:
 
- 
removeDescription 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). - Specified by:
- removein interface- FeatureWriter<SimpleFeatureType,- SimpleFeature> 
- Overrides:
- removein class- DiffContentFeatureWriter
- Throws:
- IOException
- See Also:
 
- 
hasNextDescription copied from class:DiffContentFeatureWriterQuery for more content.- Specified by:
- hasNextin interface- FeatureWriter<SimpleFeatureType,- SimpleFeature> 
- Overrides:
- hasNextin class- DiffContentFeatureWriter
- Returns:
- trueif an additional- Featureis available,- falseif not.
- Throws:
- IOException- if an I/O error occurs.
- See Also:
 
- 
nextDescription copied from class:DiffContentFeatureWriterNext Feature from reader or new content.- Specified by:
- nextin interface- FeatureWriter<SimpleFeatureType,- SimpleFeature> 
- Overrides:
- nextin class- DiffContentFeatureWriter
- Returns:
- Feature from Query, or newly appended Feature
- Throws:
- IOException- if the writer has been closed or an I/O error occurs reading the next- Feature.
- See Also:
 
 
-