Ignore:
Timestamp:
29/05/07 14:17:30 (13 years ago)
Author:
spascoe
Message:

Added code to parse service metadata XML into ows_common objects.
Some corrections to ows_common classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_common/ows_common/data_identification.py

    r2502 r2519  
    1515    """ 
    1616    @ivar title 
    17     @type title: None, str or LanguageString 
     17    @type title: iterable of str or LanguageString 
    1818    @ivar abstract 
    19     @type abstract: None, str or LanguageString 
     19    @type abstract: iterable of str or LanguageString 
    2020    @ivar keywords 
    2121    @type keywords: iterable or Keywords 
    2222 
    2323    """ 
    24     def __init__(self, title=None, abstract=None, keywords=Keywords()): 
    25         self.title = title 
    26         self.abstract = abstract 
     24    def __init__(self, titles=[], abstracts=[], keywords=Keywords()): 
     25        self.titles = titles 
     26        self.abstracts = abstracts 
    2727        self.keywords = keywords 
    2828 
Note: See TracChangeset for help on using the changeset viewer.