Class GeoService
- java.lang.Object
-
- de.digitalcollections.iiif.model.Service
-
- de.digitalcollections.iiif.model.annex.GeoService
-
public class GeoService extends Service
A GeoJSON service (http://iiif.io/api/annex/services/#geojson).Initialize it either with an URL to a GeoJSON resource that identifies the linked location, or pass a
Featureobject that defines the location.
-
-
Constructor Summary
Constructors Constructor Description GeoService()GeoService(String identifier)GeoService(String identifier, org.geojson.Feature feature)GeoService(org.geojson.Feature feature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.geojson.FeaturegetFeature()StringgetType()-
Methods inherited from class de.digitalcollections.iiif.model.Service
addProfile, addProfile, getContext, getIdentifier, getLabel, getLabelString, getProfiles, setContext, setIdentifier, setLabel, setLabel, setProfiles
-
-
-
-
Field Detail
-
CONTEXT
public static final String CONTEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
-
getFeature
public org.geojson.Feature getFeature()
-
-