gvsig-raster / org.gvsig.raster.wcs / trunk / org.gvsig.raster.wcs / org.gvsig.raster.wcs.io / src / main / java / org / gvsig / raster / wcs / io / WCSDataParameters.java @ 4269
History | View | Annotate | Download (2.89 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 |
|
23 |
package org.gvsig.raster.wcs.io; |
24 |
|
25 |
import java.awt.geom.Point2D; |
26 |
import java.awt.geom.Rectangle2D; |
27 |
import java.net.URI; |
28 |
import java.util.Hashtable; |
29 |
import java.util.Map; |
30 |
|
31 |
import org.gvsig.compat.net.ICancellable; |
32 |
import org.gvsig.fmap.dal.coverage.store.parameter.RemoteStoreParameters; |
33 |
|
34 |
/**
|
35 |
* Parameters for the WCS provider
|
36 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
37 |
*/
|
38 |
public interface WCSDataParameters extends RemoteStoreParameters { |
39 |
/**
|
40 |
* Gets the time information for the request
|
41 |
* @return
|
42 |
*/
|
43 |
public Object getTime(); |
44 |
|
45 |
/**
|
46 |
* Sets the time information for the request
|
47 |
* @param time
|
48 |
*/
|
49 |
public void setTime(String time); |
50 |
|
51 |
/**
|
52 |
* Gets the format
|
53 |
* @return Formato.
|
54 |
*/
|
55 |
public Object getFormat(); |
56 |
|
57 |
/**
|
58 |
* Sets the format
|
59 |
* @param format Formato.
|
60 |
*/
|
61 |
public void setFormat(String format); |
62 |
|
63 |
public Object getSRSCode(); |
64 |
|
65 |
public URI getURI(); |
66 |
|
67 |
public String getCoverageName(); |
68 |
|
69 |
public Point2D getMaxResolution(); |
70 |
|
71 |
public String getParameter(); |
72 |
|
73 |
/**
|
74 |
* Gets the bounding box
|
75 |
* @return
|
76 |
*/
|
77 |
public Rectangle2D getExtent(); |
78 |
|
79 |
public int getWidth(); |
80 |
|
81 |
public int getHeight(); |
82 |
|
83 |
public boolean isOverridingHost(); |
84 |
|
85 |
/**
|
86 |
* Gets the online resource map
|
87 |
* @param onlineResources
|
88 |
*/
|
89 |
public Map<String,String> getOnlineResource(); |
90 |
|
91 |
public String getDepth(); |
92 |
|
93 |
public void setCancellable(ICancellable cancel); |
94 |
|
95 |
public void setOverrideHost(boolean over); |
96 |
|
97 |
/**
|
98 |
* Assigns the extent.
|
99 |
* When a provider is initialized this will need to know what is the extent before the request.
|
100 |
*
|
101 |
* @param bBox
|
102 |
*/
|
103 |
public void setExtent(Rectangle2D bBox); |
104 |
|
105 |
public void setURI(URI uri); |
106 |
|
107 |
public void setSRS(String srs); |
108 |
|
109 |
public void setCoverageName(String selectedCoverageName); |
110 |
|
111 |
public void setParameter(String parameterString); |
112 |
|
113 |
public void setMaxResolution(Point2D maxRes); |
114 |
|
115 |
/**
|
116 |
* Sets the set of URLs that should be accessed for each operation performed
|
117 |
* to the server.
|
118 |
*
|
119 |
* @param onlineResources
|
120 |
*/
|
121 |
public void setOnlineResources(Hashtable<String, String> onlineResources); |
122 |
|
123 |
public void setDepth(String depth); |
124 |
|
125 |
} |