|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.stat.RawDataExportHandler
com.jalios.jcms.stat.XmlRawDataExportHandler
public class XmlRawDataExportHandler
Export data to XML format
| Field Summary |
|---|
| Fields inherited from class com.jalios.jcms.stat.RawDataExportHandler |
|---|
filenameBase, key, out, realOutput, REVISION, useCompressStream, userLang |
| Constructor Summary | |
|---|---|
XmlRawDataExportHandler()
|
|
| Method Summary | |
|---|---|
String |
convertField(String name,
Class<?> clazz,
Set<?> valueSet,
String extraFieldName,
String userLang)
convert field to handler data |
List<String> |
duplicateHeader(String string,
Class<?> clazz)
indicate if a field have other representation (like member have id and also a name) |
void |
end(OutputStream out)
Process end of export (after any write) |
void |
exportFooter(OutputStream out,
String[] columnNames)
export footer of data |
void |
exportHeader(OutputStream out,
String[] columnNames)
Export header of data |
void |
exportLine(OutputStream out,
String[] columnNames)
Export a line of data |
String |
getConfigurationFragmentPath()
indicates the path of the jsp fragment with driver configuration fields |
String |
getContentType()
|
String |
getFileExtension()
|
void |
init(OutputStream out)
Initialise the handler (before any write) |
| Methods inherited from class com.jalios.jcms.stat.RawDataExportHandler |
|---|
clone, getFilenameBase, getKey, getOut, getUserLang, isUseCompressStream, setFilenameBase, setKey, setOut, setParameters, setUseCompressStream, setUserLang, validateParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRawDataExportHandler()
| Method Detail |
|---|
public String convertField(String name,
Class<?> clazz,
Set<?> valueSet,
String extraFieldName,
String userLang)
RawDataExportHandler
convertField 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 language
public List<String> duplicateHeader(String string,
Class<?> clazz)
RawDataExportHandler
duplicateHeader 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 name
public void init(OutputStream out)
throws IOException
RawDataExportHandler
init in class RawDataExportHandlerout - outputstream associated to this handler
IOException
public void exportFooter(OutputStream out,
String[] columnNames)
throws IOException
RawDataExportHandler
exportFooter in class RawDataExportHandlerout - outputstream associated to this handlercolumnNames - footer data
IOException
public void exportHeader(OutputStream out,
String[] columnNames)
throws IOException
RawDataExportHandler
exportHeader in class RawDataExportHandlerout - outputstream associated to this handlercolumnNames - the names of columns
IOException
public void exportLine(OutputStream out,
String[] columnNames)
throws IOException
RawDataExportHandler
exportLine in class RawDataExportHandlerout - outputstream associated to this handlercolumnNames - the data array
IOExceptionpublic String getConfigurationFragmentPath()
RawDataExportHandler
getConfigurationFragmentPath in class RawDataExportHandler
public void end(OutputStream out)
throws IOException
RawDataExportHandler
end in class RawDataExportHandlerout - outputstream associated to this handler
IOExceptionpublic String getFileExtension()
getFileExtension in class RawDataExportHandlerpublic String getContentType()
getContentType in class RawDataExportHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||