|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.extensions.markup.html.repeater.data.table.export.AbstractDataExporter
public abstract class AbstractDataExporter
An abstract helper implementation of IDataExporter.
| Constructor Summary | |
|---|---|
AbstractDataExporter(IModel<String> dataFormatNameModel,
String contentType,
String fileNameExtension)
Creates a new instance with the data format name model, content type and file name extensions provided. |
|
| Method Summary | |
|---|---|
String |
getContentType()
Returns the MIME content type of the export data type. |
IModel<String> |
getDataFormatNameModel()
Returns a model of the exported data format name. |
String |
getFileNameExtension()
Returns the file name extensions for the exported data, without the ".". |
AbstractDataExporter |
setContentType(String contentType)
Sets the MIME contentType for the data export format. |
AbstractDataExporter |
setDataFormatNameModel(IModel<String> dataFormatNameModel)
Sets the data format name model. |
AbstractDataExporter |
setFileNameExtension(String fileNameExtension)
Sets the file name extension to be used in the exported file name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.wicket.extensions.markup.html.repeater.data.table.export.IDataExporter |
|---|
exportData |
| Constructor Detail |
|---|
public AbstractDataExporter(IModel<String> dataFormatNameModel,
String contentType,
String fileNameExtension)
dataFormatNameModel - The model of the exported data format name.contentType - The MIME content type of the exported data type.fileNameExtension - The file name extensions to use in the file name for the exported data.| Method Detail |
|---|
public IModel<String> getDataFormatNameModel()
ExportToolbar.
getDataFormatNameModel in interface IDataExporterpublic String getContentType()
getContentType in interface IDataExporterpublic String getFileNameExtension()
getFileNameExtension in interface IDataExporterpublic AbstractDataExporter setContentType(String contentType)
contentType - The MIME contentType for the data export format.
this, for chaining.public AbstractDataExporter setDataFormatNameModel(IModel<String> dataFormatNameModel)
dataFormatNameModel - the data format name model.
this, for chaining.public AbstractDataExporter setFileNameExtension(String fileNameExtension)
fileNameExtension - the file name extension to be used in the exported file name.
this, for chaining.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||