root / trunk / libraries / libGPE / src / org / gvsig / gpe / IGPEContentHandler.java @ 11171
History | View | Annotate | Download (3.32 KB)
1 | 10551 | csanchez | 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$
|
||
47 | * $Log$
|
||
48 | 11171 | jorpiell | * Revision 1.5 2007-04-12 17:06:42 jorpiell
|
49 | * First GML writing tests
|
||
50 | *
|
||
51 | * Revision 1.4 2007/04/11 13:04:51 jorpiell
|
||
52 | 11136 | jorpiell | * Add the srs param to the addLayer method
|
53 | *
|
||
54 | * Revision 1.3 2007/04/11 08:46:20 csanchez
|
||
55 | 11121 | csanchez | * Actualizacion protoripo libGPE
|
56 | *
|
||
57 | * Revision 1.2 2007/04/11 07:35:43 jorpiell
|
||
58 | 11112 | jorpiell | * Se ha actualizado despu?s de mirar la especificaci?n de GML 2.x. Faltan las geometr?as multiples
|
59 | *
|
||
60 | * Revision 1.1 2007/02/28 11:52:06 csanchez
|
||
61 | 10551 | csanchez | * Nueva libreria para el motor de persistencia GML
|
62 | *
|
||
63 | *
|
||
64 | */
|
||
65 | /**
|
||
66 | * @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
|
||
67 | */
|
||
68 | public interface IGPEContentHandler { |
||
69 | 11112 | jorpiell | |
70 | 11136 | jorpiell | public Object startLayer(Object parent, Object bBox, String id, String name, String description, String srs); |
71 | 10551 | csanchez | |
72 | 11112 | jorpiell | public void endLayer(Object layer); |
73 | |||
74 | 11171 | jorpiell | public Object startFeature(String name, String id); |
75 | |||
76 | public void endFeature(Object feature); |
||
77 | |||
78 | 11112 | jorpiell | public Object startElement(Object parent, String name, Object value, Object type); |
79 | 11171 | jorpiell | |
80 | 11112 | jorpiell | public void endElement(Object element); |
81 | |||
82 | public Object startBbox(double[] x, double[] y, double[] z, String id, String srs); |
||
83 | |||
84 | public void endBbox(Object bbox); |
||
85 | |||
86 | public Object startPoint(double x, double y, double z, String id, String srs); |
||
87 | |||
88 | public void endPoint(Object point); |
||
89 | |||
90 | public Object startLineString(double x, double y, double z, String id, String srs); |
||
91 | |||
92 | public void endLineString(Object line); |
||
93 | |||
94 | public Object startLinearRing(double x, double y, double z, String id, String srs); |
||
95 | |||
96 | public void endLinearRing(Object linearRing); |
||
97 | |||
98 | public Object startPolygon(double x, double y, double z, String id, String srs); |
||
99 | |||
100 | public void endPolygon(Object polygon); |
||
101 | |||
102 | public void addInnerBoundary(Object polygon,Object linearRing); |
||
103 | |||
104 | public void addOuterBoundary(Object polygon,Object linearRing); |
||
105 | |||
106 | public boolean isViewInBox(Object bbox, Object view); |
||
107 | |||
108 | public boolean isGeometryInBox(Object bbox, Object geometry); |
||
109 | |||
110 | public void addFeature(Object layer,Object feature); |
||
111 | |||
112 | public void addBbox(Object item,Object bbox); |
||
113 | |||
114 | public void addElement(Object feature,Object element); |
||
115 | |||
116 | public void addGeometry(Object feature, Object geometry); |
||
117 | 10551 | csanchez | |
118 | |||
119 | } |