public class DefinitionListBlock extends AbstractBlock implements ListBLock
Block.Axes| Constructor and Description |
|---|
DefinitionListBlock(List<Block> childrenBlocks)
Construct a Definition List block with no parameters.
|
DefinitionListBlock(List<Block> childrenBlocks,
Map<String,String> parameters)
Construct a Definition List Block with parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(Listener listener)
Send
Listener events corresponding to the end of the block. |
void |
before(Listener listener)
Send
Listener events corresponding to the start of the block. |
addChild, addChildren, clone, clone, equals, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, hashCode, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock, traversefinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddChild, addChildren, clone, clone, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock, traversepublic DefinitionListBlock(List<Block> childrenBlocks)
childrenBlocks - the blocks making the Definition listpublic DefinitionListBlock(List<Block> childrenBlocks, Map<String,String> parameters)
childrenBlocks - the blocks making the Definition listparameters - see AbstractBlock.getParameter(String) for more details on
parameterspublic void before(Listener listener)
AbstractBlockListener events corresponding to the start of the block. For example
for a Bold block, this allows an XHTML Listener (aka a Renderer) to output <b>.before in class AbstractBlocklistener - the listener that will receive the events sent by this block before its children blocks have
emitted their own events.public void after(Listener listener)
AbstractBlockListener events corresponding to the end of the block. For example for a Bold block, this allows an
XHTML Listener (aka a Renderer) to output </b>.after in class AbstractBlocklistener - the listener that will receive the events sent by this block before its children blocks have
emitted their own events.Copyright © 2004–2015 XWiki. All rights reserved.