org.xwiki.rendering.block
public class EmptyLinesBlock extends AbstractBlock
Block.Axes| Constructor and Description |
|---|
EmptyLinesBlock(int count) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEmptyLinesCount() |
void |
setEmptyLinesCount(int count) |
void |
traverse(Listener listener)
Let the block send
Listener events corresponding to its content. |
addChild, addChildren, after, before, clone, clone, equals, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, hashCode, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlockpublic EmptyLinesBlock(int count)
count - the number of empty lines between 2 standalone Blockspublic int getEmptyLinesCount()
public void setEmptyLinesCount(int count)
count - the number of empty lines between 2 standalone Blockspublic void traverse(Listener listener)
BlockListener events corresponding to its content. For example a Paragraph block will send
the Listener.beginParagraph(java.util.Map) and
Listener.endParagraph(java.util.Map) events when this method is called.traverse in interface Blocktraverse in class AbstractBlocklistener - the listener to which to send the events to.Copyright © 2004-2013 XWiki. All Rights Reserved.