Class PlainTextMacroBody
- java.lang.Object
 - 
- com.atlassian.confluence.content.render.xhtml.definition.PlainTextMacroBody
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PlainTextMacroBody(String body) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetBody()StreamablegetBodyStream()StreamablegetStorageBodyStream()StreamablegetTransformedBodyStream()inthashCode()StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
PlainTextMacroBody
public PlainTextMacroBody(String body)
 
 - 
 
- 
Method Detail
- 
getBodyStream
public Streamable getBodyStream()
- Specified by:
 getBodyStreamin interfaceMacroBody- Returns:
 - the macro body as a {code Streamable}. May be transformed, if that is the required format.
 - See Also:
 MacroBody.getStorageBodyStream(),MacroBody.getTransformedBodyStream(),RequiresFormat
 
- 
getBody
public String getBody()
- Specified by:
 getBodyin interfaceMacroBody- Returns:
 - the macro body as a string. May be transformed, if that is the required format.
 - See Also:
 MacroBody.getStorageBodyStream(),MacroBody.getTransformedBodyStream(),RequiresFormat
 
- 
getTransformedBodyStream
public Streamable getTransformedBodyStream()
- Specified by:
 getTransformedBodyStreamin interfaceMacroBody- Returns:
 - the macro body, transformed by the current pipeline (if transformation was enabled). Can be null.
 
 
- 
getStorageBodyStream
public Streamable getStorageBodyStream()
- Specified by:
 getStorageBodyStreamin interfaceMacroBody- Returns:
 - the storage format of the macro body, without any transforms applied.
 
 
 - 
 
 -