| java.lang.Object org.geotools.feature.iso.simple.ArraySimpleFeature
ArraySimpleFeature | public class ArraySimpleFeature implements SimpleFeature(Code) | | This class is designed to be fast and lighweight, making use of the
assumptions of SimpleFeature to do everything in the easiest manner possible.
This code operates under the assumption that the most common use will be
through the SimpleFeatureAPI and that we should lazyly create any wrapers
(such as AttributeDescriptor)as needed.
In the interests of going quick we will not perform any tests here and allow
a subclass classed StrickSimpleFeature to provide a decent implementation as
required.
author: Jody Garnett |
type | SimpleFeatureType type(Code) | | |
ArraySimpleFeature | public ArraySimpleFeature(SimpleFeatureType type, String id)(Code) | | |
ArraySimpleFeature | public ArraySimpleFeature(SimpleFeatureType type, String id, Object[] values)(Code) | | |
descriptor | public PropertyDescriptor descriptor()(Code) | | |
getBounds | public BoundingBox getBounds()(Code) | | |
getCRS | public CoordinateReferenceSystem getCRS()(Code) | | |
getDefaultGeometry | public GeometryAttribute getDefaultGeometry()(Code) | | |
getDefaultGeometryValue | public Object getDefaultGeometryValue()(Code) | | |
getDescriptor | public AttributeDescriptor getDescriptor()(Code) | | Always will return null because.
To be used with a descriptor this SimpleFeature would be being used as an
attirbute in another Feature, not something we are interested in please
just go use a normal implementation, we are optimized and limited.
|
getNumberOfAttributes | public int getNumberOfAttributes()(Code) | | |
getType | public AttributeType getType()(Code) | | |
getValue | public synchronized Object getValue()(Code) | | List of AttributeDescriptors in the order indicated by SimpleFeatureType.
This method will mostly be called by generic feature code that has not
been optimized for the helper methods contained in this class.
AttributeDescriptors here will be wrappers around two core real objects:
- value[index]
- type.get( index )
|
nillable | public boolean nillable()(Code) | | |
setCRS | public void setCRS(CoordinateReferenceSystem crs)(Code) | | |
setDefaultGeometry | public void setDefaultGeometry(GeometryAttribute geometryAttribute)(Code) | | |
setDefaultGeometryValue | public void setDefaultGeometryValue(GeometryAttribute geom)(Code) | | |
setDefaultGeometryValue | public void setDefaultGeometryValue(Object geometry)(Code) | | |
|
|