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.csv / src / main / resources / org / gvsig / fmap / dal / store / csv / CSVParameters.xml @ 41059
History | View | Annotate | Download (4.24 KB)
1 | 40845 | jjdelcerro | <?xml version= "1.0 "?>
|
---|---|---|---|
2 | <definitions>
|
||
3 | <version>1.0.0</version> |
||
4 | <classes>
|
||
5 | <class name="CSVStoreParameters"> |
||
6 | <extends>
|
||
7 | <class namespace="dal" name="ProviderParameters"/> |
||
8 | </extends>
|
||
9 | <description>Store the parameters need to open a CSV file</description> |
||
10 | <fields>
|
||
11 | <field name="File" type="file" mandatory="true" group="Basic"> |
||
12 | <description>CSV file</description> |
||
13 | </field>
|
||
14 | 41006 | jjdelcerro | <field name="profile" type="string" mandatory="true" defaultValue="EXCEL_NORTH_EUROPE_PREFERENCE" group="Basic"> |
15 | 40845 | jjdelcerro | <description>Predefined formats</description> |
16 | <availableValues>
|
||
17 | 41006 | jjdelcerro | <value label="Standard (double quote, comma and crlf)">STANDARD_PREFERENCE</value> |
18 | <value label="Excel (double quote, comma and lf)">EXCEL_PREFERENCE</value> |
||
19 | <value label="Excel North Europe (double quote, semicolon and lf)">EXCEL_NORTH_EUROPE_PREFERENCE</value> |
||
20 | <value label="Tabs (double quote, tabs and lf)">TAB_PREFERENCE</value> |
||
21 | 40845 | jjdelcerro | </availableValues>
|
22 | </field>
|
||
23 | 41006 | jjdelcerro | <field name="quotePolicy" type="string" mandatory="false" defaultValue="NormalQuoteMode" group="Basic"> |
24 | 40845 | jjdelcerro | <description>Sets the output quote policy of the format to the specified value. </description> |
25 | <availableValues>
|
||
26 | 41006 | jjdelcerro | <value label="Quote all">AlwaysQuoteMode</value> |
27 | <value label="Quotes fields which contain special characters">NormalQuoteMode</value> |
||
28 | 40845 | jjdelcerro | </availableValues>
|
29 | </field>
|
||
30 | 41006 | jjdelcerro | <field name="recordSeparator" type="string" mandatory="false" defaultValue="" group="Advanced"> |
31 | 40845 | jjdelcerro | <description>Sets the record separator of the format to the specified character.</description> |
32 | </field>
|
||
33 | 41006 | jjdelcerro | <field name="delimiter" type="string" mandatory="false" defaultValue="" group="Advanced"> |
34 | 40845 | jjdelcerro | <description>Sets the field delimiter of the format to the specified character.</description> |
35 | </field>
|
||
36 | 41006 | jjdelcerro | <field name="quoteCharacter" type="string" mandatory="false" defaultValue="" group="Advanced"> |
37 | 40845 | jjdelcerro | <description>Sets the quoteChar of the format to the specified character.</description> |
38 | </field>
|
||
39 | 41006 | jjdelcerro | <field name="commentStartMarker" type="string" mandatory="false" defaultValue="" group="Advanced"> |
40 | 40845 | jjdelcerro | <description>Sets the comment start marker of the format to the specified character.</description> |
41 | </field>
|
||
42 | 41006 | jjdelcerro | <field name="escapeCharacter" type="string" mandatory="false" defaultValue="" group="Advanced"> |
43 | 40845 | jjdelcerro | <description>Sets the escape character of the format to the specified character</description> |
44 | </field>
|
||
45 | 41006 | jjdelcerro | <field name="header" type="string" mandatory="false" defaultValue="" group="Advanced"> |
46 | 40845 | jjdelcerro | <description>The header or empty if parsed automatically</description> |
47 | </field>
|
||
48 | 41006 | jjdelcerro | <field name="surroundingSpacesNeedQuotes" type="boolean" mandatory="false" defaultValue="false" group="Advanced"> |
49 | <description>the surroundingSpacesNeedQuotes flag.</description> |
||
50 | 40845 | jjdelcerro | </field>
|
51 | 41006 | jjdelcerro | <field name="CRS" type="crs" mandatory="false" group="Advanced"> |
52 | 40845 | jjdelcerro | <description>The coordinate reference system used in this CSV file if contains geometries</description> |
53 | </field>
|
||
54 | 41006 | jjdelcerro | <field name="fieldtypes" type="string" mandatory="false" defaultValue="" group="Advanced"> |
55 | 40845 | jjdelcerro | <description>Comma separated list of field types. If empty strings are assumed (Eg: integer,string,double,boolean,float,geometry).</description> |
56 | </field>
|
||
57 | 41006 | jjdelcerro | <field name="charset" type="string" mandatory="false" defaultValue="UTF-8" group="Advanced"> |
58 | 40845 | jjdelcerro | <description>Sets the String to use for null values for output.</description> |
59 | </field>
|
||
60 | 41006 | jjdelcerro | <field name="point" type="string" mandatory="false" defaultValue="" group="Advanced"> |
61 | <description>This field allow to add a Geometry column to the table. It is a list of field names separated by commas used as dimensions for the attribute GEOM of type point to add to the table.</description> |
||
62 | </field>
|
||
63 | 41059 | jjdelcerro | <field name="ignoreErrors" type="boolean" mandatory="false" defaultValue="false" group="Advanced"> |
64 | <description>Set to true to ignore errors during load of data.</description> |
||
65 | </field>
|
||
66 | 40845 | jjdelcerro | </fields>
|
67 | </class>
|
||
68 | </classes>
|
||
69 | </definitions> |