com.atlassian.confluence.macro
Class MacroDefinitionWikiMarkupSerializer
java.lang.Object
com.atlassian.confluence.macro.MacroDefinitionWikiMarkupSerializer
- All Implemented Interfaces:
- MacroDefinitionSerializer
public class MacroDefinitionWikiMarkupSerializer
- extends Object
- implements MacroDefinitionSerializer
Serializes a MacroDefinition
to string in wiki markup.
A MacroDefinition
with MacroDefinition.hasBody()
returning false
is serialized as a macro without an end tag.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacroDefinitionWikiMarkupSerializer
public MacroDefinitionWikiMarkupSerializer()
serialize
public String serialize(MacroDefinition macroDefinition)
- Specified by:
serialize
in interface MacroDefinitionSerializer
Copyright © 2003-2013 Atlassian. All Rights Reserved.