public class WikiContentRendererHandler extends Object implements WikiContentHandler
| Constructor and Description |
|---|
WikiContentRendererHandler(MacroRendererComponent macroRendererComponent,
RenderContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMacro(StringBuffer buffer,
MacroTag macroTag,
String body)
Handle macro and output the result into the passed buffer.
|
void |
handleText(StringBuffer buffer,
String s)
Handle text, i.e.
|
public WikiContentRendererHandler(MacroRendererComponent macroRendererComponent, RenderContext context)
public void handleMacro(StringBuffer buffer, MacroTag macroTag, String body)
WikiContentHandlerbody.handleMacro in interface WikiContentHandlerbuffer - the buffer to output the resultmacroTag - a macro descriptor for the macro to be handled. Should have MacroTag.getEndTag()
set if there is a body.body - text between the start and end tagspublic void handleText(StringBuffer buffer, String s)
WikiContentHandlerhandleText in interface WikiContentHandlerCopyright © 2015 Atlassian. All rights reserved.