root / trunk / libraries / libGPE / src / org / gvsig / gpe / GPEContentHandler.java @ 11247
History | View | Annotate | Download (5.73 KB)
1 |
package org.gvsig.gpe; |
---|---|
2 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
3 |
*
|
4 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
19 |
*
|
20 |
* For more information, contact:
|
21 |
*
|
22 |
* Generalitat Valenciana
|
23 |
* Conselleria d'Infraestructures i Transport
|
24 |
* Av. Blasco Ib??ez, 50
|
25 |
* 46010 VALENCIA
|
26 |
* SPAIN
|
27 |
*
|
28 |
* +34 963862235
|
29 |
* gvsig@gva.es
|
30 |
* www.gvsig.gva.es
|
31 |
*
|
32 |
* or
|
33 |
*
|
34 |
* IVER T.I. S.A
|
35 |
* Salamanca 50
|
36 |
* 46005 Valencia
|
37 |
* Spain
|
38 |
*
|
39 |
* +34 963163400
|
40 |
* dac@iver.es
|
41 |
*/
|
42 |
/* CVS MESSAGES:
|
43 |
*
|
44 |
* $Id: GPEContentHandler.java 11247 2007-04-19 07:30:40Z jorpiell $
|
45 |
* $Log$
|
46 |
* Revision 1.10 2007-04-19 07:23:20 jorpiell
|
47 |
* Add the add methods to teh contenhandler and change the register mode
|
48 |
*
|
49 |
* Revision 1.9 2007/04/18 12:48:16 jorpiell
|
50 |
* The ID attribute is always on the first position
|
51 |
*
|
52 |
* Revision 1.8 2007/04/18 10:46:23 jorpiell
|
53 |
* bbox para from tyhe starLayer method deleted
|
54 |
*
|
55 |
* Revision 1.7 2007/04/18 10:43:24 jorpiell
|
56 |
* Eliminados los Object de la interfaz
|
57 |
*
|
58 |
* Revision 1.6 2007/04/17 07:53:55 jorpiell
|
59 |
* Before to start a new parsing process, the initialize method of the content handlers is throwed
|
60 |
*
|
61 |
* Revision 1.5 2007/04/14 16:06:13 jorpiell
|
62 |
* The writer handler has been updated
|
63 |
*
|
64 |
* Revision 1.4 2007/04/13 13:14:55 jorpiell
|
65 |
* Created the base tests and add some methods to the content handler
|
66 |
*
|
67 |
* Revision 1.3 2007/04/12 17:06:42 jorpiell
|
68 |
* First GML writing tests
|
69 |
*
|
70 |
* Revision 1.2 2007/04/11 13:04:51 jorpiell
|
71 |
* Add the srs param to the addLayer method
|
72 |
*
|
73 |
* Revision 1.1 2007/04/11 08:46:21 csanchez
|
74 |
* Actualizacion protoripo libGPE
|
75 |
*
|
76 |
*
|
77 |
*/
|
78 |
/**
|
79 |
* @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
|
80 |
*/
|
81 |
public abstract class GPEContentHandler implements IGPEContentHandler { |
82 |
|
83 |
public void addBboxToGeometry(Object bbox, Object geometry) { |
84 |
// TODO Auto-generated method stub
|
85 |
|
86 |
} |
87 |
|
88 |
public void addBboxToLayer(Object bbox, Object layer) { |
89 |
// TODO Auto-generated method stub
|
90 |
|
91 |
} |
92 |
|
93 |
public void addDescriptionToLayer(String description, Object layer) { |
94 |
// TODO Auto-generated method stub
|
95 |
|
96 |
} |
97 |
|
98 |
public void addElementToFeature(Object element, Object feature) { |
99 |
// TODO Auto-generated method stub
|
100 |
|
101 |
} |
102 |
|
103 |
public void addFeatureToLayer(Object feature, Object layer) { |
104 |
// TODO Auto-generated method stub
|
105 |
|
106 |
} |
107 |
|
108 |
public void addGeometryToFeature(Object geometry, Object feature) { |
109 |
// TODO Auto-generated method stub
|
110 |
|
111 |
} |
112 |
|
113 |
public void addInnerPolygonToPolygon(Object innerPolygon, Object Polygon) { |
114 |
// TODO Auto-generated method stub
|
115 |
|
116 |
} |
117 |
|
118 |
public void addNameToFeature(String name, Object feature) { |
119 |
// TODO Auto-generated method stub
|
120 |
|
121 |
} |
122 |
|
123 |
public void addNameToLayer(String name, Object layer) { |
124 |
// TODO Auto-generated method stub
|
125 |
|
126 |
} |
127 |
|
128 |
public void addParentElementToElement(Object parent, Object element) { |
129 |
// TODO Auto-generated method stub
|
130 |
|
131 |
} |
132 |
|
133 |
public void addParentLayerToLayer(Object parent, Object layer) { |
134 |
// TODO Auto-generated method stub
|
135 |
|
136 |
} |
137 |
|
138 |
public void addSrsToLayer(String srs, Object Layer) { |
139 |
// TODO Auto-generated method stub
|
140 |
|
141 |
} |
142 |
|
143 |
public void endBbox(Object bbox) { |
144 |
// TODO Auto-generated method stub
|
145 |
|
146 |
} |
147 |
|
148 |
public void endElement(Object element) { |
149 |
// TODO Auto-generated method stub
|
150 |
|
151 |
} |
152 |
|
153 |
public void endFeature(Object feature) { |
154 |
// TODO Auto-generated method stub
|
155 |
|
156 |
} |
157 |
|
158 |
public void endInnerPolygon(Object innerPolygon) { |
159 |
// TODO Auto-generated method stub
|
160 |
|
161 |
} |
162 |
|
163 |
public void endLayer(Object layer) { |
164 |
// TODO Auto-generated method stub
|
165 |
|
166 |
} |
167 |
|
168 |
public void endLineString(Object lineString) { |
169 |
// TODO Auto-generated method stub
|
170 |
|
171 |
} |
172 |
|
173 |
public void endLinearRing(Object linearRing) { |
174 |
// TODO Auto-generated method stub
|
175 |
|
176 |
} |
177 |
|
178 |
public void endPoint(Object point) { |
179 |
// TODO Auto-generated method stub
|
180 |
|
181 |
} |
182 |
|
183 |
public void endPolygon(Object Polygon) { |
184 |
// TODO Auto-generated method stub
|
185 |
|
186 |
} |
187 |
|
188 |
public Object startBbox(String id, double[] x, double[] y, double[] z, String srs) { |
189 |
// TODO Auto-generated method stub
|
190 |
return null; |
191 |
} |
192 |
|
193 |
public Object startElement(String name, Object value, Object type, Object parentElement) { |
194 |
// TODO Auto-generated method stub
|
195 |
return null; |
196 |
} |
197 |
|
198 |
public Object startFeature(String id, String name, Object layer) { |
199 |
// TODO Auto-generated method stub
|
200 |
return null; |
201 |
} |
202 |
|
203 |
public Object startInnerPolygon(String id, double[] x, double[] y, double[] z, String srs) { |
204 |
// TODO Auto-generated method stub
|
205 |
return null; |
206 |
} |
207 |
|
208 |
public Object startLayer(String id, String name, String description, String srs, Object parentLayer, Object bBox) { |
209 |
// TODO Auto-generated method stub
|
210 |
return null; |
211 |
} |
212 |
|
213 |
public Object startLineString(String id, double[] x, double[] y, double[] z, String srs) { |
214 |
// TODO Auto-generated method stub
|
215 |
return null; |
216 |
} |
217 |
|
218 |
public Object startLinearRing(String id, double[] x, double[] y, double[] z, String srs) { |
219 |
// TODO Auto-generated method stub
|
220 |
return null; |
221 |
} |
222 |
|
223 |
public Object startPoint(String id, double x, double y, double z, String srs) { |
224 |
// TODO Auto-generated method stub
|
225 |
return null; |
226 |
} |
227 |
|
228 |
public Object startPolygon(String id, double[] x, double[] y, double[] z, String srs) { |
229 |
// TODO Auto-generated method stub
|
230 |
return null; |
231 |
} |
232 |
|
233 |
|
234 |
|
235 |
|
236 |
|
237 |
|
238 |
|
239 |
|
240 |
} |