Class MobilePreambleXMLTransform
- 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.MobilePreambleXMLTransform
-
- All Implemented Interfaces:
Transform
public class MobilePreambleXMLTransform extends AbstractReportXMLTransform
- Since:
- MicroStrategy Web 8.1.2
-
-
Field Summary
Fields Modifier and Type Field Description FormalParameter_compressionVersionFormalParameter_pageByXmlFormal parameter that contains the page by information in the form of an XML.static java.lang.StringFP_COMPRESSION_VERSIONstatic java.lang.StringFP_INCLUDE_MD_PROPERTIESstatic java.lang.StringFP_PAGE_BY_XMLstatic intGZIP_COMPRESSIONstatic intNO_COMPRESSION-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractBasicReportTransform
_bean, _rb, _rwb, _vb
-
-
Constructor Summary
Constructors Constructor Description MobilePreambleXMLTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAttributeFormsToObjectsTag(Tag parentTag, WebTemplateAttribute attTemplateUnit, com.microstrategy.web.app.transforms.AbstractSimplifiedReportXMLTransform.RefIDCounter rfdCounter)protected TagaddAttributeFormToObjectsTag(Tag parentTag, java.lang.String id, java.lang.String name, int rfd, java.lang.String parentObjectId, int baseFormType, boolean isIDForm)java.lang.StringgetDescription()Returns a textual description of the transform.protected intgetPropSetId(java.lang.String pSetName)TagsFactorygetTagsFactory()Convenience method for obtaining an instance of theTagsFactoryclass.protected booleanisMergeRowHeaders()voidrenderXml(MarkupOutput out)Renders the report's XML.-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportXMLTransform
encodeXMLText, getWebTemplate, initGridData, render
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractBasicReportTransform
addFormalParameter, getElemsMapHelper, getGraphBean, getGridData, getHyperLinkHelper, getReportBean, getRWBean, getSupportedBeanType, getViewBean, getWebGridData, getWebReportGrid, initBeans, isDesignMode, isFeatureAvailable, isReport, isTrue, supports, transform
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports
-
-
-
-
Field Detail
-
_compressionVersion
public FormalParameter _compressionVersion
-
FP_COMPRESSION_VERSION
public static final java.lang.String FP_COMPRESSION_VERSION
- See Also:
- Constant Field Values
-
NO_COMPRESSION
public static final int NO_COMPRESSION
- See Also:
- Constant Field Values
-
GZIP_COMPRESSION
public static final int GZIP_COMPRESSION
- See Also:
- Constant Field Values
-
_pageByXml
public FormalParameter _pageByXml
Formal parameter that contains the page by information in the form of an XML. When this formal parameter is set, this information is also included in the output of the transform. Also, the rows are re-ordered such that the rows corresponding to the current page by elements are rendered first and then the rest of the rows The XML structure is as follows
<pageby cn="2">
<pageByUnit id="" unitName="" type="" pos="1" ceid="" cename=""/>
<pageByUnit id="" unitName="" type="" pos="1" ceid="" cename=""/>
...
</pageby>
-
FP_PAGE_BY_XML
public static final java.lang.String FP_PAGE_BY_XML
- See Also:
- Constant Field Values
-
FP_INCLUDE_MD_PROPERTIES
public static final java.lang.String FP_INCLUDE_MD_PROPERTIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
renderXml
public void renderXml(MarkupOutput out)
Description copied from class:AbstractReportXMLTransformRenders the report's XML.- Specified by:
renderXmlin classAbstractReportXMLTransform
-
getDescription
public java.lang.String getDescription()
Description copied from interface:TransformReturns a textual description of the transform.- Returns:
- The textual description of the transform.
-
addAttributeFormsToObjectsTag
protected void addAttributeFormsToObjectsTag(Tag parentTag, WebTemplateAttribute attTemplateUnit, com.microstrategy.web.app.transforms.AbstractSimplifiedReportXMLTransform.RefIDCounter rfdCounter)
-
addAttributeFormToObjectsTag
protected Tag addAttributeFormToObjectsTag(Tag parentTag, java.lang.String id, java.lang.String name, int rfd, java.lang.String parentObjectId, int baseFormType, boolean isIDForm)
-
isMergeRowHeaders
protected boolean isMergeRowHeaders()
- Returns:
- whether the report has merge row headers on
-
getTagsFactory
public TagsFactory getTagsFactory()
Convenience method for obtaining an instance of theTagsFactoryclass.- Returns:
- a
TagsFactoryinstance to use for generatingTaginstances
-
getPropSetId
protected int getPropSetId(java.lang.String pSetName)
-
-