Blockpublic class SectionBlock
extends java.lang.Object
| Constructor | Description |
|---|---|
SectionBlock(java.lang.String title,
int level,
Block[] blocks) |
Creates the SectionBlock.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
Block[] |
getBlocks() |
Returns the childBlocks.
|
int |
getLevel() |
Returns the level.
|
java.lang.String |
getTitle() |
Returns the title.
|
int |
hashCode() |
|
java.lang.String |
toString() |
|
void |
traverse(org.apache.maven.doxia.sink.Sink sink) |
Traverse the block
|
public SectionBlock(java.lang.String title,
int level,
Block[] blocks)
nulltitle - the section title.level - the section level: 0 < level < 6blocks - child blockspublic final int getLevel()
int with the level.public final java.lang.String getTitle()
String with the title.public final java.lang.String toString()
toString in class java.lang.Objectpublic final void traverse(org.apache.maven.doxia.sink.Sink sink)
public final Block[] getBlocks()
Block[] with the childBlocks.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object