Statistics
| Revision:

root / trunk / libraries / libRemoteServices / src / org / gvsig / remoteClientOld / MapAdapter.java @ 3321

History | View | Annotate | Download (1.39 KB)

1 3321 luisw2
package org.gvsig.remoteClientOld;
2
3
import java.io.IOException;
4
5
import org.gvsig.remoteClientOld.descriptor.Capabilities;
6
import org.gvsig.remoteClientOld.exception.UnsupportedVersionException;
7
import org.gvsig.remoteClientOld.exception.WMSException;
8
import org.gvsig.remoteClientOld.request.GetCapabilitiesRequest;
9
import org.gvsig.remoteClientOld.request.GetFeatureInfoRequest;
10
import org.gvsig.remoteClientOld.request.GetMapRequest;
11
12
public abstract class MapAdapter extends RemoteServiceDriver
13
{
14
        protected String version;
15
        protected String name;
16
17
        public abstract Capabilities getCapabilities()
18
    throws UnsupportedVersionException, IllegalStateException, IOException;
19
20
    public abstract Capabilities getCapabilities(GetCapabilitiesRequest req)
21
        throws UnsupportedVersionException, IllegalStateException, IOException;
22
23
    public abstract byte[] getMap()
24
            throws WMSException, IOException, NoSuchFieldException;
25
26
    public abstract byte[] getMap(GetMapRequest req)
27
        throws WMSException, IOException, NoSuchFieldException;
28
29
    public abstract byte[] getFeatureInfo()
30
            throws WMSException, IOException, NoSuchFieldException;
31
32
    public abstract byte[] getFeatureInfo(GetFeatureInfoRequest req)
33
        throws WMSException, IOException, NoSuchFieldException;
34
35
    public abstract void connect();
36
    public abstract String getName();
37
        public abstract String getVersion();
38
39
}