Class PrettyPrintTransform

  • All Implemented Interfaces:
    Transform

    public class PrettyPrintTransform
    extends AbstractTransform
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • PrettyPrintTransform

        public PrettyPrintTransform()
    • Method Detail

      • 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.
      • transform

        public void transform​(Transformable data,
                              MarkupOutput transOut)
        Description copied from interface: Transform
        Transforms the data object and appends result to the transOut.
        Parameters:
        data - an object to transform. It must be of proper type supported by the concrete transform this method called on, or ClassCastExcetption will be thrown
        transOut - the MarkupOutput object where the transform result will be added.
      • getSupportedBeanType

        public java.lang.Class getSupportedBeanType()
        Description copied from interface: Transform
        Returns a root class/interface supported by this transform. We assume here that each transform supports only beans belonging to one class hierarchy.
        Returns:
        a root class/interface supported by this transform.