org.exoplatform.wiki.rendering.macro.section
Class SectionMacro

java.lang.Object
  extended by org.xwiki.rendering.macro.AbstractMacro<SectionMacroParameters>
      extended by org.exoplatform.wiki.rendering.macro.section.SectionMacro
All Implemented Interfaces:
Comparable<org.xwiki.rendering.macro.Macro<?>>, org.xwiki.component.phase.Initializable, org.xwiki.rendering.macro.Macro<SectionMacroParameters>

@Component(value="section")
public class SectionMacro
extends org.xwiki.rendering.macro.AbstractMacro<SectionMacroParameters>


Field Summary
 
Fields inherited from class org.xwiki.rendering.macro.AbstractMacro
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION
 
Constructor Summary
SectionMacro()
           
 
Method Summary
 List<org.xwiki.rendering.block.Block> execute(SectionMacroParameters parameters, String content, org.xwiki.rendering.transformation.MacroTransformationContext context)
           
 int getPriority()
           
protected  org.xwiki.rendering.parser.Parser getSyntaxParser(String syntaxId)
           
 boolean supportsInlineMode()
           
 
Methods inherited from class org.xwiki.rendering.macro.AbstractMacro
compareTo, getDescriptor, initialize, setDefaultCategory, setDescriptor, setPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectionMacro

public SectionMacro()
Method Detail

execute

public List<org.xwiki.rendering.block.Block> execute(SectionMacroParameters parameters,
                                                     String content,
                                                     org.xwiki.rendering.transformation.MacroTransformationContext context)
                                              throws org.xwiki.rendering.macro.MacroExecutionException
Throws:
org.xwiki.rendering.macro.MacroExecutionException

getSyntaxParser

protected org.xwiki.rendering.parser.Parser getSyntaxParser(String syntaxId)
                                                     throws org.xwiki.rendering.macro.MacroExecutionException
Throws:
org.xwiki.rendering.macro.MacroExecutionException

supportsInlineMode

public boolean supportsInlineMode()

getPriority

public int getPriority()
Specified by:
getPriority in interface org.xwiki.rendering.macro.Macro<SectionMacroParameters>
Overrides:
getPriority in class org.xwiki.rendering.macro.AbstractMacro<SectionMacroParameters>


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.