Package com.microstrategy.web.transform
Class PrettyPrintTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.PrettyPrintTransform
-
- All Implemented Interfaces:
Transform
public class PrettyPrintTransform extends AbstractTransform
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Constructor Summary
Constructors Constructor Description PrettyPrintTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns a textual description of the transform.java.lang.Class
getSupportedBeanType()
Returns a root class/interface supported by this transform.void
transform(Transformable data, MarkupOutput transOut)
Transforms the data object and appends result to the transOut.-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
-
-
-
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 throwntransOut
- 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.
-
-