|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.macro.AbstractMacro<PanelMacroParameters>
org.exoplatform.wiki.rendering.macro.panel.PanelMacro
@Component(value="panel") public class PanelMacro
Created by The eXo Platform SAS Author : viet nguyen viet.nguyen@exoplatform.com Jul 26, 2010
| 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 | |
|---|---|
PanelMacro()
Create and initialize the descriptor of the macro. |
|
| Method Summary | |
|---|---|
List<org.xwiki.rendering.block.Block> |
execute(PanelMacroParameters parameters,
String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
|
org.xwiki.component.manager.ComponentManager |
getComponentManager()
|
protected org.xwiki.rendering.parser.Parser |
getSyntaxParser(org.xwiki.rendering.transformation.MacroTransformationContext context)
Get the parser for the current syntax. |
protected List<org.xwiki.rendering.block.Block> |
parseContent(PanelMacroParameters parameters,
String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
Renders the panel's content (which can contain content in the current syntax). |
protected List<org.xwiki.rendering.block.Block> |
parseSourceSyntax(String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
Parse provided content with the parser of the current wiki syntax. |
protected List<org.xwiki.rendering.block.Block> |
parseTitle(org.xwiki.rendering.parser.Parser parser,
String titleParameter)
Renders the panel's title (which can contain content in the current syntax). |
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 |
|---|
public PanelMacro()
| Method Detail |
|---|
public List<org.xwiki.rendering.block.Block> execute(PanelMacroParameters parameters,
String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
throws org.xwiki.rendering.macro.MacroExecutionException
org.xwiki.rendering.macro.MacroExecutionExceptionpublic org.xwiki.component.manager.ComponentManager getComponentManager()
public boolean supportsInlineMode()
protected List<org.xwiki.rendering.block.Block> parseTitle(org.xwiki.rendering.parser.Parser parser,
String titleParameter)
throws org.xwiki.rendering.macro.MacroExecutionException
parser - the appropriate syntax parsertitleParameter - the title which is going to be parsed
org.xwiki.rendering.macro.MacroExecutionException - if the parsing fails
protected List<org.xwiki.rendering.block.Block> parseContent(PanelMacroParameters parameters,
String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
throws org.xwiki.rendering.macro.MacroExecutionException
parameters - content - context -
org.xwiki.rendering.macro.MacroExecutionException
protected List<org.xwiki.rendering.block.Block> parseSourceSyntax(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 content
protected org.xwiki.rendering.parser.Parser getSyntaxParser(org.xwiki.rendering.transformation.MacroTransformationContext context)
throws org.xwiki.rendering.macro.MacroExecutionException
context - the context of the macro transformation (from which to get the current syntax)
org.xwiki.rendering.macro.MacroExecutionException - Failed to find source parser.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||