Statistics
| Revision:

root / trunk / libraries / libGPE / src / org / gvsig / gpe / writer / GPEWriterHandler.java @ 11171

History | View | Annotate | Download (4.27 KB)

1
package org.gvsig.gpe.writer;
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 11171 2007-04-12 17:06:44Z jorpiell $
52
 * $Log$
53
 * Revision 1.2  2007-04-12 17:06:42  jorpiell
54
 * First GML writing tests
55
 *
56
 * Revision 1.1  2007/04/12 10:20:40  jorpiell
57
 * Add the writer
58
 *
59
 *
60
 */
61
/**
62
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
63
 */
64
public abstract class GPEWriterHandler implements IGPEWriterHandler{
65
        private String format = null;
66
        private File file = null;
67
        private GPEErrorHandler errorHandler = null;
68
        
69
        public GPEWriterHandler(String format,File file,GPEErrorHandler errorHandler){
70
                this.format = format;
71
                this.file = file;
72
                this.errorHandler = errorHandler;
73
        }        
74

    
75
        /**
76
         * @return the errorHandler
77
         */
78
        public GPEErrorHandler getErrorHandler() {
79
                return errorHandler;
80
        }
81

    
82
        public void close() {
83
                // TODO Auto-generated method stub
84
                
85
        }
86

    
87
        public void endBbox() {
88
                // TODO Auto-generated method stub
89
                
90
        }
91

    
92
        public void endElement() {
93
                // TODO Auto-generated method stub
94
                
95
        }
96

    
97
        public void endInnerBoundary() {
98
                // TODO Auto-generated method stub
99
                
100
        }
101

    
102
        public void endLayer() {
103
                // TODO Auto-generated method stub
104
                
105
        }
106

    
107
        public void endLineString() {
108
                // TODO Auto-generated method stub
109
                
110
        }
111

    
112
        public void endLinearRing() {
113
                // TODO Auto-generated method stub
114
                
115
        }
116

    
117
        public void endOuterBoundary() {
118
                // TODO Auto-generated method stub
119
                
120
        }
121

    
122
        public void endPoint() {
123
                // TODO Auto-generated method stub
124
                
125
        }
126

    
127
        public void endPolygon() {
128
                // TODO Auto-generated method stub
129
                
130
        }
131

    
132
        public void initialize() {
133
                // TODO Auto-generated method stub
134
                
135
        }
136

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

    
142
        public void startElement(String name, Object value, Object type) {
143
                // TODO Auto-generated method stub
144
                
145
        }
146

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

    
152
        public void startLayer(String id, String name, String description, String srs) {
153
                // TODO Auto-generated method stub
154
                
155
        }
156

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

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

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

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

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

    
182
        public void endFeature() {
183
                // TODO Auto-generated method stub
184
                
185
        }
186

    
187
        public void startFeature(String name, String id) {
188
                // TODO Auto-generated method stub
189
                
190
        }
191

    
192
        /**
193
         * @return the file
194
         */
195
        public File getFile() {
196
                return file;
197
        }
198

    
199
        /**
200
         * @return the format
201
         */
202
        public String getFormat() {
203
                return format;
204
        }        
205

    
206
}