eu.clarin.weblicht.wlfxb.tc.xb
Class GeoLayerStored

java.lang.Object
  extended by eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
      extended by eu.clarin.weblicht.wlfxb.tc.xb.GeoLayerStored
All Implemented Interfaces:
GeoLayer, TextCorpusLayer

public class GeoLayerStored
extends TextCorpusLayerStoredAbstract
implements GeoLayer

Author:
Yana Panchenko

Field Summary
static String XML_NAME
           
 
Constructor Summary
protected GeoLayerStored()
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat)
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoCapitalFormat capitalFormat)
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat)
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat, GeoCapitalFormat capitalFormat)
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat, GeoCountryFormat countryFormat)
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat, GeoCountryFormat countryFormat, GeoCapitalFormat capitalFormat)
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoCountryFormat countryFormat)
           
protected GeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoCountryFormat countryFormat, GeoCapitalFormat capitalFormat)
           
protected GeoLayerStored(TextCorpusLayersConnector connector)
           
 
Method Summary
 GeoPoint addPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, List<Token> pointTokens)
           
 GeoPoint addPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, Token pointToken)
           
 GeoCapitalFormat getCapitalFormat()
           
 GeoContinentFormat getContinentFormat()
           
 GeoLongLatFormat getCoordinatesFormat()
           
 GeoCountryFormat getCountryFormat()
           
 GeoPoint getPoint(int index)
           
 GeoPoint getPoint(Token token)
           
 String getSource()
           
 Token[] getTokens(GeoPoint point)
           
 boolean isEmpty()
           
protected  void setLayersConnector(TextCorpusLayersConnector connector)
          Should not be used directly by users.
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_NAME

public static final String XML_NAME
See Also:
Constant Field Values
Constructor Detail

GeoLayerStored

protected GeoLayerStored()

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat)

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat,
                         GeoContinentFormat continentFormat)

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat,
                         GeoContinentFormat continentFormat,
                         GeoCountryFormat countryFormat)

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat,
                         GeoContinentFormat continentFormat,
                         GeoCapitalFormat capitalFormat)

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat,
                         GeoCountryFormat countryFormat)

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat,
                         GeoCountryFormat countryFormat,
                         GeoCapitalFormat capitalFormat)

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat,
                         GeoCapitalFormat capitalFormat)

GeoLayerStored

protected GeoLayerStored(String source,
                         GeoLongLatFormat coordFormat,
                         GeoContinentFormat continentFormat,
                         GeoCountryFormat countryFormat,
                         GeoCapitalFormat capitalFormat)

GeoLayerStored

protected GeoLayerStored(TextCorpusLayersConnector connector)
Method Detail

setLayersConnector

protected void setLayersConnector(TextCorpusLayersConnector connector)
Description copied from class: TextCorpusLayerStoredAbstract
Should not be used directly by users. Should be extended by all implementations of TextCorpusLayers, as they might depend on other layers and therefore be able to get referenced/referencing information.

Specified by:
setLayersConnector in class TextCorpusLayerStoredAbstract

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface TextCorpusLayer

size

public int size()
Specified by:
size in interface TextCorpusLayer

getSource

public String getSource()
Specified by:
getSource in interface GeoLayer

getCoordinatesFormat

public GeoLongLatFormat getCoordinatesFormat()
Specified by:
getCoordinatesFormat in interface GeoLayer

getContinentFormat

public GeoContinentFormat getContinentFormat()
Specified by:
getContinentFormat in interface GeoLayer

getCountryFormat

public GeoCountryFormat getCountryFormat()
Specified by:
getCountryFormat in interface GeoLayer

getCapitalFormat

public GeoCapitalFormat getCapitalFormat()
Specified by:
getCapitalFormat in interface GeoLayer

getPoint

public GeoPoint getPoint(int index)
Specified by:
getPoint in interface GeoLayer

getPoint

public GeoPoint getPoint(Token token)
Specified by:
getPoint in interface GeoLayer

getTokens

public Token[] getTokens(GeoPoint point)
Specified by:
getTokens in interface GeoLayer

addPoint

public GeoPoint addPoint(String longitude,
                         String latitude,
                         Double altitude,
                         String continent,
                         String country,
                         String capital,
                         Token pointToken)
Specified by:
addPoint in interface GeoLayer

addPoint

public GeoPoint addPoint(String longitude,
                         String latitude,
                         Double altitude,
                         String continent,
                         String country,
                         String capital,
                         List<Token> pointTokens)
Specified by:
addPoint in interface GeoLayer

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013-2014 Department of Linguistics, Tübingen University. All Rights Reserved.