29 |
******************************************************************************/ |
******************************************************************************/ |
30 |
package skrueger.geotools; |
package skrueger.geotools; |
31 |
|
|
|
import java.util.Map; |
|
|
|
|
32 |
import org.geotools.data.FeatureSource; |
import org.geotools.data.FeatureSource; |
33 |
import org.geotools.feature.FeatureCollection; |
import org.geotools.feature.FeatureCollection; |
34 |
|
import org.opengis.feature.simple.SimpleFeature; |
35 |
import skrueger.AttributeMetaData; |
import org.opengis.feature.simple.SimpleFeatureType; |
36 |
|
|
37 |
/** |
/** |
38 |
* This Interface combines all styled layers that are running on |
* This Interface combines all styled layers that are running on |
45 |
*/ |
*/ |
46 |
public interface StyledFeaturesInterface<T> extends StyledLayerInterface<T> { |
public interface StyledFeaturesInterface<T> extends StyledLayerInterface<T> { |
47 |
|
|
48 |
public abstract Map<Integer, AttributeMetaData> getAttributeMetaDataMap(); |
public abstract AttributeMetadataMap getAttributeMetaDataMap(); |
49 |
|
|
50 |
/** |
/** |
51 |
* @return The features of this layer as a {@link FeatureSource}. |
* @return The features of this layer as a {@link FeatureSource}. |
52 |
*/ |
*/ |
53 |
public FeatureSource getFeatureSource(); |
public FeatureSource<SimpleFeatureType, SimpleFeature> getFeatureSource(); |
54 |
|
|
55 |
/** |
/** |
56 |
* @return The features of this layer as a {@link FeatureCollection}. |
* @return The features of this layer as a {@link FeatureCollection}. |
57 |
*/ |
*/ |
58 |
public abstract FeatureCollection getFeatureCollection(); |
public abstract FeatureCollection<SimpleFeatureType, SimpleFeature> getFeatureCollection(); |
59 |
} |
} |