com.bbn.openmap.image.wms
Class DynamicWmsRequestHandler

java.lang.Object
  extended bycom.bbn.openmap.image.ImageServer
      extended bycom.bbn.openmap.image.wms.WmsRequestHandler
          extended bycom.bbn.openmap.image.wms.DynamicWmsRequestHandler
All Implemented Interfaces:
ImageServerConstants, PropertyConsumer, WMTConstants

public class DynamicWmsRequestHandler
extends WmsRequestHandler

Version:
$Header: /cvs/CVS_LEBA/external/openmap/openmap/src/openmap/com/bbn/openmap/wms/DynamicWmsRequestHandler.java,v 1.1 2006/03/21 10:27:54 tomrak Exp $
Author:
Adam Dawidowski, wachu, pitek

Field Summary
 
Fields inherited from class com.bbn.openmap.image.ImageServer
AntiAliasingProperty, background, BackgroundProperty, doAntiAliasing, formatter, imageFormatters, ImageFormattersProperty, ImageServerLayersProperty, layers, OpenMapPrefix, propertiesPrefix
 
Fields inherited from interface com.bbn.openmap.image.ImageServerConstants
AZIMUTH, LAT, LAYERMASK, LAYERS, LON, PAN, PROJTYPE, QUERY, RECENTER, SCALE, X, Y
 
Fields inherited from interface com.bbn.openmap.image.WMTConstants
BBOX, BGCOLOR, CAPABILITIES, CRS, EXCEPTIONS, FORMAT, GETCAPABILITIES, GETFEATUREINFO, GETMAP, HEIGHT, IMAGEFORMAT_GEOTIFF, IMAGEFORMAT_GIF, IMAGEFORMAT_JPEG, IMAGEFORMAT_PNG, IMAGEFORMAT_PPM, IMAGEFORMAT_SVG, IMAGEFORMAT_TIFF, IMAGEFORMAT_WBMP, INFO_FORMAT, MAP, QUERY_LAYERS, REQUEST, SERVICE, SRS, STYLES, TRANSPARENT, VERSION, WIDTH, WMTVER
 
Fields inherited from interface com.bbn.openmap.PropertyConsumer
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
 
Constructor Summary
DynamicWmsRequestHandler(java.lang.String scheme, java.lang.String hostName, int port, java.lang.String path, java.util.Properties props, LayerHandler mapLayerHandler)
           
 
Method Summary
 LayerHandler getLayerHandler()
          return - zwraca layer hadlera
 void updateLayers()
          metoda wywoływana po odczycie nowych danych o celach , w celu wgrania nowo utworzonych warstw graficznych (przy wykorzystaniu layerHandlera) na podstawie wcześniej załadowach danych o celach przy czym warstwy ze statycznymi danymi tzn mapami portow , nie są uaktualniane, a tylko pozostałe warstwy (czytane z LayerHandler'a) są uaktualniane bądz dodawane do tablicy layers.
 
Methods inherited from class com.bbn.openmap.image.wms.WmsRequestHandler
createWmsLayers, getFormattedImage, getLayerByName, handleGetCapabilitiesRequest, handleGetCapabilitiesRequest, handleGetFeatureInfoRequest, handleGetFeatureInfoRequest, handleGetMapRequest, handleGetMapRequest, handleRequest
 
Methods inherited from class com.bbn.openmap.image.ImageServer
calculateVisibleLayerMask, createGraphics, createImage, createImage, createImage, createImage, createImage, createImage, createImageFile, getBackground, getBackground, getDoAntiAliasing, getFormatter, getFormatters, getFormatters, getLayers, getLayers, getLayers, getMaskedLayers, getProperties, getPropertyInfo, getPropertyPrefix, main, setBackground, setDoAntiAliasing, setFormatter, setFormatter, setFormatters, setLayers, setProperties, setProperties, setProperties, setPropertyPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicWmsRequestHandler

public DynamicWmsRequestHandler(java.lang.String scheme,
                                java.lang.String hostName,
                                int port,
                                java.lang.String path,
                                java.util.Properties props,
                                LayerHandler mapLayerHandler)
                         throws java.io.IOException,
                                WMSException
Method Detail

updateLayers

public void updateLayers()
metoda wywoływana po odczycie nowych danych o celach , w celu wgrania nowo utworzonych warstw graficznych (przy wykorzystaniu layerHandlera) na podstawie wcześniej załadowach danych o celach przy czym warstwy ze statycznymi danymi tzn mapami portow , nie są uaktualniane, a tylko pozostałe warstwy (czytane z LayerHandler'a) są uaktualniane bądz dodawane do tablicy layers. Tablica layers przechowuje warstwy wykorzystywane przez image serwera do generowania obrazka.

Overrides:
updateLayers in class WmsRequestHandler

getLayerHandler

public LayerHandler getLayerHandler()
return - zwraca layer hadlera

Returns:


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details