|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uio.edd.model.geo.GeoModelPlace
public class GeoModelPlace
Constructor Summary | |
---|---|
GeoModelPlace(GeoModelPlaceReg inGeoModelPlaceReg,
org.w3c.dom.Element xmlFragment)
|
Method Summary | |
---|---|
boolean |
addCorefBacklink(java.lang.String corefId)
Add a link to the list of objects corefering to this. |
java.lang.String |
asGML()
My geographical info presented as a Geographical Markup Language fragment. |
java.lang.String[] |
getCorefBacklinkList()
Return the list of object IDs corefering to this. |
java.lang.String |
getCorefId()
Any linkable object has a global ID that can be used in co-reference work. |
java.lang.String[][] |
getCorefInfo()
Return an array with one or more String arrays with the following information for this place: Place ID, the place name, the text of the whole paragraph of the register record. |
java.lang.String |
getCoreHtml()
|
java.lang.String |
getFirstPlaceName()
|
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. |
java.lang.String |
getHtmlTableTr()
Returns a string with a line for a HTML table giving core information about the object: 1) ID. 2) textual representation. 3) main paragraph level connection (if applicable). 4) page (if applicable). |
java.lang.String |
getId()
Find the global ID value for this object. |
java.lang.String |
getIdOfPara()
Return the id of the paragraph element this object is connected to, if applicable. |
java.lang.String |
getInfoHtml()
Returns a string with a fact sheet on the object in HTML. |
java.lang.String |
getName()
|
java.lang.String |
getTextContent()
|
java.lang.String |
getXmlFragment()
|
boolean |
removeCorefBacklink(java.lang.String corefId)
Remove a link from the list of objects corefering to this. |
boolean |
removeObject()
Remove this object from the data set. |
boolean |
setCorefId(java.lang.String corefId)
Any linkable object has a global ID that can be used in co-reference work. |
void |
setGeographicalDescription(java.lang.String description)
Set a geographical description for the place connected to this object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
GeoModelPlace(GeoModelPlaceReg inGeoModelPlaceReg, org.w3c.dom.Element xmlFragment)
Method Detail |
---|
public java.lang.String getTextContent()
public java.lang.String getXmlFragment()
public java.lang.String getFirstPlaceName()
public boolean addCorefBacklink(java.lang.String corefId)
GeoModelLinkable
addCorefBacklink
in interface GeoModelLinkable
corefId
- The ID of the coref.
public java.lang.String[] getCorefBacklinkList()
GeoModelLinkable
getCorefBacklinkList
in interface GeoModelLinkable
public boolean removeCorefBacklink(java.lang.String corefId)
GeoModelLinkable
removeCorefBacklink
in interface GeoModelLinkable
corefId
- The ID of the coref.
public java.lang.String getCorefId()
GeoModelLinkable
getCorefId
in interface GeoModelLinkable
public java.lang.String getId()
GeoModelLinkable
getId
in interface GeoModelLinkable
public java.lang.String getInfoHtml()
GeoModelLinkable
getInfoHtml
in interface GeoModelLinkable
public java.lang.String getCoreHtml()
public java.lang.String[][] getCorefInfo()
public boolean removeObject()
GeoModelLinkable
removeObject
in interface GeoModelLinkable
public boolean setCorefId(java.lang.String corefId)
GeoModelLinkable
setCorefId
in interface GeoModelLinkable
corefId
- The new co-reference ID value.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getIdOfPara()
GeoModelLinkable
getIdOfPara
in interface GeoModelLinkable
public java.lang.String getHtmlTableTr()
GeoModelLinkable
getHtmlTableTr
in interface GeoModelLinkable
public java.lang.String getGeographicalDescription()
GeoModelLocation
getGeographicalDescription
in interface GeoModelLocation
public void setGeographicalDescription(java.lang.String description) throws GeoModelException
GeoModelLocation
setGeographicalDescription
in interface GeoModelLocation
description
- A geographical description, possible formalised using
pseudo-XML code.
GeoModelException
public java.lang.String getGeoInfo()
GeoModelLocation
getGeoInfo
in interface GeoModelLocation
public java.lang.String asGML()
GeoModelLocation
asGML
in interface GeoModelLocation
public java.lang.String getName()
getName
in interface GeoModelLinkable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |