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