org.exoplatform.wiki.rendering.macro.excerpt
Class ExcerptMacro

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

@Component(value="excerpt")
public class ExcerptMacro
extends org.xwiki.rendering.macro.AbstractMacro<ExcerptMacroParameters>


Field Summary
static String EXCERPT_CLASS
           
static String MACRO_ID
           
 
Fields inherited from class org.xwiki.rendering.macro.AbstractMacro
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION
 
Constructor Summary
ExcerptMacro()
           
 
Method Summary
 List<org.xwiki.rendering.block.Block> execute(ExcerptMacroParameters parameters, String content, org.xwiki.rendering.transformation.MacroTransformationContext context)
           
 org.xwiki.component.manager.ComponentManager getComponentManager()
           
 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
 

Field Detail

EXCERPT_CLASS

public static final String EXCERPT_CLASS
See Also:
Constant Field Values

MACRO_ID

public static final String MACRO_ID
See Also:
Constant Field Values
Constructor Detail

ExcerptMacro

public ExcerptMacro()
Method Detail

execute

public List<org.xwiki.rendering.block.Block> execute(ExcerptMacroParameters 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.


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