|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
org.apache.maven.doxia.module.twiki.parser.SectionBlock
Block that represents a section
| Constructor Summary | |
SectionBlock(String title,
int level,
Block[] blocks)
Creates the SectionBlock. |
|
| Method Summary | |
void |
after(Sink sink)
method called after traversing the childs |
void |
before(Sink sink)
method called before traversing the childs |
int |
getLevel()
Returns the level. |
String |
getTitle()
Returns the title. |
String |
toString()
|
| Methods inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock |
equals, getBlocks, hashCode, traverse |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SectionBlock(String title,
int level,
Block[] blocks)
throws IllegalArgumentException
null
title - the section title.level - the section level: 0 < level < 6blocks - child blocks
IllegalArgumentException - if the parameters are not in the domain| Method Detail |
public final void before(Sink sink)
AbstractFatherBlock
before in class AbstractFatherBlocksink - a sink to fillAbstractFatherBlock.before(org.apache.maven.doxia.sink.Sink)public final void after(Sink sink)
AbstractFatherBlock
after in class AbstractFatherBlocksink - a sink to fillAbstractFatherBlock.after(org.apache.maven.doxia.sink.Sink)public final int getLevel()
int with the level.public final String getTitle()
String with the title.public final String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||