root / branches / v2_0_0_prep / libraries / libGPE-XML / src / org / gvsig / gpe / xml / XmlProperties.java @ 28113
History | View | Annotate | Download (2.55 KB)
1 |
/* gvSIG. Geographic Information System of the Valencian Government
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
4 |
* of the Valencian Government (CIT)
|
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., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
*/
|
22 |
|
23 |
/*
|
24 |
* AUTHORS (In addition to CIT):
|
25 |
* 2008 Iver T.I. {{Task}}
|
26 |
*/
|
27 |
|
28 |
package org.gvsig.gpe.xml; |
29 |
|
30 |
|
31 |
/**
|
32 |
* This class contains the properties for the XML
|
33 |
* parsers and writers.
|
34 |
*/
|
35 |
public class XmlProperties{ |
36 |
/**
|
37 |
* XML Schema prefix that have to be used to generate the file for the
|
38 |
* formats based on XML.
|
39 |
* @see
|
40 |
* <a href="http://www.w3.org/XML/Schema">XML Schema</a>
|
41 |
*/
|
42 |
public static final String DEFAULT_NAMESPACE_PREFIX = "namespacePrefix"; |
43 |
|
44 |
/**
|
45 |
* Default namespace of the files based on XML.
|
46 |
* @see
|
47 |
* <a href="http://www.w3.org/XML/Schema">XML Schema</a>
|
48 |
*/
|
49 |
public static final String DEFAULT_NAMESPACE_URI= "namespaceURI"; |
50 |
|
51 |
/**
|
52 |
* Place where the XML Schema is located.
|
53 |
* @see
|
54 |
* <a href="http://www.w3.org/XML/Schema">XML Schema</a>
|
55 |
*/
|
56 |
public static final String XSD_SCHEMA_FILE = "schemaName"; |
57 |
|
58 |
/**
|
59 |
* XML number of version.
|
60 |
* @see
|
61 |
* <a href=" http://www.w3.org/XML/">XML</a>
|
62 |
*/
|
63 |
public static final String XML_VERSION = "xmlVersion"; |
64 |
|
65 |
/**
|
66 |
* Encoding of the generated XML files.
|
67 |
* @see
|
68 |
* <a href=" http://www.w3.org/XML/">XML</a>
|
69 |
*/
|
70 |
public static final String XML_ENCODING = "xmlEncoding"; |
71 |
|
72 |
/**
|
73 |
* Character to replace the blank spaces in the names that
|
74 |
* has to be added like a XML node. On the writing process
|
75 |
* all the blank spaces are replaced by this character and on
|
76 |
* the reading process this character is replaced by a blank
|
77 |
* space.
|
78 |
*/
|
79 |
public static final String DEFAULT_BLANC_SPACE = "defaultBlancSpace"; |
80 |
|
81 |
/**
|
82 |
* If the parser can download XML Schemas.
|
83 |
*/
|
84 |
public static final String XML_SCHEMA_VALIDATED = "xmlSchemaValidated"; |
85 |
} |
86 |
|