com.atlassian.confluence.content.render.xhtml.definition
Class PlainTextMacroBody
java.lang.Object
com.atlassian.confluence.content.render.xhtml.definition.PlainTextMacroBody
- All Implemented Interfaces:
- MacroBody
public class PlainTextMacroBody
- extends java.lang.Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PlainTextMacroBody
public PlainTextMacroBody(java.lang.String body)
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-2013 Atlassian. All Rights Reserved.