Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libRemoteServices / src / org / gvsig / remoteClient / gml / types / GMLGeometryType.java @ 10109

History | View | Annotate | Download (2.69 KB)

1
package org.gvsig.remoteClient.gml.types;
2

    
3

    
4

    
5
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
6
 *
7
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
8
 *
9
 * This program is free software; you can redistribute it and/or
10
 * modify it under the terms of the GNU General Public License
11
 * as published by the Free Software Foundation; either version 2
12
 * of the License, or (at your option) any later version.
13
 *
14
 * This program is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU General Public License
20
 * along with this program; if not, write to the Free Software
21
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
22
 *
23
 * For more information, contact:
24
 *
25
 *  Generalitat Valenciana
26
 *   Conselleria d'Infraestructures i Transport
27
 *   Av. Blasco Ib??ez, 50
28
 *   46010 VALENCIA
29
 *   SPAIN
30
 *
31
 *      +34 963862235
32
 *   gvsig@gva.es
33
 *      www.gvsig.gva.es
34
 *
35
 *    or
36
 *
37
 *   IVER T.I. S.A
38
 *   Salamanca 50
39
 *   46005 Valencia
40
 *   Spain
41
 *
42
 *   +34 963163400
43
 *   dac@iver.es
44
 */
45
/* CVS MESSAGES:
46
 *
47
 * $Id: GMLGeometryType.java 10109 2007-02-05 13:20:21Z jorpiell $
48
 * $Log$
49
 * Revision 1.2  2007-02-05 13:20:13  jorpiell
50
 * A?adidos nuevos m?todos en la factoria.
51
 *
52
 * Revision 1.1  2006/12/22 11:25:04  csanchez
53
 * Nuevo parser GML 2.x para gml's sin esquema
54
 *
55
 * Revision 1.2  2006/10/11 11:21:00  jorpiell
56
 * Se escriben los tipos correctamente (no en mayusculas) para que las traducciones funcionen
57
 *
58
 * Revision 1.1  2006/08/10 12:00:49  jorpiell
59
 * Primer commit del driver de Gml
60
 *
61
 *
62
 */
63
/**
64
 * All the GML geometries must be here
65
 * 
66
 * @author Jorge Piera Llodr? (piera_jor@gva.es)
67
 * @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
68
 * 
69
 */
70
public class GMLGeometryType implements IXMLType {
71
        private String type = null;
72
        
73
        public static final String POINT = "gml:PointPropertyType";
74
        public static final String LINE = "gml:MultiLineStringPropertyType";
75
        public static final String MULTIPOINT = "gml:MultiPointPropertyType";
76
        public static final String MULTIPOLYGON = "gml:MultiPolygonPropertyType";
77
        public static final String GEOMETRY = "gml:GeometryPropertyType";
78
        public static final String POLYGON = "gml:PolygonPropertyType";
79
        
80
  
81
        public GMLGeometryType(String type) {
82
                super();                
83
                this.type = type;
84
        }
85
        
86
        /*
87
         *  (non-Javadoc)
88
         * @see org.gvsig.remoteClient.gml.model.IXMLType#getType()
89
         */
90
        public int getType() {
91
                return IXMLType.GML_GEOMETRY;
92
        }
93
        
94
        /*
95
         *  (non-Javadoc)
96
         * @see org.gvsig.remoteClient.gml.model.IXMLType#getName()
97
         */
98
        public String getName() {
99
                return type;
100
        }
101

    
102

    
103
}