|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.macro.AbstractMacro<ContextMacroParameters>
org.xwiki.rendering.internal.macro.context.ContextMacro
@Component @Named(value="context") @Singleton public class ContextMacro
Execute the macro's content in the context of another document's reference.
| 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 | |
|---|---|
ContextMacro()
Create and initialize the descriptor of the macro. |
|
| Method Summary | |
|---|---|
java.util.List<org.xwiki.rendering.block.Block> |
execute(ContextMacroParameters parameters,
java.lang.String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
|
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 ContextMacro()
| Method Detail |
|---|
public boolean supportsInlineMode()
Macro.supportsInlineMode()
public java.util.List<org.xwiki.rendering.block.Block> execute(ContextMacroParameters parameters,
java.lang.String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
throws org.xwiki.rendering.macro.MacroExecutionException
org.xwiki.rendering.macro.MacroExecutionExceptionMacro.execute(Object, String, MacroTransformationContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||