no.uio.edd.model.geo
Interface GeoModelLocation

All Known Implementing Classes:
GeoModelPlace

public interface GeoModelLocation

An interface representing all objects that can be connected to a location on earth: places, elements that can be names of places, and added nodes that can represent locations.

Author:
oeide

Method Summary
 java.lang.String asGML()
          My geographical info presented as a Geographical Markup Language fragment.
 java.lang.String getGeographicalDescription()
          Get the geographical description for the place connected to this object.
 java.lang.String getGeoInfo()
          My geographical info presented as a "rdf" including an identifier for myself.
 void setGeographicalDescription(java.lang.String description)
          Set a geographical description for the place connected to this object.
 

Method Detail

setGeographicalDescription

void setGeographicalDescription(java.lang.String description)
                                throws GeoModelException
Set a geographical description for the place connected to this object.

Parameters:
description - A geographical description, possible formalised using pseudo-XML code.
Throws:
GeoModelException

getGeographicalDescription

java.lang.String getGeographicalDescription()
Get the geographical description for the place connected to this object.

Returns:
The geographical description, possible formalised using pseudo-XML code.

getGeoInfo

java.lang.String getGeoInfo()
My geographical info presented as a "rdf" including an identifier for myself.

Returns:
The "rdf" representation of my geographical info. Empty string if no such info.

asGML

java.lang.String asGML()
My geographical info presented as a Geographical Markup Language fragment.

Returns:
The GML fragment.