Class XMLExporter
- java.lang.Object
 - 
- org.neotropic.util.visual.exporters.AbstractFormatter
 - 
- org.neotropic.util.visual.exporters.XMLExporter
 
 
 
- 
public class XMLExporter extends AbstractFormatter
Implements the logic necessary to export to XML- Author:
 - Orlando Paz <orlando.paz@kuwaiba.org>
 
 
- 
- 
Constructor Summary
Constructors Constructor Description XMLExporter(TranslationService ts) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]format(String[][] result)The export action.StringgetDisplayName()To be used as label in the formats combo boxStringgetExtension()Gets the file extension 
 - 
 
- 
- 
Constructor Detail
- 
XMLExporter
public XMLExporter(TranslationService ts)
 
 - 
 
- 
Method Detail
- 
getDisplayName
public String getDisplayName()
Description copied from class:AbstractFormatterTo be used as label in the formats combo box- Specified by:
 getDisplayNamein classAbstractFormatter- Returns:
 - the name to be displayed
 
 
- 
getExtension
public String getExtension()
Description copied from class:AbstractFormatterGets the file extension- Specified by:
 getExtensionin classAbstractFormatter- Returns:
 - the file extension (including the dot)
 
 
- 
format
public byte[] format(String[][] result) throws IOException
Description copied from class:AbstractFormatterThe export action.- Specified by:
 formatin classAbstractFormatter- Returns:
 - the byte array with the formated data
 - Throws:
 IOException
 
 - 
 
 -