|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.feature.AbstractBasicFeature
com.vividsolutions.jump.feature.BasicFeature
public class BasicFeature
Default implementation of the Feature interface.
| Constructor Summary | |
|---|---|
BasicFeature(FeatureSchema featureSchema)
Constructs a BasicFeature with the given FeatureSchema specifying the attribute names and types. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(int i)
Returns the specified attribute. |
java.lang.Object[] |
getAttributes()
A low-level accessor that is not normally used. |
void |
setAttribute(int attributeIndex,
java.lang.Object newAttribute)
Sets the specified attribute. |
void |
setAttributes(java.lang.Object[] attributes)
A low-level accessor that is not normally used. |
| Methods inherited from class com.vividsolutions.jump.feature.AbstractBasicFeature |
|---|
clone, clone, clone, compare, compareTo, getAttribute, getDouble, getGeometry, getID, getInteger, getSchema, getString, getString, setAttribute, setGeometry, setSchema |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicFeature(FeatureSchema featureSchema)
| Method Detail |
|---|
public void setAttributes(java.lang.Object[] attributes)
setAttributes in interface Featureattributes - may have a different
length than the current attributes.
public void setAttribute(int attributeIndex,
java.lang.Object newAttribute)
setAttribute in interface FeatureattributeIndex - the array index at which to put the new attributenewAttribute - the new attributepublic java.lang.Object getAttribute(int i)
getAttribute in interface Featurei - the index of the attribute to get
public java.lang.Object[] getAttributes()
getAttributes in interface Feature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||