com.atlassian.confluence.content.render.xhtml.migration
Class XhtmlMacroRendererComponent
java.lang.Object
   com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent
com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent
- All Implemented Interfaces: 
- com.atlassian.renderer.v2.components.RendererComponent
- public class XhtmlMacroRendererComponent 
- extends java.lang.Object- implements com.atlassian.renderer.v2.components.RendererComponent
| Field Summary | 
| static java.lang.String | MACRO_DECLARATION_POSITIONDefines where the position in which the macro is declared in wiki markup.
 | 
 
 
| Method Summary | 
|  java.lang.String | render(java.lang.String wiki,
       com.atlassian.renderer.RenderContext context)
 | 
|  boolean | shouldRender(com.atlassian.renderer.v2.RenderMode renderMode)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MACRO_DECLARATION_POSITION
public static final java.lang.String MACRO_DECLARATION_POSITION
- Defines where the position in which the macro is declared in wiki markup.
 
 If you have "foo {cheese} bar", the macro is declared "inline".
  
 If you have "foo/n{cheese}", the macro is not declared "inline".
 
 
- See Also:
- Constant Field Values
 
XhtmlMacroRendererComponent
public XhtmlMacroRendererComponent(com.atlassian.renderer.v2.macro.MacroManager v2MacroManager,
                                   MacroMigrationManager macroMigrationManager,
                                   Marshaller<MacroDefinition> macroMarshaller,
                                   MacroReplacementRendererRepository replacementRepository,
                                   MacroDefinitionDeserializer macroDefinitionWikiMarkupDeserializer)
shouldRender
public boolean shouldRender(com.atlassian.renderer.v2.RenderMode renderMode)
- 
- Specified by:
- shouldRenderin interface- com.atlassian.renderer.v2.components.RendererComponent
 
- 
 
render
public java.lang.String render(java.lang.String wiki,
                               com.atlassian.renderer.RenderContext context)
- 
- Specified by:
- renderin interface- com.atlassian.renderer.v2.components.RendererComponent
 
- 
 
Copyright © 2003-2013 Atlassian. All Rights Reserved.