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