Revision 11235 trunk/libraries/libGPE/src/org/gvsig/gpe/GPEDefaults.java
GPEDefaults.java | ||
---|---|---|
48 | 48 |
* |
49 | 49 |
* $Id$ |
50 | 50 |
* $Log$ |
51 |
* Revision 1.3 2007-04-14 16:06:13 jorpiell |
|
51 |
* Revision 1.4 2007-04-18 11:03:36 jorpiell |
|
52 |
* Add the default schema property |
|
53 |
* |
|
54 |
* Revision 1.3 2007/04/14 16:06:13 jorpiell |
|
52 | 55 |
* The writer handler has been updated |
53 | 56 |
* |
54 | 57 |
* Revision 1.2 2007/04/12 17:06:42 jorpiell |
... | ... | |
66 | 69 |
*/ |
67 | 70 |
public class GPEDefaults { |
68 | 71 |
private static Properties properties = new Properties(); |
72 |
//Decimal sepatarator |
|
69 | 73 |
public static final String DECIMAL = "decimal"; |
74 |
//Coordinates separator. Ex: xSEPARATORy |
|
70 | 75 |
public static final String COORDINATES_SEPARATOR = "coordinatesSeparator"; |
76 |
//Set of tuples separator Ex: x1,y1SEPARATORx2,y2 |
|
71 | 77 |
public static final String TUPLES_SEPARATOR = "tuplesSeparator"; |
78 |
//Namespace prefix to create the XML files |
|
72 | 79 |
public static final String NAMESPACE_PREFIX = "namespacePrefix"; |
80 |
//Namespace URI to create the XML files |
|
73 | 81 |
public static final String NAMESPACE_URI= "namespaceURI"; |
82 |
//Default schema name |
|
83 |
public static final String XSD_SCHEMA_FILE = "schemaName"; |
|
84 |
//XML version = 1.0 |
|
74 | 85 |
public static final String XML_VERSION = "xmlVersion"; |
86 |
//XML encoding (UTF-8) by default |
|
75 | 87 |
public static final String XML_ENCODING = "xmlEncoding"; |
88 |
//Default output file |
|
76 | 89 |
public static final String DEFAULT_FILE_NAME = "defaultFileName"; |
77 | 90 |
|
91 |
|
|
92 |
|
|
78 | 93 |
static{ |
79 | 94 |
properties.put(DECIMAL, "."); |
80 | 95 |
properties.put(COORDINATES_SEPARATOR, ","); |
... | ... | |
84 | 99 |
properties.put(XML_VERSION, "1.0"); |
85 | 100 |
properties.put(XML_ENCODING, "UTF-8"); |
86 | 101 |
properties.put(DEFAULT_FILE_NAME, "output"); |
102 |
properties.put(XSD_SCHEMA_FILE, "cit.xsd"); |
|
87 | 103 |
} |
88 | 104 |
|
89 | 105 |
/** |
Also available in: Unified diff