Package com.microstrategy.web.transform
Class SampleTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.SampleTransform
-
- All Implemented Interfaces:
Transform
public class SampleTransform extends AbstractTransform
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Constructor Summary
Constructors Constructor Description SampleTransform()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddumpInternalParamValues()static voiddumpTransform(Transform t)java.lang.StringgetDescription()Returns a textual description of the transform.java.lang.ClassgetSupportedBeanType()Returns a root class/interface supported by this transform.voidtransform(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
-
dumpInternalParamValues
public void dumpInternalParamValues()
-
dumpTransform
public static void dumpTransform(Transform t)
-
getDescription
public java.lang.String getDescription()
Description copied from interface:TransformReturns 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:TransformTransforms 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:TransformReturns 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.
-
-