org.xwiki.rendering.block
Class HorizontalLineBlock

java.lang.Object
  extended by org.xwiki.rendering.block.AbstractBlock
      extended by org.xwiki.rendering.block.HorizontalLineBlock
All Implemented Interfaces:
Cloneable, Block

public class HorizontalLineBlock
extends AbstractBlock

Represents a Horizontal line.

Since:
1.6M1
Version:
$Id: 77e93241c8c6b6cf37dda1ba5f3c918820449075 $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.xwiki.rendering.block.Block
Block.Axes
 
Constructor Summary
HorizontalLineBlock()
          Construct a Horizontal Line Block with no parameters.
HorizontalLineBlock(Map<String,String> parameters)
          Construct a Horizontal Line Block with parameters.
 
Method Summary
 void traverse(Listener listener)
          Let the block send Listener 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, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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 - see AbstractBlock.getParameter(String) for more details on parameters
Method Detail

traverse

public void traverse(Listener listener)
Description copied from interface: Block
Let the block send Listener 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.

Specified by:
traverse in interface Block
Overrides:
traverse in class AbstractBlock
Parameters:
listener - the listener to which to send the events to.


Copyright © 2004-2012 XWiki. All Rights Reserved.