001    //$HeadURL: svn+ssh://developername@svn.wald.intevation.org/deegree/base/trunk/src/org/deegree/ogcwebservices/wms/capabilities/WMSCapabilities.java $
002    /*----------------------------------------------------------------------------
003     This file is part of deegree, http://deegree.org/
004     Copyright (C) 2001-2009 by:
005       Department of Geography, University of Bonn
006     and
007       lat/lon GmbH
008    
009     This library is free software; you can redistribute it and/or modify it under
010     the terms of the GNU Lesser General Public License as published by the Free
011     Software Foundation; either version 2.1 of the License, or (at your option)
012     any later version.
013     This library is distributed in the hope that it will be useful, but WITHOUT
014     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
015     FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
016     details.
017     You should have received a copy of the GNU Lesser General Public License
018     along with this library; if not, write to the Free Software Foundation, Inc.,
019     59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020    
021     Contact information:
022    
023     lat/lon GmbH
024     Aennchenstr. 19, 53177 Bonn
025     Germany
026     http://lat-lon.de/
027    
028     Department of Geography, University of Bonn
029     Prof. Dr. Klaus Greve
030     Postfach 1147, 53001 Bonn
031     Germany
032     http://www.geographie.uni-bonn.de/deegree/
033    
034     e-mail: info@deegree.org
035    ----------------------------------------------------------------------------*/
036    package org.deegree.ogcwebservices.wms.capabilities;
037    
038    import java.util.LinkedList;
039    import java.util.List;
040    
041    import org.deegree.owscommon_new.OperationsMetadata;
042    import org.deegree.owscommon_new.ServiceIdentification;
043    import org.deegree.owscommon_new.ServiceProvider;
044    
045    /**
046     * <code>WMSCapabilities</code> is the data class for the WMS version of capabilities. Since WMS
047     * is not yet using the OWS commons implementation, it is more or less just a copy of the old
048     * version.
049     *
050     * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a>
051     * @version $Revision: 8307 $
052     */
053    public class WMSCapabilities_1_0_0 extends WMSCapabilities {
054    
055        private static final long serialVersionUID = 7178105896289110746L;
056    
057        protected List<String> exceptions;
058    
059        /**
060         * constructor initializing the class with the <code>WMSCapabilities</code>
061         *
062         * @param updateSequence
063         * @param serviceIdentification
064         * @param serviceProvider
065         * @param metadata
066         * @param layer
067         */
068        protected WMSCapabilities_1_0_0( String updateSequence, ServiceIdentification serviceIdentification,
069                                         ServiceProvider serviceProvider, OperationsMetadata metadata, Layer layer ) {
070            super( "1.0.0", updateSequence, serviceIdentification, serviceProvider, null, metadata, layer );
071    
072            setServiceProvider( serviceProvider );
073            setServiceIdentification( serviceIdentification );
074            setOperationMetadata( metadata );
075            setLayer( layer );
076            exceptions = new LinkedList<String>();
077            exceptions.add( "WMS_XML" );
078    
079        }
080    
081        /**
082         * @param updateSequence
083         * @param serviceIdentification
084         * @param serviceProvider
085         * @param metadata
086         * @param layer
087         * @param exceptions
088         */
089        protected WMSCapabilities_1_0_0( String updateSequence, ServiceIdentification serviceIdentification,
090                                         ServiceProvider serviceProvider, OperationsMetadata metadata, Layer layer,
091                                         List<String> exceptions ) {
092            this( updateSequence, serviceIdentification, serviceProvider, metadata, layer );
093            this.exceptions = exceptions;
094        }
095    
096    }