| java.lang.Object org.geotools.arcsde.data.ArcSDEFeatureWriter
ArcSDEFeatureWriter | class ArcSDEFeatureWriter implements FeatureWriter(Code) | | Implementation fo the FeatureWriter interface for use with the
ArcSDEDataStore class.
author: Jake Fear, jfear@polexis.com |
Method Summary | |
public void | close() | public FeatureType | getFeatureType() | public boolean | hasNext() Indicates whether or not this FeatureWriter contains more
feature instances or not. | public synchronized Feature | next() Implements an operation similar to next in java.util.Iterator. | public synchronized void | remove() Removes the current feature from the backing store. | public synchronized void | write() Writes the feature at the current index to the backing store. |
getFeatureType | public FeatureType getFeatureType()(Code) | | Provides the FeatureType that is acceptable for features
handled by this FeatureWriter
DOCUMENT ME! throws: RuntimeException - DOCUMENT ME! |
hasNext | public boolean hasNext() throws IOException(Code) | | Indicates whether or not this FeatureWriter contains more
feature instances or not.
true if the next call to next() will return analready existing feature from the backing store. throws: IOException - |
next | public synchronized Feature next() throws IOException(Code) | | Implements an operation similar to next in java.util.Iterator. This
allows the caller to iterate over features obtained from the backing
store and to instantiate new features and add them to the layer in the
backing store.
If no 'next feature' is available then a new feature object iscreated and returned to the caller so that they may modify itscontents and later write it to the backing store. throws: IOException - |
remove | public synchronized void remove() throws IOException(Code) | | Removes the current feature from the backing store.
throws: IOException - If there are no features or if the backing store throws anexception. |
write | public synchronized void write() throws IOException(Code) | | Writes the feature at the current index to the backing store. If this
feature is not yet in the backing store it will be inserted.
throws: IOException - In the case that it is not possible to write the feature tothe backing store because it either does not exist or thebacking store throws its own exception that indicates anerror. |
|
|