org.exoplatform.wiki.rendering.macro.include
Class IncludePageMacro

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

@Component(value="includepage")
public class IncludePageMacro
extends org.xwiki.rendering.macro.AbstractMacro<IncludePageMacroParameters>

Created by The eXo Platform SAS Author : Lai Trung Hieu hieu.lai@exoplatform.com Jan 06, 2011


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
IncludePageMacro()
           
 
Method Summary
 List<org.xwiki.rendering.block.Block> execute(IncludePageMacroParameters parameters, String content, org.xwiki.rendering.transformation.MacroTransformationContext context)
           
 org.xwiki.component.manager.ComponentManager getComponentManager()
           
protected  org.exoplatform.wiki.rendering.RenderingService getRenderingService()
           
protected  org.xwiki.rendering.wiki.WikiModel getWikiModel(org.xwiki.rendering.transformation.MacroTransformationContext context)
           
protected  WikiService getWikiService()
           
 boolean supportsInlineMode()
           
 
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

IncludePageMacro

public IncludePageMacro()
Method Detail

execute

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

supportsInlineMode

public boolean supportsInlineMode()

getComponentManager

public org.xwiki.component.manager.ComponentManager getComponentManager()
Returns:
the component manager.

getWikiModel

protected org.xwiki.rendering.wiki.WikiModel getWikiModel(org.xwiki.rendering.transformation.MacroTransformationContext context)
                                                   throws org.xwiki.rendering.macro.MacroExecutionException
Throws:
org.xwiki.rendering.macro.MacroExecutionException

getRenderingService

protected org.exoplatform.wiki.rendering.RenderingService getRenderingService()

getWikiService

protected WikiService getWikiService()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.