Statistics
| Revision:

root / trunk / libraries / libGPE / src / org / gvsig / xmlschema / utils / SchemaTags.java @ 12439

History | View | Annotate | Download (4.16 KB)

1
package org.gvsig.xmlschema.utils;
2
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
3
 *
4
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
19
 *
20
 * For more information, contact:
21
 *
22
 *  Generalitat Valenciana
23
 *   Conselleria d'Infraestructures i Transport
24
 *   Av. Blasco Ib??ez, 50
25
 *   46010 VALENCIA
26
 *   SPAIN
27
 *
28
 *      +34 963862235
29
 *   gvsig@gva.es
30
 *      www.gvsig.gva.es
31
 *
32
 *    or
33
 *
34
 *   IVER T.I. S.A
35
 *   Salamanca 50
36
 *   46005 Valencia
37
 *   Spain
38
 *
39
 *   +34 963163400
40
 *   dac@iver.es
41
 */
42
/* CVS MESSAGES:
43
 *
44
 * $Id: SchemaTags.java 12439 2007-07-02 10:00:46Z jorpiell $
45
 * $Log$
46
 * Revision 1.4  2007-07-02 09:57:35  jorpiell
47
 * The generated xsd schemas have to be valid
48
 *
49
 * Revision 1.3  2007/06/29 12:19:14  jorpiell
50
 * The schema validation is made independently of the concrete writer
51
 *
52
 * Revision 1.2  2007/06/28 13:04:33  jorpiell
53
 * The Qname has been updated to the 1.5 JVM machine. The schema validation is made in the GPEWriterHandlerImplementor class
54
 *
55
 * Revision 1.1  2007/06/14 16:15:03  jorpiell
56
 * builds to create the jars generated and add the schema code to the libGPEProject
57
 *
58
 * Revision 1.1  2007/06/14 13:50:07  jorpiell
59
 * The schema jar name has been changed
60
 *
61
 * Revision 1.3  2007/06/07 14:54:13  jorpiell
62
 * Add the schema support
63
 *
64
 * Revision 1.2  2007/05/30 12:25:48  jorpiell
65
 * Add the element collection
66
 *
67
 * Revision 1.1  2007/05/25 11:55:00  jorpiell
68
 * First update
69
 *
70
 *
71
 */
72
/**
73
 * This class contains the xml schema constants
74
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
75
 */
76
public class SchemaTags {
77
        public static final String SCHEMA_ROOT = "xs:schema";
78
        public static final String XLINK_NS_URI = "http://www.w3.org/1999/xlink";
79
        public static final String XMLNS_NS_URI = "http://www.w3.org/2000/xmlns/";
80
        public static final String XSD_NS_URI = "http://www.w3.org/2001/XMLSchema";
81
        public static final String XS_NS_URI = "http://www.w3.org/2001/XMLSchema";
82
        public static final String XSI_NS_URI = "http://www.w3.org/2001/XMLSchema-instance";
83
        public static final String GML_NS_URI = "http://www.opengis.net/gml";
84
        public static final String GML_NS = "gml";
85
        public static final String XMLNS_NS = "xmlns";
86
        public static final String XSD_NS = "xs";
87
        public static final String XSI_NS = "xsi";
88
        public static final String SCHEMA_LOCATION_ATTR_NAME = "schemaLocation";
89
        public static final String XS_NS = "xs";
90
        public static final String NAME = "name";
91
        public static final String TYPE = "type";
92
        public static final String TARGET_NAMESPACE = "targetNamespace";        
93
        public static final String SIMPLE_TYPE = "simpleType";
94
        public static final String COMPLEX_TYPE = "complexType";
95
        public static final String ELEMENT = "element";
96
        public static final String COMPLEX_CONTENT = "complexContent";
97
        public static final String SIMPLE_CONTENT = "simpleContent";
98
        public static final String EXTENSION = "extension";
99
        public static final String RESTRICTION = "restriction";
100
        public static final String CHOICE = "choice";
101
        public static final String GROUP = "group";
102
        public static final String ALL = "all";
103
        public static final String SEQUENCE = "sequence";
104
        public static final String NILLABLE = "nillable";
105
        public static final String TRUE = "true";
106
        public static final String FALSE = "false";
107
        public static final String MIN_OCCURS = "minOccurs";
108
        public static final String MAX_OCCURS = "maxOccurs";
109
        public static final String ELEMENTFORMDEFAULT = " elementFormDefault";
110
        public static final String UNBOUNDED = "unbounded";
111
        public static final String SUBSTITUTIONGROUP = "substitutionGroup";
112
}