root / trunk / libraries / libGPE / src / org / gvsig / gpe / GPEContentHandler.java @ 11234
History | View | Annotate | Download (4.49 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 11234 2007-04-18 10:46:23Z jorpiell $
|
45 |
* $Log$
|
46 |
* Revision 1.8 2007-04-18 10:46:23 jorpiell
|
47 |
* bbox para from tyhe starLayer method deleted
|
48 |
*
|
49 |
* Revision 1.7 2007/04/18 10:43:24 jorpiell
|
50 |
* Eliminados los Object de la interfaz
|
51 |
*
|
52 |
* Revision 1.6 2007/04/17 07:53:55 jorpiell
|
53 |
* Before to start a new parsing process, the initialize method of the content handlers is throwed
|
54 |
*
|
55 |
* Revision 1.5 2007/04/14 16:06:13 jorpiell
|
56 |
* The writer handler has been updated
|
57 |
*
|
58 |
* Revision 1.4 2007/04/13 13:14:55 jorpiell
|
59 |
* Created the base tests and add some methods to the content handler
|
60 |
*
|
61 |
* Revision 1.3 2007/04/12 17:06:42 jorpiell
|
62 |
* First GML writing tests
|
63 |
*
|
64 |
* Revision 1.2 2007/04/11 13:04:51 jorpiell
|
65 |
* Add the srs param to the addLayer method
|
66 |
*
|
67 |
* Revision 1.1 2007/04/11 08:46:21 csanchez
|
68 |
* Actualizacion protoripo libGPE
|
69 |
*
|
70 |
*
|
71 |
*/
|
72 |
/**
|
73 |
* @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
|
74 |
*/
|
75 |
public abstract class GPEContentHandler implements IGPEContentHandler { |
76 |
|
77 |
/**
|
78 |
* It initializes the ContentHandler. It thas to
|
79 |
* init the object attributes values before to
|
80 |
* start a new parsing process.
|
81 |
*/
|
82 |
abstract public void initialize(); |
83 |
|
84 |
public void addDescriptionToLayer(String description) { |
85 |
// TODO Auto-generated method stub
|
86 |
|
87 |
} |
88 |
|
89 |
public void addNameToFeature(String name) { |
90 |
// TODO Auto-generated method stub
|
91 |
|
92 |
} |
93 |
|
94 |
public void addNameToLayer(String name) { |
95 |
// TODO Auto-generated method stub
|
96 |
|
97 |
} |
98 |
|
99 |
public void endBbox(Object bbox) { |
100 |
// TODO Auto-generated method stub
|
101 |
|
102 |
} |
103 |
|
104 |
public void endElement() { |
105 |
// TODO Auto-generated method stub
|
106 |
|
107 |
} |
108 |
|
109 |
public void endFeature() { |
110 |
// TODO Auto-generated method stub
|
111 |
|
112 |
} |
113 |
|
114 |
public void endInnerPolygon() { |
115 |
// TODO Auto-generated method stub
|
116 |
|
117 |
} |
118 |
|
119 |
public void endLayer() { |
120 |
// TODO Auto-generated method stub
|
121 |
|
122 |
} |
123 |
|
124 |
public void endLineString() { |
125 |
// TODO Auto-generated method stub
|
126 |
|
127 |
} |
128 |
|
129 |
public void endLinearRing() { |
130 |
// TODO Auto-generated method stub
|
131 |
|
132 |
} |
133 |
|
134 |
public void endPoint() { |
135 |
// TODO Auto-generated method stub
|
136 |
|
137 |
} |
138 |
|
139 |
public void endPolygon() { |
140 |
// TODO Auto-generated method stub
|
141 |
|
142 |
} |
143 |
|
144 |
public Object startBbox(double[] x, double[] y, double[] z, String id, String srs) { |
145 |
// TODO Auto-generated method stub
|
146 |
return null; |
147 |
} |
148 |
|
149 |
public Object startElement(String name, Object value, Object type) { |
150 |
// TODO Auto-generated method stub
|
151 |
return null; |
152 |
} |
153 |
|
154 |
public Object startFeature(String name, String id) { |
155 |
// TODO Auto-generated method stub
|
156 |
return null; |
157 |
} |
158 |
|
159 |
public Object startInnerPolygon(double[] x, double[] y, double[] z, String id, String srs) { |
160 |
// TODO Auto-generated method stub
|
161 |
return null; |
162 |
} |
163 |
|
164 |
public Object startLayer(String id, String name, String description, String srs) { |
165 |
// TODO Auto-generated method stub
|
166 |
return null; |
167 |
} |
168 |
|
169 |
public Object startLineString(double[] x, double[] y, double[] z, String id, String srs) { |
170 |
// TODO Auto-generated method stub
|
171 |
return null; |
172 |
} |
173 |
|
174 |
public Object startLinearRing(double[] x, double[] y, double[] z, String id, String srs) { |
175 |
// TODO Auto-generated method stub
|
176 |
return null; |
177 |
} |
178 |
|
179 |
public Object startPoint(double x, double y, double z, String id, String srs) { |
180 |
// TODO Auto-generated method stub
|
181 |
return null; |
182 |
} |
183 |
|
184 |
public Object startPolygon(double[] x, double[] y, double[] z, String id, String srs) { |
185 |
// TODO Auto-generated method stub
|
186 |
return null; |
187 |
} |
188 |
|
189 |
|
190 |
|
191 |
|
192 |
|
193 |
} |