33 |
|
|
34 |
import org.geotools.data.FeatureSource; |
import org.geotools.data.FeatureSource; |
35 |
import org.geotools.feature.FeatureCollection; |
import org.geotools.feature.FeatureCollection; |
36 |
|
import org.opengis.feature.simple.SimpleFeature; |
37 |
|
import org.opengis.feature.simple.SimpleFeatureType; |
38 |
|
|
39 |
import skrueger.AttributeMetaData; |
import skrueger.AttributeMetaData; |
40 |
|
|
54 |
/** |
/** |
55 |
* @return The features of this layer as a {@link FeatureSource}. |
* @return The features of this layer as a {@link FeatureSource}. |
56 |
*/ |
*/ |
57 |
public FeatureSource getFeatureSource(); |
public FeatureSource<SimpleFeatureType, SimpleFeature> getFeatureSource(); |
58 |
|
|
59 |
/** |
/** |
60 |
* @return The features of this layer as a {@link FeatureCollection}. |
* @return The features of this layer as a {@link FeatureCollection}. |
61 |
*/ |
*/ |
62 |
public abstract FeatureCollection getFeatureCollection(); |
public abstract FeatureCollection<SimpleFeatureType, SimpleFeature> getFeatureCollection(); |
63 |
} |
} |