Revision 5290

View differences:

trunk/extensions/extWFS2/src/com/iver/cit/gvsig/fmap/drivers/WFSDriver.java
1 1
package com.iver.cit.gvsig.fmap.drivers;
2 2

  
3
import java.awt.geom.Rectangle2D;
3 4
import java.io.IOException;
4
import java.net.ProtocolException;
5 5
import java.net.URL;
6 6

  
7
import org.gvsig.remoteClient.wfs.WFSStatus;
8

  
9
import com.iver.cit.gvsig.fmap.DriverException;
10
import com.iver.cit.gvsig.fmap.core.IFeature;
11

  
7 12
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
8 13
 *
9 14
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
......
48 53
 *
49 54
 * $Id$
50 55
 * $Log$
51
 * Revision 1.2  2006-04-20 16:38:24  jorpiell
56
 * Revision 1.3  2006-05-19 12:47:41  jorpiell
57
 * Se han a?adido algunos m?todos a esta interfaz
58
 *
59
 * Revision 1.2  2006/04/20 16:38:24  jorpiell
52 60
 * Ahora mismo ya se puede hacer un getCapabilities y un getDescribeType de la capa seleccionada para ver los atributos a dibujar. Queda implementar el panel de opciones y hacer el getFeature().
53 61
 *
54 62
 * Revision 1.1  2006/04/19 12:50:16  jorpiell
......
59 67
/**
60 68
 * @author Jorge Piera Llodr? (piera_jor@gva.es)
61 69
 */
62
public interface WFSDriver {
70
public interface WFSDriver extends VectorialDriver{
63 71
	/**
64 72
	 * Obtiene las posibilidades del servidor a partir de una URL.
65 73
	 *
......
80 88
	 */
81 89
	public void describeFeatureType(String featureType)throws WFSException;
82 90
	
91
	/**
92
	 * The getFeature opeartion allows retrieval of features
93
	 * from a web feature service. 
94
	 * @param wfsStatus
95
	 * WFS client status
96
	 * @return File
97
	 * GML File
98
	 * @throws WFSException
99
	 */
100
	public void getFeature(WFSStatus wfsStatus) throws WFSException;
83 101
	
84

  
102
	public void close();
103
	
104
    public void open() throws DriverException; 
105
    
106
    public IFeatureIterator getFeatureIterator(Rectangle2D r, String strEPSG) throws DriverException,IOException;
107
    
108
    public int getRowIndexByFID(IFeature FID);
85 109
}

Also available in: Unified diff