org.exoplatform.wiki.rendering.macro.textcolor
Class ColorMacro
java.lang.Object
org.xwiki.rendering.macro.AbstractMacro<ColorMacroParameters>
org.exoplatform.wiki.rendering.macro.textcolor.ColorMacro
- All Implemented Interfaces:
- Comparable<org.xwiki.rendering.macro.Macro<?>>, org.xwiki.component.phase.Initializable, org.xwiki.rendering.macro.Macro<ColorMacroParameters>
@Component(value="color")
public class ColorMacro
- extends org.xwiki.rendering.macro.AbstractMacro<ColorMacroParameters>
| Fields inherited from class org.xwiki.rendering.macro.AbstractMacro |
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION |
| 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 |
ColorMacro
public ColorMacro()
execute
public List<org.xwiki.rendering.block.Block> execute(ColorMacroParameters 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()
getSyntaxParser
protected org.xwiki.rendering.parser.Parser getSyntaxParser(String syntaxId)
throws org.xwiki.rendering.macro.MacroExecutionException
- Throws:
org.xwiki.rendering.macro.MacroExecutionException
Copyright © 2013 eXo Platform SAS. All Rights Reserved.