40 |
import org.geotools.data.collection.CollectionDataStore; |
import org.geotools.data.collection.CollectionDataStore; |
41 |
import org.geotools.feature.AttributeType; |
import org.geotools.feature.AttributeType; |
42 |
import org.geotools.feature.FeatureCollection; |
import org.geotools.feature.FeatureCollection; |
43 |
|
import org.opengis.feature.simple.SimpleFeature; |
44 |
import org.opengis.feature.simple.SimpleFeatureType; |
import org.opengis.feature.simple.SimpleFeatureType; |
45 |
import org.geotools.styling.Style; |
import org.geotools.styling.Style; |
46 |
|
|
59 |
* @version 1.0 |
* @version 1.0 |
60 |
*/ |
*/ |
61 |
public class StyledFeatureCollection extends |
public class StyledFeatureCollection extends |
62 |
AbstractStyledLayer<FeatureCollection> implements |
AbstractStyledLayer<FeatureCollection<SimpleFeatureType, SimpleFeature> > implements |
63 |
StyledFeatureCollectionInterface { |
StyledFeatureCollectionInterface { |
64 |
|
|
65 |
/** Holds the meta data for displaying a legend. */ |
/** Holds the meta data for displaying a legend. */ |
68 |
/** |
/** |
69 |
* We be filled with a "virtual" {@link FeatureSource} on demand. |
* We be filled with a "virtual" {@link FeatureSource} on demand. |
70 |
*/ |
*/ |
71 |
private FeatureSource featureSource = null; |
private FeatureSource<SimpleFeatureType, SimpleFeature> featureSource = null; |
72 |
|
|
73 |
/** |
/** |
74 |
* Creates a styled {@link FeatureCollection} with language-specific |
* Creates a styled {@link FeatureCollection} with language-specific |