svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.file / org.gvsig.fmap.dal.file.dbf / src / main / resources / org / gvsig / fmap / dal / store / dbf / DBFParameters.xml @ 41483
History | View | Annotate | Download (5.11 KB)
1 |
<?xml version="1.0"?>
|
---|---|
2 |
<!--
|
3 |
|
4 |
gvSIG. Desktop Geographic Information System.
|
5 |
|
6 |
Copyright (C) 2007-2013 gvSIG Association.
|
7 |
|
8 |
This program is free software; you can redistribute it and/or
|
9 |
modify it under the terms of the GNU General Public License
|
10 |
as published by the Free Software Foundation; either version 3
|
11 |
of the License, or (at your option) any later version.
|
12 |
|
13 |
This program is distributed in the hope that it will be useful,
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
GNU General Public License for more details.
|
17 |
|
18 |
You should have received a copy of the GNU General Public License
|
19 |
along with this program; if not, write to the Free Software
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
21 |
MA 02110-1301, USA.
|
22 |
|
23 |
For any additional information, do not hesitate to contact us
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com.
|
25 |
|
26 |
-->
|
27 |
<definitions>
|
28 |
<version>1.0.0</version> |
29 |
<classes>
|
30 |
<class name="DBFStoreParameters"> |
31 |
<extends>
|
32 |
<class namespace="dal" name="ProviderParameters"/> |
33 |
</extends>
|
34 |
<description>Store the parameters need to open a dbf file</description> |
35 |
<fields>
|
36 |
<field name="DbfFile" label="DBF file" type="file" mandatory="true" group="Basic"> |
37 |
<description>dbf file</description> |
38 |
</field>
|
39 |
<field name="Encoding" type="string" mandatory="false" group="Basic"> |
40 |
<description>Encoding used in this file</description> |
41 |
<availableValues>
|
42 |
<value label="(default)"></value> |
43 |
<value label="US-ASCII">US-ASCII</value> |
44 |
<value label="ISO-8859-1">ISO-8859-1</value> |
45 |
<value label="ISO-8859-15">ISO-8859-15</value> |
46 |
<value label="windows-1250">windows-1250</value> |
47 |
<value label="windows-1252">windows-1252</value> |
48 |
<value label="UTF-8">UTF-8</value> |
49 |
<value label="UTF-16">UTF-16</value> |
50 |
<value label="UTF-16BE">UTF-16BE</value> |
51 |
<value label="UTF-16LE">UTF-16LE</value> |
52 |
</availableValues>
|
53 |
</field>
|
54 |
<field name="handleDatesAsStrings" label="Handle dates as strings" type="boolean" mandatory="false" defaultValue="false" group="Advanced"> |
55 |
<description>If set handle fields of date types as strings.</description> |
56 |
</field>
|
57 |
<field name="locale" type="string" mandatory="true" defaultValue="DEFAULT" group="Advanced"> |
58 |
<description>Locale used to parse dates (BCP47 language tag representing the locale)</description> |
59 |
<availableValues>
|
60 |
<value label="Default (use system locale)">DEFAULT</value> |
61 |
<value label="Canada (english)">en-CA</value> |
62 |
<value label="Canada (french)">fr-CA</value> |
63 |
<value label="Chinese">zh</value> |
64 |
<value label="English">en</value> |
65 |
<value label="French">fr</value> |
66 |
<value label="German">de</value> |
67 |
<value label="Italian">it</value> |
68 |
<value label="Japanese">ja</value> |
69 |
<value label="Korea">ko</value> |
70 |
<value label="Spain">es</value> |
71 |
<value label="Uk">en-GB</value> |
72 |
<value label="Us">en-US</value> |
73 |
</availableValues>
|
74 |
</field>
|
75 |
<field name="dateFormat" label="Date format" type="string" mandatory="false" defaultValue="" group="Advanced"> |
76 |
<description>Date format used to parse fields of type date.</description> |
77 |
</field>
|
78 |
</fields>
|
79 |
</class>
|
80 |
|
81 |
<class name="DBFNewStoreParameters"> |
82 |
<description>Store the parameters need to create a dbf file</description> |
83 |
<extends>
|
84 |
<class>DBFStoreParameters</class> |
85 |
<class namespace="dal" name="NewProviderParameters"/> |
86 |
</extends>
|
87 |
<fields>
|
88 |
<field name="codePage" type="Integer" mandatory="false" group="Advanced"> |
89 |
<description>Code page used in this file</description> |
90 |
<availableValues>
|
91 |
<value label="DOS USA">0x01</value> |
92 |
<value label="DOS Multilingual">0x02</value> |
93 |
<value label="Windows ANSI">0x03</value> |
94 |
<value label="Standard Macintosh">0x04</value> |
95 |
<value label="EE MS-DOS">0x64</value> |
96 |
<value label="Nordic MS-DOS">0x65</value> |
97 |
<value label="Russian MS-DOS">0x66</value> |
98 |
<value label="Icelandic MS-DOS">0x67</value> |
99 |
<value label="Kamenicky (Czech) MS-DOS">0x68</value> |
100 |
<value label="Mazovia (Polish) MS-DOS">0x69</value> |
101 |
<value label="Greek MS-DOS (437G)">0x6A</value> |
102 |
<value label="Turkish MS-DOS">0x6B</value> |
103 |
<value label="Russian Macintosh">0x96</value> |
104 |
<value label="Macintosh">0x97</value> |
105 |
<value label="Greek Macintosh">0x98</value> |
106 |
<value label="Windows EE">0xC8</value> |
107 |
<value label="Russian Windows">0xC9</value> |
108 |
<value label="Turkish Windows">0xCA</value> |
109 |
<value label="Greek Windows">0xCB</value> |
110 |
</availableValues>
|
111 |
</field>
|
112 |
</fields>
|
113 |
</class>
|
114 |
|
115 |
</classes>
|
116 |
</definitions>
|