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 void
dumpInternalParamValues()
static void
dumpTransform(Transform t)
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
-
dumpInternalParamValues
public void dumpInternalParamValues()
-
dumpTransform
public static void dumpTransform(Transform t)
-
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.
-
-