public class XmlRawDataExportHandler extends RawDataExportHandler
filenameBase, key, out, realOutput, REVISION, useCompressStream, userLang| Constructor and Description |
|---|
XmlRawDataExportHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
convertField(java.lang.String name,
java.lang.Class<?> clazz,
java.util.Set<?> valueSet,
java.lang.String extraFieldName,
java.lang.String userLang)
convert field to handler data
|
java.util.List<java.lang.String> |
duplicateHeader(java.lang.String string,
java.lang.Class<?> clazz)
indicate if a field have other representation (like member have id and also a name)
|
void |
end(java.io.OutputStream out)
Process end of export (after any write)
|
void |
exportFooter(java.io.OutputStream out,
java.lang.String[] columnNames)
export footer of data
|
void |
exportHeader(java.io.OutputStream out,
java.lang.String[] columnNames)
Export header of data
|
void |
exportLine(java.io.OutputStream out,
java.lang.String[] columnNames)
Export a line of data
|
java.lang.String |
getConfigurationFragmentPath()
indicates the path of the jsp fragment with driver configuration fields
|
java.lang.String |
getContentType() |
java.lang.String |
getFileExtension() |
void |
init(java.io.OutputStream out)
Initialise the handler (before any write)
|
clone, getFilenameBase, getKey, getOut, getUserLang, isUseCompressStream, setFilenameBase, setKey, setOut, setParameters, setUseCompressStream, setUserLang, validateParameterspublic java.lang.String convertField(java.lang.String name,
java.lang.Class<?> clazz,
java.util.Set<?> valueSet,
java.lang.String extraFieldName,
java.lang.String userLang)
RawDataExportHandlerconvertField in class RawDataExportHandlername - the name of the field (see StatEntry.STAT_FIELDS)clazz - the class of the field (see StatEntry.STAT_FIELDS_CLASS)valueSet - the Set of valueextraFieldName - the duplicate field name if useduserLang - the current languagepublic java.util.List<java.lang.String> duplicateHeader(java.lang.String string,
java.lang.Class<?> clazz)
RawDataExportHandlerduplicateHeader in class RawDataExportHandlerstring - the name of the field (see StatEntry.STAT_FIELDS)clazz - the class of the field (see StatEntry.STAT_FIELDS_CLASS)List of other representation namepublic void init(java.io.OutputStream out)
throws java.io.IOException
RawDataExportHandlerinit in class RawDataExportHandlerout - outputstream associated to this handlerjava.io.IOExceptionpublic void exportFooter(java.io.OutputStream out,
java.lang.String[] columnNames)
throws java.io.IOException
RawDataExportHandlerexportFooter in class RawDataExportHandlerout - outputstream associated to this handlercolumnNames - footer datajava.io.IOExceptionpublic void exportHeader(java.io.OutputStream out,
java.lang.String[] columnNames)
throws java.io.IOException
RawDataExportHandlerexportHeader in class RawDataExportHandlerout - outputstream associated to this handlercolumnNames - the names of columnsjava.io.IOExceptionpublic void exportLine(java.io.OutputStream out,
java.lang.String[] columnNames)
throws java.io.IOException
RawDataExportHandlerexportLine in class RawDataExportHandlerout - outputstream associated to this handlercolumnNames - the data arrayjava.io.IOExceptionpublic java.lang.String getConfigurationFragmentPath()
RawDataExportHandlergetConfigurationFragmentPath in class RawDataExportHandlerpublic void end(java.io.OutputStream out)
throws java.io.IOException
RawDataExportHandlerend in class RawDataExportHandlerout - outputstream associated to this handlerjava.io.IOExceptionpublic java.lang.String getFileExtension()
getFileExtension in class RawDataExportHandlerpublic java.lang.String getContentType()
getContentType in class RawDataExportHandlerCopyright © 2001-2010 Jalios SA. All Rights Reserved.