Package org.xwiki.rendering.block
Class HorizontalLineBlock
- java.lang.Object
-
- org.xwiki.rendering.block.AbstractBlock
-
- org.xwiki.rendering.block.HorizontalLineBlock
-
public class HorizontalLineBlock extends AbstractBlock
Represents a Horizontal line.- Since:
- 1.6M1
- Version:
- $Id: b53f54ea18dbbd9922198de99fc973e21be6ac05 $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.xwiki.rendering.block.Block
Block.Axes
-
-
Field Summary
-
Fields inherited from interface org.xwiki.rendering.block.Block
LIST_BLOCK_TYPE
-
-
Constructor Summary
Constructors Constructor Description HorizontalLineBlock()
Construct a Horizontal Line Block with no parameters.HorizontalLineBlock(Map<String,String> parameters)
Construct a Horizontal Line Block with parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
traverse(Listener listener)
Let the block sendListener
events corresponding to its content.-
Methods inherited from class org.xwiki.rendering.block.AbstractBlock
addChild, addChildren, after, before, clone, clone, equals, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, hashCode, indexOf, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock
-
-
-
-
Constructor Detail
-
HorizontalLineBlock
public HorizontalLineBlock()
Construct a Horizontal Line Block with no parameters.
-
HorizontalLineBlock
public HorizontalLineBlock(Map<String,String> parameters)
Construct a Horizontal Line Block with parameters.- Parameters:
parameters
- seeAbstractBlock.getParameter(String)
for more details on parameters
-
-
Method Detail
-
traverse
public void traverse(Listener listener)
Description copied from interface:Block
Let the block sendListener
events corresponding to its content. For example a Paragraph block will send theListener.beginParagraph(java.util.Map<java.lang.String, java.lang.String>)
andListener.endParagraph(java.util.Map<java.lang.String, java.lang.String>)
events when this method is called.- Specified by:
traverse
in interfaceBlock
- Overrides:
traverse
in classAbstractBlock
- Parameters:
listener
- the listener to which to send the events to.
-
-