it.eng.spagobi.engines.geo.map.provider
Class SOMapProvider

java.lang.Object
  extended by it.eng.spagobi.engines.geo.AbstractGeoEngineComponent
      extended by it.eng.spagobi.engines.geo.map.provider.AbstractMapProvider
          extended by it.eng.spagobi.engines.geo.map.provider.SOMapProvider
All Implemented Interfaces:
IGeoEngineComponent, IMapProvider

public class SOMapProvider
extends AbstractMapProvider

The Class SOMapProvider.

Author:
Andrea Gioia (andrea.gioia@eng.it)

Field Summary
static org.apache.log4j.Logger logger
          Logger component.
 
Constructor Summary
SOMapProvider()
          Instantiates a new sO map provider.
 
Method Summary
 java.util.List getFeatureNamesInMap(java.lang.String mapName)
          Gets the feature names in map.
 it.eng.spagobi.utilities.callbacks.mapcatalogue.MapCatalogueAccessUtils getMapCatalogueServiceProxy()
          Gets the map catalogue service proxy.
 java.util.List getMapNamesByFeature(java.lang.String featureName)
          Gets the map names by feature.
 org.w3c.dom.svg.SVGDocument getSVGMapDOMDocument(java.lang.String mapName)
          Gets the sVG map dom document.
 javax.xml.stream.XMLStreamReader getSVGMapStreamReader(java.lang.String mapName)
          Gets the sVG map stream reader.
 void init(java.lang.Object conf)
          Inits the.
 void setMapCatalogueServiceProxy(it.eng.spagobi.utilities.callbacks.mapcatalogue.MapCatalogueAccessUtils mapCatalogueServiceProxy)
          Sets the map catalogue service proxy.
 
Methods inherited from class it.eng.spagobi.engines.geo.map.provider.AbstractMapProvider
getSelectedMapName, getSVGMapDOMDocument, getSVGMapStreamReader, setSelectedMapName
 
Methods inherited from class it.eng.spagobi.engines.geo.AbstractGeoEngineComponent
getConf, getEnv, setEnv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.spagobi.engines.geo.IGeoEngineComponent
setEnv
 

Field Detail

logger

public static transient org.apache.log4j.Logger logger
Logger component.

Constructor Detail

SOMapProvider

public SOMapProvider()
Instantiates a new sO map provider.

Method Detail

init

public void init(java.lang.Object conf)
          throws GeoEngineException
Description copied from interface: IGeoEngineComponent
Inits the.

Specified by:
init in interface IGeoEngineComponent
Overrides:
init in class AbstractMapProvider
Parameters:
conf - the conf
Throws:
GeoEngineException - the geo engine exception

getSVGMapDOMDocument

public org.w3c.dom.svg.SVGDocument getSVGMapDOMDocument(java.lang.String mapName)
                                                 throws GeoEngineException
Description copied from interface: IMapProvider
Gets the sVG map dom document.

Specified by:
getSVGMapDOMDocument in interface IMapProvider
Overrides:
getSVGMapDOMDocument in class AbstractMapProvider
Parameters:
mapName - the map name
Returns:
the sVG map dom document
Throws:
GeoEngineException - the geo engine exception

getSVGMapStreamReader

public javax.xml.stream.XMLStreamReader getSVGMapStreamReader(java.lang.String mapName)
                                                       throws GeoEngineException
Description copied from interface: IMapProvider
Gets the sVG map stream reader.

Specified by:
getSVGMapStreamReader in interface IMapProvider
Overrides:
getSVGMapStreamReader in class AbstractMapProvider
Parameters:
mapName - the map name
Returns:
the sVG map stream reader
Throws:
GeoEngineException - the geo engine exception

getMapCatalogueServiceProxy

public it.eng.spagobi.utilities.callbacks.mapcatalogue.MapCatalogueAccessUtils getMapCatalogueServiceProxy()
Gets the map catalogue service proxy.

Returns:
the map catalogue service proxy

setMapCatalogueServiceProxy

public void setMapCatalogueServiceProxy(it.eng.spagobi.utilities.callbacks.mapcatalogue.MapCatalogueAccessUtils mapCatalogueServiceProxy)
Sets the map catalogue service proxy.

Parameters:
mapCatalogueServiceProxy - the new map catalogue service proxy

getMapNamesByFeature

public java.util.List getMapNamesByFeature(java.lang.String featureName)
                                    throws java.lang.Exception
Description copied from interface: IMapProvider
Gets the map names by feature.

Specified by:
getMapNamesByFeature in interface IMapProvider
Overrides:
getMapNamesByFeature in class AbstractMapProvider
Parameters:
featureName - the feature name
Returns:
the map names by feature
Throws:
java.lang.Exception - the exception

getFeatureNamesInMap

public java.util.List getFeatureNamesInMap(java.lang.String mapName)
                                    throws java.lang.Exception
Description copied from interface: IMapProvider
Gets the feature names in map.

Specified by:
getFeatureNamesInMap in interface IMapProvider
Overrides:
getFeatureNamesInMap in class AbstractMapProvider
Parameters:
mapName - the map name
Returns:
the feature names in map
Throws:
java.lang.Exception - the exception