|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.doxia.module.twiki.parser.SectionBlock
public class SectionBlock
Block that represents a section
Constructor Summary | |
---|---|
SectionBlock(String title,
int level,
Block[] blocks)
Creates the SectionBlock. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Block[] |
getBlocks()
Returns the childBlocks. |
int |
getLevel()
Returns the level. |
String |
getTitle()
Returns the title. |
int |
hashCode()
|
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(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 String getTitle()
String
with the title.public final String toString()
toString
in class 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(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |