Interface MacroBody
-
- All Known Implementing Classes:
PlainTextMacroBody
,RichTextMacroBody
public interface MacroBody
A type to represent macro bodies.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBody()
Streamable
getBodyStream()
Streamable
getStorageBodyStream()
Streamable
getTransformedBodyStream()
-
-
-
Method Detail
-
getBodyStream
Streamable getBodyStream()
- Returns:
- the macro body as a {code Streamable}. May be transformed, if that is the required format.
- See Also:
getStorageBodyStream()
,getTransformedBodyStream()
,RequiresFormat
-
getBody
String getBody()
- Returns:
- the macro body as a string. May be transformed, if that is the required format.
- See Also:
getStorageBodyStream()
,getTransformedBodyStream()
,RequiresFormat
-
getTransformedBodyStream
Streamable getTransformedBodyStream()
- Returns:
- the macro body, transformed by the current pipeline (if transformation was enabled). Can be null.
- Since:
- 5.6
-
getStorageBodyStream
Streamable getStorageBodyStream()
- Returns:
- the storage format of the macro body, without any transforms applied.
- Since:
- 5.6
-
-