Class ReportDisplayCellsFactory
- java.lang.Object
-
- com.microstrategy.web.app.transforms.ReportDisplayCellsFactory
-
public class ReportDisplayCellsFactory extends java.lang.Object
The ReportDisplayCellsFactory is introduced to generate a new cell instance of particular type if such an instance doesn't exist in the factory. Otherwise return the existing instance directly. Such a factory object can reduce the number of cell instances to the necessary minimum therefore save a lot of memory. This class is for the purpose of cell reuse.
See its useage onAbstractReportGridTransform
class.- Since:
- MicroStrategy Web 9.0.1
-
-
Constructor Summary
Constructors Constructor Description ReportDisplayCellsFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportGridDisplayCell
getCell(java.lang.String classID)
Get the corresponding instance given the cell implementation class name.
-
-
-
Method Detail
-
getCell
public ReportGridDisplayCell getCell(java.lang.String classID)
Get the corresponding instance given the cell implementation class name. If the instance exists in the hash map, return it directly. Otherwise create a new instance and store it into the hash map and return it.- Parameters:
classID
- String the cell implementation class name.
-
-