svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.remoteclient / src / main / java / org / gvsig / remoteclient / wms / WMSOperation.java @ 40769
History | View | Annotate | Download (2.13 KB)
1 | 40559 | jjdelcerro | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | 40435 | jjdelcerro | *
|
4 | 40559 | jjdelcerro | * Copyright (C) 2007-2013 gvSIG Association.
|
5 | *
|
||
6 | 40435 | jjdelcerro | * This program is free software; you can redistribute it and/or
|
7 | * modify it under the terms of the GNU General Public License
|
||
8 | 40559 | jjdelcerro | * as published by the Free Software Foundation; either version 3
|
9 | 40435 | jjdelcerro | * of the License, or (at your option) any later version.
|
10 | 40559 | jjdelcerro | *
|
11 | 40435 | jjdelcerro | * This program is distributed in the hope that it will be useful,
|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | 40559 | jjdelcerro | *
|
16 | 40435 | jjdelcerro | * You should have received a copy of the GNU General Public License
|
17 | * along with this program; if not, write to the Free Software
|
||
18 | 40559 | jjdelcerro | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 | 40435 | jjdelcerro | * MA 02110-1301, USA.
|
20 | 40559 | jjdelcerro | *
|
21 | * For any additional information, do not hesitate to contact us
|
||
22 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
23 | 40435 | jjdelcerro | */
|
24 | |||
25 | package org.gvsig.remoteclient.wms; |
||
26 | |||
27 | import java.util.Hashtable; |
||
28 | |||
29 | import org.gvsig.remoteclient.ogc.OGCClientOperation; |
||
30 | import org.gvsig.remoteclient.utils.CapabilitiesTags; |
||
31 | |||
32 | /**
|
||
33 | * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera</a>
|
||
34 | */
|
||
35 | public class WMSOperation extends OGCClientOperation{ |
||
36 | protected static Hashtable operations = new Hashtable(); |
||
37 | |||
38 | static{
|
||
39 | operations.put(CapabilitiesTags.GETCAPABILITIES, new WMSOperation(CapabilitiesTags.GETCAPABILITIES));
|
||
40 | operations.put(CapabilitiesTags.GETFEATUREINFO, new WMSOperation(CapabilitiesTags.GETFEATUREINFO));
|
||
41 | operations.put(CapabilitiesTags.GETLEGENDGRAPHIC, new WMSOperation(CapabilitiesTags.GETLEGENDGRAPHIC));
|
||
42 | operations.put(CapabilitiesTags.GETMAP, new WMSOperation(CapabilitiesTags.GETMAP));
|
||
43 | operations.put(CapabilitiesTags.DESCRIBELAYER, new WMSOperation(CapabilitiesTags.DESCRIBELAYER));
|
||
44 | } |
||
45 | |||
46 | public WMSOperation(String operationName) { |
||
47 | super(operationName);
|
||
48 | } |
||
49 | |||
50 | public WMSOperation(String operationName, String onlineResource) { |
||
51 | super(operationName, onlineResource);
|
||
52 | } |
||
53 | |||
54 | /*
|
||
55 | * (non-Javadoc)
|
||
56 | * @see org.gvsig.remoteClient.OGCClientOperation#getOperations()
|
||
57 | */
|
||
58 | public Hashtable getOperations() { |
||
59 | return operations;
|
||
60 | } |
||
61 | } |