]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - jcr/GeoJcrMapper.java
1 package org
.argeo
.geotools
.jcr
;
7 import javax
.jcr
.Session
;
9 import org
.geotools
.data
.FeatureSource
;
10 import org
.opengis
.feature
.simple
.SimpleFeature
;
11 import org
.opengis
.feature
.simple
.SimpleFeatureType
;
13 public interface GeoJcrMapper
{
14 // public Node getNode(String dataStoreAlias,
15 // FeatureSource<SimpleFeatureType, SimpleFeature> featureSource,
16 // SimpleFeature feature);
18 public Map
<String
, List
<FeatureSource
<SimpleFeatureType
, SimpleFeature
>>> getPossibleFeatureSources();
20 public Node
getFeatureSourceNode(Session session
, String dataStoreAlias
,
21 FeatureSource
<SimpleFeatureType
, SimpleFeature
> featureSource
);
23 // public Node getNode(String dataStoreAlias,
24 // FeatureSource<SimpleFeatureType, SimpleFeature> featureSource);
26 public Node
getFeatureNode(Node featureSource
, String featureId
);
28 public FeatureSource
<SimpleFeatureType
, SimpleFeature
> getFeatureSource(
31 public SimpleFeature
getFeature(Node node
);