|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.internal.macro.wikibridge.DefaultWikiMacro
public class DefaultWikiMacro
Default implementation of WikiMacro.
| Constructor Summary | |
|---|---|
DefaultWikiMacro(DocumentReference macroDocumentReference,
boolean supportsInlineMode,
org.xwiki.rendering.macro.descriptor.MacroDescriptor descriptor,
org.xwiki.rendering.block.XDOM macroContent,
org.xwiki.rendering.syntax.Syntax syntax,
org.xwiki.component.manager.ComponentManager componentManager)
Constructs a new DefaultWikiMacro. |
|
| Method Summary | |
|---|---|
int |
compareTo(org.xwiki.rendering.macro.Macro<?> macro)
|
java.util.List<org.xwiki.rendering.block.Block> |
execute(WikiMacroParameters parameters,
java.lang.String macroContent,
org.xwiki.rendering.transformation.MacroTransformationContext context)
|
org.xwiki.rendering.macro.descriptor.MacroDescriptor |
getDescriptor()
|
DocumentReference |
getDocumentReference()
|
java.lang.String |
getId()
|
int |
getPriority()
|
boolean |
supportsInlineMode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWikiMacro(DocumentReference macroDocumentReference,
boolean supportsInlineMode,
org.xwiki.rendering.macro.descriptor.MacroDescriptor descriptor,
org.xwiki.rendering.block.XDOM macroContent,
org.xwiki.rendering.syntax.Syntax syntax,
org.xwiki.component.manager.ComponentManager componentManager)
DefaultWikiMacro.
macroDocumentReference - the name of the document which contains the definition of this macrosupportsInlineMode - says if macro support inline mode or notdescriptor - the MacroDescriptor describing this macro.macroContent - macro content to be evaluated.syntax - syntax of the macroContent source.componentManager - ComponentManager component used to look up for other components.| Method Detail |
|---|
public java.util.List<org.xwiki.rendering.block.Block> execute(WikiMacroParameters parameters,
java.lang.String macroContent,
org.xwiki.rendering.transformation.MacroTransformationContext context)
throws org.xwiki.rendering.macro.MacroExecutionException
execute in interface org.xwiki.rendering.macro.Macro<WikiMacroParameters>org.xwiki.rendering.macro.MacroExecutionExceptionMacro.execute(Object, String, MacroTransformationContext)public org.xwiki.rendering.macro.descriptor.MacroDescriptor getDescriptor()
getDescriptor in interface org.xwiki.rendering.macro.Macro<WikiMacroParameters>public int getPriority()
getPriority in interface org.xwiki.rendering.macro.Macro<WikiMacroParameters>public java.lang.String getId()
getId in interface WikiMacropublic DocumentReference getDocumentReference()
getDocumentReference in interface WikiMacroDocumentReference of the Wiki Macropublic int compareTo(org.xwiki.rendering.macro.Macro<?> macro)
compareTo in interface java.lang.Comparable<org.xwiki.rendering.macro.Macro<?>>public boolean supportsInlineMode()
supportsInlineMode in interface org.xwiki.rendering.macro.Macro<WikiMacroParameters>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||