| java.lang.Object org.geotools.feature.iso.simple.SimpleFeatures
SimpleFeatures | public class SimpleFeatures (Code) | | Convenience class for working with or implementing with simple features.
Method that involve creation must be called in a non-static context
and only after the class has been injected with a
org.geotools.feature.simple.SimpleFeatureBuilder
FIXME Inject with factory not builder!
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org |
Constructor Summary | |
public | SimpleFeatures(SimpleFeatureFactory factory) Creates a new instance satisfying the factory dependency. |
Method Summary | |
public static void | copy(SimpleFeature source, SimpleFeature target) Copies the values from one feature to another.
Parameters: source - The feature being copied from. | public SimpleFeature | create(SimpleFeatureType type, Object[] values, String fid) Creates a new simple feature from a type and array of values.
The order of items in values must correspond to the
order of attributes defined in type
Parameters: type - The simple feature type. Parameters: values - The values of the created feature. Parameters: fid - The feature id, may be null. | public SimpleFeature | create(SimpleFeatureType type, List values, String fid) Creates a new simple feature from a type and list of values.
The order of items in values must correspond to the
order of attributes defined in type
Parameters: type - The simple feature type. Parameters: values - The values of the created feature. Parameters: fid - The feature id, may be null. | public void | setSimpleFeatureFactory(SimpleFeatureFactory factory) |
factory | SimpleFeatureFactory factory(Code) | | Injected factory
|
SimpleFeatures | public SimpleFeatures(SimpleFeatureFactory factory)(Code) | | Creates a new instance satisfying the factory dependency.
Parameters: builder - |
copy | public static void copy(SimpleFeature source, SimpleFeature target)(Code) | | Copies the values from one feature to another.
Parameters: source - The feature being copied from. Parameters: target - The feature being copied to. |
create | public SimpleFeature create(SimpleFeatureType type, Object[] values, String fid)(Code) | | Creates a new simple feature from a type and array of values.
The order of items in values must correspond to the
order of attributes defined in type
Parameters: type - The simple feature type. Parameters: values - The values of the created feature. Parameters: fid - The feature id, may be null. The created feature. |
create | public SimpleFeature create(SimpleFeatureType type, List values, String fid)(Code) | | Creates a new simple feature from a type and list of values.
The order of items in values must correspond to the
order of attributes defined in type
Parameters: type - The simple feature type. Parameters: values - The values of the created feature. Parameters: fid - The feature id, may be null. The created feature. |
setSimpleFeatureFactory | public void setSimpleFeatureFactory(SimpleFeatureFactory factory)(Code) | | |
|
|