public class

IPhoneReportDataXMLTransform

extends ReportXMLTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.app.transforms.AbstractBasicReportTransform
       ↳ com.microstrategy.web.app.transforms.AbstractReportXMLTransform
         ↳ com.microstrategy.web.app.transforms.ReportXMLTransform
           ↳ com.microstrategy.web.app.transforms.IPhoneReportDataXMLTransform
Known Direct Subclasses

Summary

Constants
int DRILLING_TYPE_LINKED
int DRILLING_TYPE_NO_DRILLING
int DRILLING_TYPE_REGULAR
String FP_NUMBER_SEPARATOR
String FP_RENDER_DATE_FORMATS
String FP_RENDER_DRILLING_INFO
String FP_RENDER_IF_INFO
String FP_RENDER_METRIC_VALUES_FORMATTED
String FP_RENDER_METRIC_VALUES_UNFORMATTED
String XML_ATT_NAME_NUMBER_SEPARATOR
String XML_ATT_NAME_SEPARATOR
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.ReportXMLTransform
Fields
protected FormalParameter _drillRetainParent This is the FP which tells whether to retain the parent while drilling.
protected FormalParameter _drillRetainThresholds This is the FP which tells whether to retain the thresholds while drilling.
public FormalParameter _numberSeparator The separator used on the value("v") attribute of the "cols", "rows" and "values" XML nodes Default value: ^
public FormalParameter _renderDateFormats Whether to render date formats (fmts node)
Default value: false
public FormalParameter _renderDrillingInfo Whether to render drilling info
Default value: false
public FormalParameter _renderIncrementalFetchInfo Whether to render incremental fetch info
Default value: false
public FormalParameter _renderMetricValuesFormatted Whether to render the metric values formatted on the "fv" XML attribute (i.e.
public FormalParameter _renderMetricValuesUnformatted Whether to render the metric values unformatted on the "v" XML attribute (i.e.
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.ReportXMLTransform
From class com.microstrategy.web.app.transforms.AbstractBasicReportTransform
Public Constructors
IPhoneReportDataXMLTransform()
Public Methods
String getDescription()
void transform(Transformable data, MarkupOutput out)
static boolean validateTemplate(WebTemplate template, ViewBean vb, AppContext appContext)
Protected Methods
void addVisPropsProperty(Tag prsTag)
boolean doRenderSecondaryDataProviders()
static boolean hasAtLeastOneAttributeOnRows(WebTemplate template)
void initGridData()
boolean isValidTemplate()
void renderDefinition(Tag reportDataTag)
void renderDrillInformation(Tag reportDataTag)
void renderHeaders(Tag tag)
void renderProperties(Tag reportDataTag)
void renderRawData(Tag reportDataTag)
void renderValues(Tag reportDataTag)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.ReportXMLTransform
From class com.microstrategy.web.app.transforms.AbstractReportXMLTransform
From class com.microstrategy.web.app.transforms.AbstractBasicReportTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.transform.Transform

Constants

public static final int DRILLING_TYPE_LINKED

Constant Value: 1 (0x00000001)

public static final int DRILLING_TYPE_NO_DRILLING

Constant Value: -1 (0xffffffff)

public static final int DRILLING_TYPE_REGULAR

Constant Value: 0 (0x00000000)

public static final String FP_NUMBER_SEPARATOR

Constant Value: "numberSeparator"

public static final String FP_RENDER_DATE_FORMATS

Constant Value: "renderDateFormats"

public static final String FP_RENDER_DRILLING_INFO

Constant Value: "renderDrillingInfo"

public static final String FP_RENDER_IF_INFO

Constant Value: "renderIncrementalFetchInfo"

public static final String FP_RENDER_METRIC_VALUES_FORMATTED

Constant Value: "renderMetricValuesFormatted"

public static final String FP_RENDER_METRIC_VALUES_UNFORMATTED

Constant Value: "renderMetricValuesUnformatted"

public static final String XML_ATT_NAME_NUMBER_SEPARATOR

Constant Value: "nsp"

public static final String XML_ATT_NAME_SEPARATOR

Constant Value: "sp"

Fields

protected FormalParameter _drillRetainParent

This is the FP which tells whether to retain the parent while drilling.
If a value is specified here, then the drill Preference on the preference page for the same is ignored.
Allowed Values:
PreferencesDrillTransform.DRILL_OPTION_DRILL_ANYWHERE = "1";
PreferencesDrillTransform.DRILL_OPTION_DRILL_HYPERLINKS = "2";
PreferencesDrillTransform.DRILL_OPTION_SIMPLE_DRILL = "3";
PreferencesDrillTransform.DRILL_OPTION_NO_DRILL = "4";
PreferencesDrillTransform.DRILL_OPTION_REPORT_DEFINITION = "5";

protected FormalParameter _drillRetainThresholds

This is the FP which tells whether to retain the thresholds while drilling. If a value is specified here, then the drill Preference on the preference page for the same is ignored. This value can be 1(to retain), 0(to not retain) or 2(to use the drill path for the value). If blank the drill preference is used. Allowed Values:
PreferencesDrillTransform.DRILL_OPTION_RETAIN_THRESHOLD_YES = "1";
PreferencesDrillTransform.DRILL_OPTION_RETAIN_THRESHOLD_NO = "2";
PreferencesDrillTransform.DRILL_OPTION_RETAIN_THRESHOLD_REPORT_DEFINITION = "3";

public FormalParameter _numberSeparator

The separator used on the value("v") attribute of the "cols", "rows" and "values" XML nodes Default value: ^

public FormalParameter _renderDateFormats

Whether to render date formats (fmts node)
Default value: false

public FormalParameter _renderDrillingInfo

Whether to render drilling info
Default value: false

public FormalParameter _renderIncrementalFetchInfo

Whether to render incremental fetch info
Default value: false

public FormalParameter _renderMetricValuesFormatted

Whether to render the metric values formatted on the "fv" XML attribute (i.e. "$1,000.00")
Default value: false

public FormalParameter _renderMetricValuesUnformatted

Whether to render the metric values unformatted on the "v" XML attribute (i.e. "1000")
Default value: false

Public Constructors

public IPhoneReportDataXMLTransform ()

Public Methods

public String getDescription ()

public void transform (Transformable data, MarkupOutput out)

public static boolean validateTemplate (WebTemplate template, ViewBean vb, AppContext appContext)

Protected Methods

protected void addVisPropsProperty (Tag prsTag)

protected boolean doRenderSecondaryDataProviders ()

protected static boolean hasAtLeastOneAttributeOnRows (WebTemplate template)

Returns
  • whether the template has at least one attribute on rows and nothing else.

protected void initGridData ()

protected boolean isValidTemplate ()

protected void renderDefinition (Tag reportDataTag)

protected void renderDrillInformation (Tag reportDataTag)

protected void renderHeaders (Tag tag)

protected void renderProperties (Tag reportDataTag)

protected void renderRawData (Tag reportDataTag)

protected void renderValues (Tag reportDataTag)