Ignore:
Timestamp:
02/10/08 10:19:58 (11 years ago)
Author:
domlowe
Message:

Splitting wms_iface into wxs_iface and wms_iface interfaces.
Modifying implemenations of wms_iface to inherit from new interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/service/imps/wms_csmllayer.py

    r4228 r4266  
    2020import ConfigParser 
    2121 
     22from cows.service.wxs_iface import ILayerMapper 
     23from cows.service.wms_iface import IwmsLayer, IwmsDimension, IwmsLayerSlab 
     24 
    2225try: 
    2326    from ndgUtils import ndgObject, ndgRetrieve 
     
    2629 
    2730 
    28 class CSMLLayerMapper(object): 
     31 
     32 
     33class CSMLLayerMapper(ILayerMapper): 
    2934    """ 
    3035    Map keyword arguments to a collection of layers. 
     
    128133 
    129134 
    130 class CSMLLayer(object): 
     135class CSMLLayer(IwmsLayer): 
    131136    """ 
    132137     representing a WMS layer.    Implements ILayer 
     
    294299 
    295300 
    296 class CSMLDimension(object): 
     301class CSMLDimension(IwmsDimension): 
    297302    """ 
    298303    implements IDimension 
     
    322327            self.units='ISO8601' 
    323328        
    324 class CSMLLayerSlab(object): 
     329class CSMLLayerSlab(IwmsLayerSlab): 
    325330    """ 
    326331    Implements LayerSlab 
Note: See TracChangeset for help on using the changeset viewer.