Revision 30620 branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/persistence/xml/ZipXMLPersistenceManager.java
ZipXMLPersistenceManager.java | ||
---|---|---|
182 | 182 |
private void writeClassDefinitionSchema(PrintWriter printer, |
183 | 183 |
String className, DynStruct definition) { |
184 | 184 |
|
185 |
printer.println(MessageFormat.format(
|
|
185 |
printer.print(MessageFormat.format( |
|
186 | 186 |
ZipXMLSchemaConstants.XSD_START_CLASS_VALUE, |
187 | 187 |
new Object[] { className })); |
188 | 188 |
|
... | ... | |
294 | 294 |
} |
295 | 295 |
|
296 | 296 |
if (field.isMandatory()) { |
297 |
printer.println(MessageFormat.format(
|
|
297 |
printer.print(MessageFormat.format( |
|
298 | 298 |
ZipXMLSchemaConstants.XSD_ATTRUBUTE_MANDATORY_VALUE, |
299 | 299 |
new String[] { field.getName(), typeId })); |
300 | 300 |
} else { |
301 |
printer.println(MessageFormat.format(
|
|
301 |
printer.print(MessageFormat.format( |
|
302 | 302 |
ZipXMLSchemaConstants.XSD_ATTRUBUTE_VALUE, |
303 | 303 |
new String[] { field.getName(), typeId })); |
304 | 304 |
} |
Also available in: Unified diff