|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.dataselectors.export.ExportSelectorAdapterFactory
public class ExportSelectorAdapterFactory
This class is a factory of ExportSelectorInterface
and
OLAPExportSelectorInterface
instances.
Constructor Summary | |
---|---|
ExportSelectorAdapterFactory()
|
Method Summary | |
---|---|
static ExportSelectorInterface |
getAdapter(java.lang.Object model)
Returns an instance of an ExportSelectorInterface depending on the type of the received model. |
static OLAPExportSelectorInterface |
getOLAPAdapter(java.lang.Object model)
Returns an instance of OLAPExportSelectorInterface . |
static ExportSelectorInterface |
getRelationalAdapter(java.lang.Object model)
Returns an instance of ExportSelectorInterface . |
Constructor Detail |
---|
public ExportSelectorAdapterFactory()
Method Detail |
---|
public static ExportSelectorInterface getRelationalAdapter(java.lang.Object model)
ExportSelectorInterface
.
model
- the model containing the data to be exported.
ExportSelectorInterface
.public static OLAPExportSelectorInterface getOLAPAdapter(java.lang.Object model)
OLAPExportSelectorInterface
.
model
- the model containing the data to be exported.
OLAPExportSelectorInterface
.public static ExportSelectorInterface getAdapter(java.lang.Object model)
ExportSelectorInterface
depending on the type of the received model.
model
- the model containing the data to be exported.
It can be either a TableModel
or a OLAPDataSetInterface
.
ExportSelectorInterface
.
An ExportSelector adapter to non multidimensional (relational) data is returned if the model is a TableModel
.
An ExportSelector adapter to multidimensional data is returned if the model is a OLAPDataSetInterface
.
Null is returned if the model is null of if it's neither a TableModel
nor a OLAPDataSetInterface
.BaseExportSelectorAdapter
,
OLAPExportSelectorAdapter
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |