root / branches / v2_0_0_prep / libraries / libGPE-GML / src-test / org / gvsig / gpe / gml / parser / GMLReaderBaseTest.java @ 30580
History | View | Annotate | Download (2.64 KB)
1 |
package org.gvsig.gpe.gml.parser; |
---|---|
2 |
|
3 |
import org.gvsig.gpe.parser.GPEReaderBaseTest; |
4 |
import org.gvsig.tools.library.impl.DefaultLibrariesInitializer; |
5 |
|
6 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
7 |
*
|
8 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
9 |
*
|
10 |
* This program is free software; you can redistribute it and/or
|
11 |
* modify it under the terms of the GNU General Public License
|
12 |
* as published by the Free Software Foundation; either version 2
|
13 |
* of the License, or (at your option) any later version.
|
14 |
*
|
15 |
* This program is distributed in the hope that it will be useful,
|
16 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18 |
* GNU General Public License for more details.
|
19 |
*
|
20 |
* You should have received a copy of the GNU General Public License
|
21 |
* along with this program; if not, write to the Free Software
|
22 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
23 |
*
|
24 |
* For more information, contact:
|
25 |
*
|
26 |
* Generalitat Valenciana
|
27 |
* Conselleria d'Infraestructures i Transport
|
28 |
* Av. Blasco Ib??ez, 50
|
29 |
* 46010 VALENCIA
|
30 |
* SPAIN
|
31 |
*
|
32 |
* +34 963862235
|
33 |
* gvsig@gva.es
|
34 |
* www.gvsig.gva.es
|
35 |
*
|
36 |
* or
|
37 |
*
|
38 |
* IVER T.I. S.A
|
39 |
* Salamanca 50
|
40 |
* 46005 Valencia
|
41 |
* Spain
|
42 |
*
|
43 |
* +34 963163400
|
44 |
* dac@iver.es
|
45 |
*/
|
46 |
/* CVS MESSAGES:
|
47 |
*
|
48 |
* $Id: GMLReaderBaseTest.java 202 2007-11-27 12:00:11Z jpiera $
|
49 |
* $Log$
|
50 |
* Revision 1.5 2007/05/18 10:41:01 csanchez
|
51 |
* Actualizaci?n libGPE-GML eliminaci?n de clases inecesarias
|
52 |
*
|
53 |
* Revision 1.4 2007/04/20 08:33:37 jorpiell
|
54 |
* Test updated
|
55 |
*
|
56 |
* Revision 1.3 2007/04/20 08:13:43 csanchez
|
57 |
* Actualizacion protoripo libGPE
|
58 |
*
|
59 |
* Revision 1.2 2007/04/13 07:17:57 jorpiell
|
60 |
* Add the writting tests for the simple geometries
|
61 |
*
|
62 |
* Revision 1.1 2007/04/12 10:24:12 jorpiell
|
63 |
* Add the GML and schema tests
|
64 |
*
|
65 |
*
|
66 |
*/
|
67 |
/**
|
68 |
* @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
|
69 |
*/
|
70 |
public abstract class GMLReaderBaseTest extends GPEReaderBaseTest { |
71 |
|
72 |
/* (non-Javadoc)
|
73 |
* @see org.gvsig.gpe.parser.GPEReaderBaseTest#setUp()
|
74 |
*/
|
75 |
public void setUp() throws Exception { |
76 |
super.setUp();
|
77 |
new DefaultLibrariesInitializer().fullInitialize();
|
78 |
|
79 |
// DefaultGmlLibrary lib = new DefaultGmlLibrary();
|
80 |
// lib.initialize();
|
81 |
// lib.postInitialize();
|
82 |
//
|
83 |
// DefaultXmlLibrary xmlLibrary = new DefaultXmlLibrary();
|
84 |
// xmlLibrary.initialize();
|
85 |
// xmlLibrary.postInitialize();
|
86 |
} |
87 |
|
88 |
//Aqui se le pasa la clase
|
89 |
public Class getGPEParserClass() { |
90 |
return org.gvsig.gpe.gml.parser.GPEGmlSFP0Parser.class;
|
91 |
} |
92 |
|
93 |
/**
|
94 |
* Return if the GML has a schema
|
95 |
* @return
|
96 |
*/
|
97 |
public abstract boolean hasSchema(); |
98 |
|
99 |
} |