2 |
* Copyright (c) 2009 Martin O. J. Schmitz. |
* Copyright (c) 2009 Martin O. J. Schmitz. |
3 |
* |
* |
4 |
* This file is part of the SCHMITZM library - a collection of utility |
* This file is part of the SCHMITZM library - a collection of utility |
5 |
* classes based on Java 1.6, focussing (not only) on Java Swing |
* classes based on Java 1.6, focusing (not only) on Java Swing |
6 |
* and the Geotools library. |
* and the Geotools library. |
7 |
* |
* |
8 |
* The SCHMITZM project is hosted at: |
* The SCHMITZM project is hosted at: |
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 |
} |
} |