| java.lang.Object org.geotools.data.DiffFeatureWriter
DiffFeatureWriter | abstract public class DiffFeatureWriter implements FeatureWriter(Code) | | A FeatureWriter that captures modifications against a FeatureReader.
You will eventually need to write out the differences, later.
The api has been implemented in terms of FeatureReader to make explicit that
no Features are writen out by this Class.
author: Jody Garnett, Refractions Research See Also: TransactionStateDiff |
Method Summary | |
public void | close() Clean up resources associated with this writer. | abstract protected void | fireNotification(int eventType, Envelope bounds) Subclass must provide the notification. | public FeatureType | getFeatureType() | public boolean | hasNext() Query for more content. | public Feature | next() Next Feature from reader or new content. | public void | remove() | public void | write() Writes out the current feature. |
DiffFeatureWriter | public DiffFeatureWriter(FeatureReader reader, Diff diff)(Code) | | DiffFeatureWriter construction.
Parameters: reader - Parameters: diff - |
DiffFeatureWriter | public DiffFeatureWriter(FeatureReader reader, Diff diff, Filter filter)(Code) | | DiffFeatureWriter construction.
Parameters: reader - Parameters: diff - Parameters: filter - |
fireNotification | abstract protected void fireNotification(int eventType, Envelope bounds)(Code) | | Subclass must provide the notification.
Notification requirements for modifications against a Transaction should
only be issued to FeatureSource instances that opperate against the
same typeName and Transaction.
Other FeatureSource instances with the same typeName will be notified
when the Transaction is committed.
Parameters: eventType - One of FeatureType.FEATURES_ADDED, FeatureType.CHANGED,FeatureType.FEATURES_REMOVED Parameters: bounds - |
|
|