Package org.xwiki.rendering.block
Class HorizontalLineBlock
java.lang.Object
org.xwiki.rendering.block.AbstractBlock
org.xwiki.rendering.block.HorizontalLineBlock
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
ConstructorsConstructorDescriptionConstruct a Horizontal Line Block with no parameters.HorizontalLineBlock(Map<String, String> parameters) Construct a Horizontal Line Block with parameters. -
Method Summary
Methods inherited from class org.xwiki.rendering.block.AbstractBlock
addChild, addChildren, after, before, clone, clone, equals, get, getAttribute, getAttributes, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, getSyntaxMetadata, hashCode, indexOf, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setAttribute, setAttributes, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock
-
Constructor Details
-
HorizontalLineBlock
public HorizontalLineBlock()Construct a Horizontal Line Block with no parameters. -
HorizontalLineBlock
Construct a Horizontal Line Block with parameters.- Parameters:
parameters- seeAbstractBlock.getParameter(String)for more details on parameters
-
-
Method Details
-
traverse
Description copied from interface:BlockLet the block sendListenerevents 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:
traversein interfaceBlock- Overrides:
traversein classAbstractBlock- Parameters:
listener- the listener to which to send the events to.
-