Statistics
| Revision:

root / trunk / libraries / libGPE / src / org / gvsig / gpe / IGPEContentHandler.java @ 11136

History | View | Annotate | Download (3.15 KB)

1
package org.gvsig.gpe;
2

    
3

    
4
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
21
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
43
 */
44
/* CVS MESSAGES:
45
 *
46
 * $Id: IGPEContentHandler.java 11136 2007-04-11 13:04:51Z jorpiell $
47
 * $Log$
48
 * Revision 1.4  2007-04-11 13:04:51  jorpiell
49
 * Add the srs param to the addLayer method
50
 *
51
 * Revision 1.3  2007/04/11 08:46:20  csanchez
52
 * Actualizacion protoripo libGPE
53
 *
54
 * Revision 1.2  2007/04/11 07:35:43  jorpiell
55
 * Se ha actualizado despu?s de mirar la especificaci?n de GML 2.x. Faltan las geometr?as multiples
56
 *
57
 * Revision 1.1  2007/02/28 11:52:06  csanchez
58
 * Nueva libreria para el motor de persistencia GML
59
 *
60
 *
61
 */
62
/**
63
 * @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
64
 */
65
public interface IGPEContentHandler {
66
        
67
        public Object startLayer(Object parent, Object bBox, String id, String name, String description, String srs);
68

    
69
        public void endLayer(Object layer);
70
        
71
        public Object startElement(Object parent, String name, Object value, Object type);
72
        
73
        public void endElement(Object element);
74
        
75
        public Object startBbox(double[] x, double[] y, double[] z, String id, String srs);
76
        
77
        public void endBbox(Object bbox);
78
        
79
        public Object startPoint(double x, double y, double z, String id, String srs);
80
        
81
        public void endPoint(Object point);
82
        
83
        public Object startLineString(double x, double y, double z, String id, String srs);
84
        
85
        public void endLineString(Object line);
86
        
87
        public Object startLinearRing(double x, double y, double z, String id, String srs);
88
        
89
        public void endLinearRing(Object linearRing);
90
        
91
        public Object startPolygon(double x, double y, double z, String id, String srs);
92
        
93
        public void endPolygon(Object polygon);
94
        
95
        public void addInnerBoundary(Object polygon,Object linearRing);
96
        
97
        public void addOuterBoundary(Object polygon,Object linearRing);
98
        
99
        public boolean isViewInBox(Object bbox, Object view);
100
        
101
        public boolean isGeometryInBox(Object bbox, Object geometry);
102
        
103
        public void addFeature(Object layer,Object feature);
104
        
105
        public void addBbox(Object item,Object bbox);
106
        
107
        public void addElement(Object feature,Object element);
108
        
109
        public void addGeometry(Object feature, Object geometry);
110

    
111

    
112
}