Package eu.clarin.weblicht.wlfxb.tc.xb
Class GeoLayerStored
- java.lang.Object
-
- eu.clarin.weblicht.wlfxb.tc.xb.TextCorpusLayerStoredAbstract
-
- eu.clarin.weblicht.wlfxb.tc.xb.GeoLayerStored
-
- All Implemented Interfaces:
GeoLayer,TextCorpusLayer
public class GeoLayerStored extends TextCorpusLayerStoredAbstract implements GeoLayer
- Author:
- Yana Panchenko
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGeoLayerStored()protectedGeoLayerStored(TextCorpusLayersConnector connector)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoCapitalFormat capitalFormat)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat, GeoCapitalFormat capitalFormat)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat, GeoCountryFormat countryFormat)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoContinentFormat continentFormat, GeoCountryFormat countryFormat, GeoCapitalFormat capitalFormat)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoCountryFormat countryFormat)protectedGeoLayerStored(String source, GeoLongLatFormat coordFormat, GeoCountryFormat countryFormat, GeoCapitalFormat capitalFormat)
-
Method Summary
Modifier and Type Method Description GeoPointaddPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, Token pointToken)GeoPointaddPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, List<Token> pointTokens)GeoCapitalFormatgetCapitalFormat()GeoContinentFormatgetContinentFormat()GeoLongLatFormatgetCoordinatesFormat()GeoCountryFormatgetCountryFormat()GeoPointgetPoint(int index)GeoPointgetPoint(Token token)StringgetSource()Token[]getTokens(GeoPoint point)booleanisEmpty()protected voidsetLayersConnector(TextCorpusLayersConnector connector)Should not be used directly by users.intsize()StringtoString()
-
-
-
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:TextCorpusLayerStoredAbstractShould 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:
setLayersConnectorin classTextCorpusLayerStoredAbstract
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceTextCorpusLayer
-
size
public int size()
- Specified by:
sizein interfaceTextCorpusLayer
-
getCoordinatesFormat
public GeoLongLatFormat getCoordinatesFormat()
- Specified by:
getCoordinatesFormatin interfaceGeoLayer
-
getContinentFormat
public GeoContinentFormat getContinentFormat()
- Specified by:
getContinentFormatin interfaceGeoLayer
-
getCountryFormat
public GeoCountryFormat getCountryFormat()
- Specified by:
getCountryFormatin interfaceGeoLayer
-
getCapitalFormat
public GeoCapitalFormat getCapitalFormat()
- Specified by:
getCapitalFormatin interfaceGeoLayer
-
addPoint
public GeoPoint addPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, Token pointToken)
-
addPoint
public GeoPoint addPoint(String longitude, String latitude, Double altitude, String continent, String country, String capital, List<Token> pointTokens)
-
-