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
 java.lang.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

java.lang.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-2014 Atlassian. All Rights Reserved.