public class SHPFeatureProvider extends DefaultFeatureProvider
Modifier and Type | Field and Description |
---|---|
protected boolean |
loaded |
protected boolean |
loading |
protected SHPStoreProvider |
store |
defaultGeometry, envelope, featureType, nulls, values
Constructor and Description |
---|
SHPFeatureProvider(SHPStoreProvider store,
FeatureType type) |
Modifier and Type | Method and Description |
---|---|
Object |
get(int i) |
Object |
get(String name) |
FeatureProvider |
getCopy() |
Envelope |
getDefaultEnvelope() |
Geometry |
getDefaultGeometry() |
protected String |
getNameForMessages() |
protected void |
load() |
void |
set(int i,
Object value) |
void |
set(String name,
Object value) |
void |
setOID(Object oid) |
getCopy, getOID, getType, isNew, isNull, isNull, isReadOnly, setDefaultEnvelope, setDefaultGeometry, setNew
protected SHPStoreProvider store
protected boolean loading
protected boolean loaded
public SHPFeatureProvider(SHPStoreProvider store, FeatureType type)
protected void load()
protected String getNameForMessages()
public void set(int i, Object value)
set
in interface FeatureProvider
set
in class DefaultFeatureProvider
public void set(String name, Object value)
set
in interface FeatureProvider
set
in class DefaultFeatureProvider
public Object get(int i)
get
in interface FeatureProvider
get
in class DefaultFeatureProvider
public Object get(String name)
get
in interface FeatureProvider
get
in class DefaultFeatureProvider
public Geometry getDefaultGeometry()
getDefaultGeometry
in interface FeatureProvider
getDefaultGeometry
in class DefaultFeatureProvider
public Envelope getDefaultEnvelope()
getDefaultEnvelope
in interface FeatureProvider
getDefaultEnvelope
in class DefaultFeatureProvider
public void setOID(Object oid)
setOID
in interface FeatureProvider
setOID
in class DefaultFeatureProvider
public FeatureProvider getCopy()
getCopy
in interface FeatureProvider
getCopy
in class DefaultFeatureProvider