public abstract class AbstractMacroBlock extends AbstractBlock
Block.Axes
LIST_BLOCK_TYPE
Constructor and Description |
---|
AbstractMacroBlock(List<? extends Block> childrenBlocks,
Map<String,String> parameters,
String id,
String content,
boolean inline) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getContent() |
String |
getId() |
int |
hashCode() |
boolean |
isInline() |
addChild, addChildren, after, before, clone, clone, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, indexOf, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock, traverse
public AbstractMacroBlock(List<? extends Block> childrenBlocks, Map<String,String> parameters, String id, String content, boolean inline)
childrenBlocks
- the list of children blocks of the block to constructparameters
- the parameters to setid
- the name of the macrocontent
- the content of the macroinline
- indicate if the macro is located in a inline contentpublic String getContent()
public String getId()
public boolean isInline()
public boolean equals(Object obj)
equals
in class AbstractBlock
public int hashCode()
hashCode
in class AbstractBlock
Copyright © 2004–2021 XWiki. All rights reserved.