no.uio.edd.model.geo
Class GeoModelPlaceReg
java.lang.Object
no.uio.edd.model.geo.GeoModelPlaceReg
public class GeoModelPlaceReg
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoModelPlaceReg
GeoModelPlaceReg(GeoModelRunner inGeoModelRunner,
org.w3c.dom.Element rootNode)
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.