Statistics
| Revision:

gvsig-raster / org.gvsig.raster.wms / branches / org.gvsig.raster.wms_dataaccess_refactoring / org.gvsig.raster.wms.io / src / main / java / org / gvsig / raster / wms / io / WMSDataParameters.java @ 2378

History | View | Annotate | Download (3.39 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
*
3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4
* of the Valencian Government (CIT)
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
*
11
* 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
*
16
* 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
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
* MA  02110-1301, USA.
20
*
21
*/
22
package org.gvsig.raster.wms.io;
23

    
24
import java.awt.Dimension;
25
import java.awt.geom.Rectangle2D;
26
import java.util.List;
27
import java.util.Map;
28
import java.util.Vector;
29

    
30
import org.gvsig.compat.net.ICancellable;
31
import org.gvsig.fmap.dal.coverage.store.parameter.RemoteStoreParameters;
32

    
33
/**
34
 * Parameters for the WMS provider
35
 * @author Nacho Brodin (nachobrodin@gmail.com)
36
 */
37
public interface WMSDataParameters extends RemoteStoreParameters {
38

    
39
        public void setLayerQuery(String string);
40

    
41
        public void setInfoLayerQuery(String string);
42
        
43
        /**
44
         * Sets the info by point format
45
         */
46
        public void setInfoFormat(String format);
47
        
48
        /**
49
         * Gets the info by point format
50
         * @return
51
         */
52
        public String getInfoFormat();
53

    
54
        public void setFormat(String string);
55

    
56
        public void setSRS(String string);
57

    
58
        public void setWmsTransparency(boolean boolean1);
59

    
60
        public void setURI(String string);
61

    
62
        public void setStyles(List<RemoteWMSStyle> styles);
63

    
64
        /**
65
         * Sets the dimension vector that is a list of key-value pairs containing
66
         * the name of the dimension and the value for it
67
         * @param dimensions
68
         */
69
        public void setDimensions(Vector<String> dimensions);
70

    
71
        /**
72
         * Sets the set of URLs that should be accessed for each operation performed
73
         * to the server.
74
         *
75
         * @param onlineResources
76
         */
77
        public void setOnlineResources(Map<String, String> onlineResources);
78

    
79
        public void setQueryable(boolean boolean1);
80

    
81
        public void setFixedSize(Dimension dimension);
82

    
83
        public String getURI();
84

    
85
        public String getInfoLayerQuery();
86

    
87
        public String getLayerQuery();
88

    
89
        public String getFormat();
90

    
91
        public String getSRSCode();
92

    
93
        /**
94
         * @return Returns the wmsTransparency.
95
         */
96
        public boolean isWmsTransparent();
97

    
98
        public List<RemoteWMSStyle> getStyles();
99

    
100
        public Vector<String> getDimensions();
101

    
102
        /**
103
         * Gets the URL that should be accessed for an operation performed
104
         * to the server.
105
         *
106
         * @param onlineResources
107
         */
108
        public String getOnlineResource(String operation);
109
        
110
        /**
111
         * Gets the online resource map
112
         *
113
         * @param onlineResources
114
         */
115
        public Map<String,String> getOnlineResource();
116

    
117
        /**
118
         * If it is true, this layer accepts GetFeatureInfo operations. This WMS operations
119
         * maps to FMap's infoByPoint(p) operation.
120
         */
121
        public boolean isQueryable();
122

    
123
        public Dimension getFixedSize();
124

    
125
        public void setExtent(Rectangle2D bBox);
126

    
127
        public void setCancellable(ICancellable cancel);
128

    
129
        public Object getSRS();
130

    
131
        public void setOverrideHost(boolean b);
132

    
133
        public void setName(String title);
134

    
135
        public int getWidth();
136

    
137
        public int getHeight();
138

    
139
        public ICancellable getCancellable();
140

    
141
}