com.atlassian.confluence.content.render.xhtml.definition
Interface MacroBody

All Known Implementing Classes:
PlainTextMacroBody, RichTextMacroBody

public interface MacroBody

A type to represent macro bodies.

Since:
4.0

Method Summary
 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


Copyright © 2003–2015 Atlassian. All rights reserved.