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