|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xwiki.rendering.block.AbstractBlock
org.xwiki.rendering.block.MacroBlock
org.xwiki.rendering.block.ExpandedMacroBlock
public class ExpandedMacroBlock
A MacroBlock whose content is expanded. The macro content can be accessed and modified through the child
blocks. This type of macro block is suited only for macros whose content can be parsed into a list of block nodes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.xwiki.rendering.block.Block |
|---|
org.xwiki.rendering.block.Block.Axes |
| Constructor Summary | |
|---|---|
ExpandedMacroBlock(String id,
Map<String,String> parameters,
org.xwiki.rendering.renderer.BlockRenderer contentRenderer,
boolean inline)
Creates a new expanded macro block. |
|
| Method Summary | |
|---|---|
String |
getContent()
|
| Methods inherited from class org.xwiki.rendering.block.MacroBlock |
|---|
getId, isInline, traverse |
| Methods inherited from class org.xwiki.rendering.block.AbstractBlock |
|---|
addChild, addChildren, after, before, clone, clone, equals, getBlocks, getChildren, getChildrenByType, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, hashCode, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpandedMacroBlock(String id,
Map<String,String> parameters,
org.xwiki.rendering.renderer.BlockRenderer contentRenderer,
boolean inline)
id - the id of the macroparameters - the parameters of the macrocontentRenderer - the component used to reconstruct the macro content from the child blocksinline - indicates if the macro is located in an in-line content (e.g. inside a paragraph)| Method Detail |
|---|
public String getContent()
getContent in class org.xwiki.rendering.block.MacroBlock
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||