|
||||||||||
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
public class SectionBlock
Block that represents a section
Constructor Summary | |
---|---|
SectionBlock(java.lang.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. |
java.lang.String |
getTitle()
Returns the title. |
java.lang.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(java.lang.String title, int level, Block[] blocks) throws java.lang.IllegalArgumentException
null
title
- the section title.level
- the section level: 0 < level < 6blocks
- child blocks
java.lang.IllegalArgumentException
- if the parameters are not in the domainMethod Detail |
---|
public final void before(Sink sink)
AbstractFatherBlock
before
in class AbstractFatherBlock
sink
- a sink to fillAbstractFatherBlock.before(org.apache.maven.doxia.sink.Sink)
public final void after(Sink sink)
AbstractFatherBlock
after
in class AbstractFatherBlock
sink
- a sink to fillAbstractFatherBlock.after(org.apache.maven.doxia.sink.Sink)
public 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.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |