1 |
package skrueger.geotools; |
2 |
|
3 |
import org.geotools.data.FeatureSource; |
4 |
import org.opengis.feature.FeatureCollection; |
5 |
|
6 |
/** |
7 |
* This Interface combines all styled layers that are running on {@link FeatureCollection} or {@link FeatureSource} |
8 |
* |
9 |
* @author Stefan A. Krüger |
10 |
* |
11 |
* @param <T> The base Type returned in the getObject() method. |
12 |
*/ |
13 |
public interface StyledFeaturesInterface<T> extends StyledMapInterface<T>{ |
14 |
|
15 |
/** |
16 |
* @return The features of this layer as a {@link FeatureSource}. |
17 |
*/ |
18 |
public FeatureSource getFeatureSource(); |
19 |
|
20 |
/** |
21 |
* @return The features of this layer as a {@link FeatureCollection}. |
22 |
*/ |
23 |
public abstract org.geotools.feature.FeatureCollection getFeatureCollection(); |
24 |
} |