Class PlainTextMacroBody
java.lang.Object
com.atlassian.confluence.content.render.xhtml.definition.PlainTextMacroBody
- All Implemented Interfaces:
MacroBody
Holds plain text and preserves white space.
When presented for use in the editor, HTML content will be escaped.
When presented for use in storage, the body will be wrapped in a CDATA section.
-
Constructor Details
-
PlainTextMacroBody
-
-
Method Details
-
getBodyStream
- Specified by:
getBodyStream
in interfaceMacroBody
- Returns:
- the macro body as a {code Streamable}. May be transformed, if that is the required format.
- See Also:
-
getBody
-
getTransformedBodyStream
- Specified by:
getTransformedBodyStream
in interfaceMacroBody
- Returns:
- the macro body, transformed by the current pipeline (if transformation was enabled). Can be null.
-
getStorageBodyStream
- Specified by:
getStorageBodyStream
in interfaceMacroBody
- Returns:
- the storage format of the macro body, without any transforms applied.
-
toString
-
equals
-
hashCode
public int hashCode()
-