org.exoplatform.wiki.rendering.macro.children
Class ChildrenMacro

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

@Component(value="children")
public class ChildrenMacro
extends org.xwiki.rendering.macro.AbstractMacro<ChildrenMacroParameters>


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
ChildrenMacro()
           
 
Method Summary
 void addBlock(org.xwiki.rendering.block.Block block, TreeNode node, org.xwiki.rendering.transformation.MacroTransformationContext context)
           
 List<org.xwiki.rendering.block.Block> execute(ChildrenMacroParameters parameters, String content, org.xwiki.rendering.transformation.MacroTransformationContext context)
           
 boolean supportsInlineMode()
           
 org.xwiki.rendering.block.ListItemBlock trankformToBlock(TreeNode node, org.xwiki.rendering.transformation.MacroTransformationContext context)
           
 
Methods inherited from class org.xwiki.rendering.macro.AbstractMacro
compareTo, getDescriptor, getPriority, initialize, setDefaultCategory, setDescriptor, setPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildrenMacro

public ChildrenMacro()
Method Detail

execute

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

trankformToBlock

public org.xwiki.rendering.block.ListItemBlock trankformToBlock(TreeNode node,
                                                                org.xwiki.rendering.transformation.MacroTransformationContext context)
                                                         throws Exception
Throws:
Exception

addBlock

public void addBlock(org.xwiki.rendering.block.Block block,
                     TreeNode node,
                     org.xwiki.rendering.transformation.MacroTransformationContext context)
              throws Exception
Throws:
Exception

supportsInlineMode

public boolean supportsInlineMode()


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.