Class AbstractFatherBlock
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
- All Implemented Interfaces:
Block
- Direct Known Subclasses:
BoldBlock
,ItalicBlock
,ListBlock
,ListItemBlock
,MonospaceBlock
,ParagraphBlock
,SectionBlock
,TableBlock
,TableCellBlock
,TableCellHeaderBlock
,TableRowBlock
,VerbatimBlock
Generic Block for the Block that have child blocks.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
childBlocks
- See Also:
-
-
Constructor Details
-
AbstractFatherBlock
AbstractFatherBlock(Block[] childBlocks) Creates the AbstractFatherBlock.- Parameters:
childBlocks
- child blocks
-
-
Method Details
-
before
method called before traversing the childs- Parameters:
sink
- a sink to fill
-
after
method called after traversing the childs- Parameters:
sink
- a sink to fill
-
traverse
Traverse the block -
getBlocks
Returns the childBlocks.- Returns:
Block[]
with the childBlocks.
-
equals
-
hashCode
public int hashCode()
-