com.atlassian.confluence.macro
Class MacroDefinitionWikiMarkupSerializer

java.lang.Object
  extended by 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.


Constructor Summary
MacroDefinitionWikiMarkupSerializer()
           
 
Method Summary
 String serialize(MacroDefinition macroDefinition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroDefinitionWikiMarkupSerializer

public MacroDefinitionWikiMarkupSerializer()
Method Detail

serialize

public String serialize(MacroDefinition macroDefinition)
Specified by:
serialize in interface MacroDefinitionSerializer


Copyright © 2003-2013 Atlassian. All Rights Reserved.