Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libGPE / src / org / gvsig / gpe / writers / GPEWriterHandler.java @ 11178

History | View | Annotate | Download (4.37 KB)

1
package org.gvsig.gpe.writers;
2

    
3
import java.io.File;
4

    
5
import org.gvsig.gpe.GPEErrorHandler;
6
import org.gvsig.gpe.IGPEContentHandler;
7
import org.xml.sax.ErrorHandler;
8

    
9
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
10
 *
11
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
12
 *
13
 * This program is free software; you can redistribute it and/or
14
 * modify it under the terms of the GNU General Public License
15
 * as published by the Free Software Foundation; either version 2
16
 * of the License, or (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
26
 *
27
 * For more information, contact:
28
 *
29
 *  Generalitat Valenciana
30
 *   Conselleria d'Infraestructures i Transport
31
 *   Av. Blasco Ib??ez, 50
32
 *   46010 VALENCIA
33
 *   SPAIN
34
 *
35
 *      +34 963862235
36
 *   gvsig@gva.es
37
 *      www.gvsig.gva.es
38
 *
39
 *    or
40
 *
41
 *   IVER T.I. S.A
42
 *   Salamanca 50
43
 *   46005 Valencia
44
 *   Spain
45
 *
46
 *   +34 963163400
47
 *   dac@iver.es
48
 */
49
/* CVS MESSAGES:
50
 *
51
 * $Id: GPEWriterHandler.java 11178 2007-04-13 07:17:57Z jorpiell $
52
 * $Log$
53
 * Revision 1.1  2007-04-13 07:17:54  jorpiell
54
 * Add the writting tests for the simple geometries
55
 *
56
 * Revision 1.2  2007/04/12 17:06:42  jorpiell
57
 * First GML writing tests
58
 *
59
 * Revision 1.1  2007/04/12 10:20:40  jorpiell
60
 * Add the writer
61
 *
62
 *
63
 */
64
/**
65
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
66
 */
67
public abstract class GPEWriterHandler implements IGPEWriterHandler{
68
        private String format = null;
69
        private File file = null;
70
        private GPEErrorHandler errorHandler = null;
71
        
72
        public GPEWriterHandler(String format,File file,GPEErrorHandler errorHandler){
73
                this.format = format;
74
                this.file = file;
75
                this.errorHandler = errorHandler;
76
        }        
77

    
78
        /**
79
         * @return the errorHandler
80
         */
81
        public GPEErrorHandler getErrorHandler() {
82
                return errorHandler;
83
        }
84

    
85
        public void close() {
86
                // TODO Auto-generated method stub
87
                
88
        }
89

    
90
        public void endBbox() {
91
                // TODO Auto-generated method stub
92
                
93
        }
94

    
95
        public void endElement() {
96
                // TODO Auto-generated method stub
97
                
98
        }
99

    
100
        public void endInnerBoundary() {
101
                // TODO Auto-generated method stub
102
                
103
        }
104

    
105
        public void endLayer() {
106
                // TODO Auto-generated method stub
107
                
108
        }
109

    
110
        public void endLineString() {
111
                // TODO Auto-generated method stub
112
                
113
        }
114

    
115
        public void endLinearRing() {
116
                // TODO Auto-generated method stub
117
                
118
        }
119

    
120
        public void endOuterBoundary() {
121
                // TODO Auto-generated method stub
122
                
123
        }
124

    
125
        public void endPoint() {
126
                // TODO Auto-generated method stub
127
                
128
        }
129

    
130
        public void endPolygon() {
131
                // TODO Auto-generated method stub
132
                
133
        }
134

    
135
        public void initialize() {
136
                // TODO Auto-generated method stub
137
                
138
        }
139

    
140
        public void startBbox(String id, double[] x, double[] y, double[] z, String srs) {
141
                // TODO Auto-generated method stub
142
                
143
        }
144

    
145
        public void startElement(String name, Object value, Object type) {
146
                // TODO Auto-generated method stub
147
                
148
        }
149

    
150
        public void startInnerBoundary(String id, double[] x, double[] y, double[] z, String srs) {
151
                // TODO Auto-generated method stub
152
                
153
        }
154

    
155
        public void startLayer(String id, String name, String description, String srs) {
156
                // TODO Auto-generated method stub
157
                
158
        }
159

    
160
        public void startLineString(String id, double[] x, double[] y, double[] z, String srs) {
161
                // TODO Auto-generated method stub
162
                
163
        }
164

    
165
        public void startLinearRing(String id, double[] x, double[] y, double[] z, String srs) {
166
                // TODO Auto-generated method stub
167
                
168
        }
169

    
170
        public void startOuterBoundary(String id, double[] x, double[] y, double[] z, String srs) {
171
                // TODO Auto-generated method stub
172
                
173
        }
174

    
175
        public void startPoint(String id, double x, double y, double z, String srs) {
176
                // TODO Auto-generated method stub
177
                
178
        }
179

    
180
        public void startPolygon(String id, double[] x, double[] y, double[] z, String srs) {
181
                // TODO Auto-generated method stub
182
                
183
        }
184

    
185
        public void endFeature() {
186
                // TODO Auto-generated method stub
187
                
188
        }
189

    
190
        public void startFeature(String name, String id) {
191
                // TODO Auto-generated method stub
192
                
193
        }
194

    
195
        /**
196
         * @return the file
197
         */
198
        public File getFile() {
199
                return file;
200
        }
201

    
202
        /**
203
         * @return the format
204
         */
205
        public String getFormat() {
206
                return format;
207
        }        
208

    
209
}