Class MobileGraphXMLTransform

  • All Implemented Interfaces:
    Transform

    public class MobileGraphXMLTransform
    extends AbstractReportXMLTransform
    MobileGraphXMLTransform is a report transform that generates a simplified version of the report xml.
    • Field Detail

      • _renderReportDataListNode

        public FormalParameter _renderReportDataListNode
        Whether to render the root node (report_data_list)
        Default value: true
      • _renderMetricNumberFormattingOnly

        public FormalParameter _renderMetricNumberFormattingOnly
        Formal parameter that determines whether only the metric values have 'style' associated with them and only the FormattingNumber property set is included in the 'styles' section for these metric styles. Default value : true
        Since:
        MicroStrategy Web 8.1.0
      • _renderSubtotals

        public FormalParameter _renderSubtotals
        Since:
        MicroStrategy Web 8.1.1
      • _renderPagebyInfo

        public FormalParameter _renderPagebyInfo
        Whether to render page by info
        Default value: true
      • FP_RENDER_PAGEBY_INFO

        public static final java.lang.String FP_RENDER_PAGEBY_INFO
        See Also:
        Constant Field Values
      • _renderStyles

        public FormalParameter _renderStyles
        Whether to render styles
        Default value: true
      • FP_RENDER_STYLES

        public static final java.lang.String FP_RENDER_STYLES
        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_INCLUDE_MD_PROPERTIES

        public static final java.lang.String FP_INCLUDE_MD_PROPERTIES
        See Also:
        Constant Field Values
    • Constructor Detail

      • MobileGraphXMLTransform

        public MobileGraphXMLTransform()
    • Method Detail

      • getDescriptor

        protected java.lang.String getDescriptor​(int key)

        Get the descriptor for the given key.

        By default this method appends the prefix mstrWeb. to the key to find the resources in the Messages bundle. To find a descriptor for a specific key you might use getDescriptor(String).

        If a descriptor is not found for the given key it returns [na]
        Parameters:
        key - input key as an int, for example, 1
        Returns:
        descriptor as a String corresponding to the key sent in as parameter, for example, Home
      • getDescriptor

        protected java.lang.String getDescriptor​(java.lang.String key)

        Get the descriptor for the given key.

        The key is searched exactly as given in the Messages bundle.

        If a descriptor is not found for the given key it returns [na]
        Parameters:
        key - input key as a String, for example, mstrWeb.1 *
        Returns:
        descriptor as a String corresponding to the key sent in as parameter, for example, Home.
        Since:
        MicroStrategy Web 8.0.0
      • renderProperties

        protected void renderProperties​(Tag reportDataTag)
      • addVisPropsProperty

        protected void addVisPropsProperty​(Tag prsTag)
      • addAttributeFormsToObjectsTag

        protected void addAttributeFormsToObjectsTag​(Tag parentTag,
                                                     WebTemplateAttribute attTemplateUnit,
                                                     com.microstrategy.web.app.transforms.AbstractSimplifiedReportXMLTransform.RefIDCounter rfdCounter)
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Transform
        Returns a textual description of the transform.
        Returns:
        The textual description of the transform.
      • addAttributeFormToObjectsTag

        protected Tag addAttributeFormToObjectsTag​(Tag parentTag,
                                                   java.lang.String id,
                                                   java.lang.String name,
                                                   int rfd,
                                                   java.lang.String parentObjectId,
                                                   int baseFormType,
                                                   boolean isIDForm)
      • getTagsFactory

        public TagsFactory getTagsFactory()
        Convenience method for obtaining an instance of the TagsFactory class.
        Returns:
        a TagsFactory instance to use for generating Tag instances
      • getPropSetId

        protected int getPropSetId​(java.lang.String pSetName)