|
||||||||||
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.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 | |
---|---|
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(Sink sink)
Traverse the block |
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)
null
title
- the section title.level
- the section level: 0 < level < 6blocks
- child blocksMethod Detail |
---|
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
public final void traverse(Sink sink)
traverse
in interface Block
sink
- the sink that traverspublic final Block[] getBlocks()
Block[]
with the childBlocks.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |