public class MacroUtils extends Object
| Constructor and Description |
|---|
MacroUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.xwiki.rendering.block.Block> |
parseSourceSyntax(org.xwiki.component.manager.ComponentManager componentManager,
String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
Parse provided content with the parser of the current wiki syntax.
|
static void |
validateNumberParam(String param) |
public static List<org.xwiki.rendering.block.Block> parseSourceSyntax(org.xwiki.component.manager.ComponentManager componentManager, String content, org.xwiki.rendering.transformation.MacroTransformationContext context) throws org.xwiki.rendering.macro.MacroExecutionException
content - the content to parse.context - the context of the macro transformation.org.xwiki.rendering.macro.MacroExecutionException - failed to parse contentpublic static void validateNumberParam(String param) throws org.xwiki.rendering.macro.MacroExecutionException
org.xwiki.rendering.macro.MacroExecutionExceptionCopyright © 2003–2017 eXo Platform SAS. All rights reserved.