com.vividsolutions.jump.feature
Class FeatureUpdateRecorder

java.lang.Object
  extended by com.vividsolutions.jump.feature.FeatureUpdateRecorder

public class FeatureUpdateRecorder
extends java.lang.Object

Records update transactions on Features, and can apply them to a FeatureCollection.


Constructor Summary
FeatureUpdateRecorder()
           
 
Method Summary
 FeatureDataset applyUpdates(FeatureCollection fc)
          Applies updates to an existing FeatureCollection.
 int getCount()
           
 void update(Feature origFeat, Feature newFeat)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureUpdateRecorder

public FeatureUpdateRecorder()
Method Detail

update

public void update(Feature origFeat,
                   Feature newFeat)

getCount

public int getCount()

applyUpdates

public FeatureDataset applyUpdates(FeatureCollection fc)
Applies updates to an existing FeatureCollection. The FeatureDataset returned will contain all the Features in the original dataset which do not have updates, as well as the new versions of updated features