public final class SpaceBlock extends AbstractBlock
Block.Axes
Constructor and Description |
---|
SpaceBlock()
A space block.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
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, setPreviousSiblingBlock
public SpaceBlock()
List.indexOf(Object)
which would always return the first space block).public void traverse(Listener listener)
Block
Listener
events corresponding to its content. For example a Paragraph block will send
the Listener.beginParagraph(java.util.Map<java.lang.String, java.lang.String>)
and
Listener.endParagraph(java.util.Map<java.lang.String, java.lang.String>)
events when this method is called.traverse
in interface Block
traverse
in class AbstractBlock
listener
- the listener to which to send the events to.Copyright © 2004–2017 XWiki. All rights reserved.