com.atlassian.confluence.content.render.xhtml.definition
Class RichTextMacroBody

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.definition.RichTextMacroBody
All Implemented Interfaces:
MacroBody

public class RichTextMacroBody
extends java.lang.Object
implements MacroBody

Macro body that contains rich text or HTML markup.


Constructor Summary
RichTextMacroBody(Streamable body)
           
RichTextMacroBody(java.lang.String body)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getBody()
           
 Streamable getBodyStream()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RichTextMacroBody

public RichTextMacroBody(java.lang.String body)

RichTextMacroBody

public RichTextMacroBody(Streamable body)
Method Detail

getBodyStream

public Streamable getBodyStream()
Specified by:
getBodyStream in interface MacroBody
Returns:
the macro body

getBody

public java.lang.String getBody()
Specified by:
getBody in interface MacroBody

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.