Statistics
| Revision:

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 @ 40559

History | View | Annotate | Download (3.72 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" 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
      </fields>
55
    </class>
56

    
57
    <class name="DBFNewStoreParameters">
58
      <description>Store the parameters need to create a dbf file</description>
59
      <extends>
60
        <class>DBFStoreParameters</class>
61
        <class namespace="dal" name="NewProviderParameters"/>
62
      </extends>
63
      <fields>
64
        <field name="codePage" type="Integer" mandatory="false"  group="Advanced">          
65
          <description>Code page used in this file</description>
66
          <availableValues>
67
            <value label="DOS USA">0x01</value>
68
            <value label="DOS Multilingual">0x02</value>
69
            <value label="Windows ANSI">0x03</value>
70
            <value label="Standard Macintosh">0x04</value>
71
            <value label="EE MS-DOS">0x64</value>
72
            <value label="Nordic MS-DOS">0x65</value>
73
            <value label="Russian MS-DOS">0x66</value>
74
            <value label="Icelandic MS-DOS">0x67</value>
75
            <value label="Kamenicky (Czech) MS-DOS">0x68</value>
76
            <value label="Mazovia (Polish) MS-DOS">0x69</value>
77
            <value label="Greek MS-DOS (437G)">0x6A</value>
78
            <value label="Turkish MS-DOS">0x6B</value>
79
            <value label="Russian Macintosh">0x96</value>
80
            <value label="Macintosh">0x97</value>
81
            <value label="Greek Macintosh">0x98</value>
82
            <value label="Windows EE">0xC8</value>
83
            <value label="Russian Windows">0xC9</value>
84
            <value label="Turkish Windows">0xCA</value>
85
            <value label="Greek Windows">0xCB</value>
86
          </availableValues> 
87
        </field>
88
      </fields>
89
    </class>
90

    
91
  </classes>
92
</definitions>