Package rife.cmf.transform
Interface TextContentTransformer
- All Superinterfaces:
ContentTransformer<String>
This interface defines the API that has to be implemented by classes that
are capable of transforming
text content data
after it's initially loaded.
The content attributes are provided to the transform method and can be used
to provide hints for the transformation.
- Since:
- 1.0
- See Also:
-
Method Summary
-
Method Details
-
transform
Transforms thetextcontent data and returns the transformed data as text.- Specified by:
transformin interfaceContentTransformer<String>- Parameters:
data- the text that has to be transformedattributes- a map of content attributes that can be used to provide hints or parameters for the transformation- Returns:
- the transformed text
- Since:
- 1.0
-