Class SectionBlock
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.SectionBlock
- All Implemented Interfaces:
Block
Block that represents a section
- Author:
- Juan F. Codagnone
-
Constructor Summary
ConstructorsConstructorDescriptionSectionBlock
(String title, int level, Block[] blocks) Creates the SectionBlock. -
Method Summary
-
Constructor Details
-
SectionBlock
Creates the SectionBlock.- Parameters:
title
- the section title, cannot benull
level
- the section level: 0 < level < 6blocks
- child blocks, cannot benull
-
-
Method Details
-
getLevel
public final int getLevel()Returns the level.- Returns:
int
with the level.
-
getTitle
Returns the title.- Returns:
String
with the title.
-
toString
-
traverse
public final void traverse(org.apache.maven.doxia.sink.Sink sink) Traverse the block -
getBlocks
Returns the childBlocks.- Returns:
Block[]
with the childBlocks.
-
equals
-
hashCode
public int hashCode()
-