no.uio.edd.model.geo
Class GeoModelPlaceReg

java.lang.Object
  extended by no.uio.edd.model.geo.GeoModelPlaceReg

public class GeoModelPlaceReg
extends java.lang.Object


Constructor Summary
GeoModelPlaceReg(GeoModelRunner inGeoModelRunner, org.w3c.dom.Element rootNode)
           
 
Method Summary
 java.lang.String asGML()
          Returns a GML document with GML for all the places who has it.
 ExtendableObjectList getAllPlaces()
           
 GeoModelPlace getGeoModelPlace(java.lang.String placeId)
           
(package private)  java.lang.String getGeoModelPlacesWithGeoInfo()
           
 java.lang.String getInfoHtml()
           
(package private)  GeoModelRunner getMyGeoModelRunner()
           
 java.lang.String[] removeCorefDuplicates(ExtendableStringList allPlaceIds)
          Replaces all occurrences of the list of place IDs with the main coref value and removes duplicates.
(package private)  void setGeoModelPlacesWithGeoInfo(org.w3c.dom.NodeList inNodeList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoModelPlaceReg

GeoModelPlaceReg(GeoModelRunner inGeoModelRunner,
                 org.w3c.dom.Element rootNode)
Method Detail

getInfoHtml

public java.lang.String getInfoHtml()

getAllPlaces

public ExtendableObjectList getAllPlaces()

getGeoModelPlace

public GeoModelPlace getGeoModelPlace(java.lang.String placeId)

getMyGeoModelRunner

GeoModelRunner getMyGeoModelRunner()

getGeoModelPlacesWithGeoInfo

java.lang.String getGeoModelPlacesWithGeoInfo()

setGeoModelPlacesWithGeoInfo

void setGeoModelPlacesWithGeoInfo(org.w3c.dom.NodeList inNodeList)
                            throws GeoModelException,
                                   GeoLocationException
Throws:
GeoModelException
GeoLocationException

asGML

public java.lang.String asGML()
Returns a GML document with GML for all the places who has it.

Returns:

removeCorefDuplicates

public java.lang.String[] removeCorefDuplicates(ExtendableStringList allPlaceIds)
Replaces all occurrences of the list of place IDs with the main coref value and removes duplicates. This function is destructive to its parameter object.

Parameters:
allPlaceIds - A list of place ID values.
Returns:
A list of coref main values where no to members of the same coref network is included.