|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.displaytag.export.ExportViewFactory
public final class ExportViewFactory
Factory for export views.
| Method Summary | |
|---|---|
static ExportViewFactory |
getInstance()
Returns the simgleton for this class. |
ExportView |
getView(MediaTypeEnum exportType,
TableModel tableModel,
boolean exportFullList,
boolean includeHeader,
boolean decorateValues)
returns an instance of export view associated with the given export type. |
void |
registerExportView(java.lang.String name,
java.lang.String viewClassName)
Register a new Export View, associated with a Media Type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ExportViewFactory getInstance()
public void registerExportView(java.lang.String name,
java.lang.String viewClassName)
name - media nameviewClassName - export view class name
public ExportView getView(MediaTypeEnum exportType,
TableModel tableModel,
boolean exportFullList,
boolean includeHeader,
boolean decorateValues)
exportType - MediaTypeEnumtableModel - table model containing data to renderexportFullList - should the complete list be exported?includeHeader - should header be included in export?decorateValues - should ouput be decorated?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||