001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/wms/capabilities/WMSCapabilities_1_3_0.java $
002    /*----------------    FILE HEADER  ------------------------------------------
003     This file is part of deegree.
004     Copyright (C) 2001-2006 by:
005     Department of Geography, University of Bonn
006     http://www.giub.uni-bonn.de/deegree/
007     lat/lon GmbH
008     http://www.lat-lon.de
009     This library is free software; you can redistribute it and/or
010     modify it under the terms of the GNU Lesser General Public
011     License as published by the Free Software Foundation; either
012     version 2.1 of the License, or (at your option) any later version.
013     This library is distributed in the hope that it will be useful,
014     but WITHOUT ANY WARRANTY; without even the implied warranty of
015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016     Lesser General Public License for more details.
017     You should have received a copy of the GNU Lesser General Public
018     License along with this library; if not, write to the Free Software
019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020     Contact:
021     Andreas Poth
022     lat/lon GmbH
023     Aennchenstraße 19
024     53177 Bonn
025     Germany
026     E-Mail: poth@lat-lon.de
027     Jens Fitzke
028     lat/lon GmbH
029     Aennchenstraße 19
030     53177 Bonn
031     Germany
032     E-Mail: jens.fitzke@uni-bonn.de
033     ---------------------------------------------------------------------------*/
034    package org.deegree.ogcwebservices.wms.capabilities;
035    
036    import org.deegree.owscommon_new.OperationsMetadata;
037    import org.deegree.owscommon_new.ServiceIdentification;
038    import org.deegree.owscommon_new.ServiceProvider;
039    
040    /**
041     * This class is an 1.3.0 extension of the WMSCapabilities class.
042     * 
043     * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
044     * @author last edited by: $Author: bezema $
045     * 
046     * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
047     * 
048     * @since 2.0
049     */
050    
051    public class WMSCapabilities_1_3_0 extends WMSCapabilities {
052    
053        private static final long serialVersionUID = 1081688101474553998L;
054    
055        private int maxWidth;
056        
057        private int maxHeight;
058        
059        private int layerLimit;
060        
061        /**
062         * Constructs a new object with the given values. The difference to the 1.1.1 capabilities is
063         * that no user defined symbolization can be used, and layerLimit, maxWidth and maxHeight were
064         * added.
065         */
066        protected WMSCapabilities_1_3_0( String version, String updateSequence, 
067                                         ServiceIdentification serviceIdentification,
068                                         ServiceProvider serviceProvider,
069                                         OperationsMetadata metadata, Layer layer, int layerLimit,
070                                         int maxWidth, int maxHeight ) {
071            super( version, updateSequence, serviceIdentification, serviceProvider, null, metadata, layer );
072            this.maxWidth = maxWidth;
073            this.maxHeight = maxHeight;
074            this.layerLimit = layerLimit;
075        }
076    
077        /**
078         * @return the layerLimit.
079         */
080        public int getLayerLimit() {
081            return layerLimit;
082        }
083    
084        /**
085         * @return the maxHeight.
086         */
087        public int getMaxHeight() {
088            return maxHeight;
089        }
090    
091        /**
092         * @return the maxWidth.
093         */
094        public int getMaxWidth() {
095            return maxWidth;
096        }
097              
098    }
099    
100    
101    /* ********************************************************************
102    Changes to this class. What the people have been up to:
103    $Log$
104    Revision 1.3  2006/09/08 08:42:02  schmitz
105    Updated the WMS to be 1.1.1 conformant once again.
106    Cleaned up the WMS code.
107    Added cite WMS test data.
108    
109    Revision 1.2  2006/08/24 06:42:16  poth
110    File header corrected
111    
112    Revision 1.1  2006/08/23 07:10:22  schmitz
113    Renamed the owscommon_neu package to owscommon_new.
114    
115    
116    
117    ********************************************************************** */