source: TI05-delivery/ows_framework/trunk/ows_common/ows_common/get_capabilities.py @ 2502

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows_common/ows_common/get_capabilities.py@2502
Revision 2502, 1.0 KB checked in by spascoe, 12 years ago (diff)

Some bug fixes to ows_common. OwsController?._load_capabilities implements
discovery of capabilities from a controller definition.

Line 
1# Copyright (C) 2007 STFC & NERC (Science and Technology Facilities Council).
2# This software may be distributed under the terms of the
3# Q Public License, version 1.0 or later.
4# http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
5"""
6Classes modelling the OWSServiceMetadata portion of the OWS Get Capabilities package v1.1.0.
7
8@author: Stephen Pascoe
9"""
10
11from ows_common.service_identification import ServiceIdentification
12from ows_common.service_provider import ServiceProvider
13from ows_common.operations_metadata import OperationsMetadata
14from ows_common.contents import Contents
15
16class ServiceMetadata(object):
17    """
18    @ivar serviceIdentification
19    @ivar serviceProvider
20    @ivar operationsMetadata
21    @ivar contents
22
23    """
24    def __init__(self, serviceIdentification=None, serviceProvider=None,
25                 operationsMetadata=None, contents=None):
26        self.serviceIdentification = serviceIdentification
27        self.serviceProvider = serviceProvider
28        self.operationsMetadata = operationsMetadata
29        self.contents = contents
30       
Note: See TracBrowser for help on using the repository browser.