01: //$HeadURL: $
02: /*---------------- FILE HEADER ------------------------------------------
03: This file is part of deegree.
04: Copyright (C) 2001-2008 by:
05: Department of Geography, University of Bonn
06: http://www.giub.uni-bonn.de/deegree/
07: lat/lon GmbH
08: http://www.lat-lon.de
09:
10: This library is free software; you can redistribute it and/or
11: modify it under the terms of the GNU Lesser General Public
12: License as published by the Free Software Foundation; either
13: version 2.1 of the License, or (at your option) any later version.
14: This library is distributed in the hope that it will be useful,
15: but WITHOUT ANY WARRANTY; without even the implied warranty of
16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17: Lesser General Public License for more details.
18: You should have received a copy of the GNU Lesser General Public
19: License along with this library; if not, write to the Free Software
20: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21: Contact:
22:
23: Andreas Poth
24: lat/lon GmbH
25: Aennchenstr. 19
26: 53177 Bonn
27: Germany
28: E-Mail: poth@lat-lon.de
29:
30: Prof. Dr. Klaus Greve
31: Department of Geography
32: University of Bonn
33: Meckenheimer Allee 166
34: 53115 Bonn
35: Germany
36: E-Mail: greve@giub.uni-bonn.de
37: ---------------------------------------------------------------------------*/
38:
39: package org.deegree.ogcwebservices.wcts.capabilities;
40:
41: import org.deegree.owscommon_1_1_0.OWSCommonCapabilities;
42: import org.deegree.owscommon_1_1_0.OperationsMetadata;
43: import org.deegree.owscommon_1_1_0.ServiceIdentification;
44: import org.deegree.owscommon_1_1_0.ServiceProvider;
45:
46: /**
47: * The <code>WCTSCapabilities</code> encapsulates the capabilities document of the wcts 0.4.0, using the ows 1.1.0.
48: *
49: * @author <a href="mailto:bezema@lat-lon.de">Rutger Bezema</a>
50: *
51: * @author last edited by: $Author:$
52: *
53: * @version $Revision:$, $Date:$
54: *
55: */
56: public class WCTSCapabilities extends OWSCommonCapabilities {
57:
58: /**
59: *
60: */
61: private static final long serialVersionUID = 8281912303859111001L;
62:
63: private final Content contents;
64:
65: /**
66: * @param version
67: * @param updateSequence
68: * @param serviceIdentification
69: * @param serviceProvider
70: * @param operationsMetadata
71: * @param contents
72: */
73: public WCTSCapabilities(String version, String updateSequence,
74: ServiceIdentification serviceIdentification,
75: ServiceProvider serviceProvider,
76: OperationsMetadata operationsMetadata, Content contents) {
77: super (version, updateSequence, serviceIdentification,
78: serviceProvider, operationsMetadata);
79: this .contents = contents;
80: }
81:
82: /**
83: * @param other to copy from.
84: */
85: public WCTSCapabilities(WCTSCapabilities other) {
86: this (other.getVersion(), other.getUpdateSequence(), other
87: .getServiceIdentification(),
88: other.getServiceProvider(), other
89: .getOperationsMetadata(), other.getContents());
90: }
91:
92: /**
93: * @return the contents.
94: */
95: public final Content getContents() {
96: return contents;
97: }
98:
99: }
|