Class ListItemBlock
- java.lang.Object
-
- org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
-
- org.apache.maven.doxia.module.twiki.parser.ListItemBlock
-
- All Implemented Interfaces:
Block
class ListItemBlock extends AbstractFatherBlock
Block that represents the item in a list- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ListItemBlock(Block[] blocks)ListItemBlock(Block[] blocks, ListBlock innerList)Creates the ListItemBlock.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidafter(Sink sink)method called after traversing the childs(package private) voidbefore(Sink sink)method called before traversing the childsbooleanequals(java.lang.Object obj)(package private) ListBlockgetInnerList()Returns the innerList.inthashCode()-
Methods inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
getBlocks, traverse
-
-
-
-
Field Detail
-
innerList
private final ListBlock innerList
-
-
Constructor Detail
-
ListItemBlock
ListItemBlock(Block[] blocks)
- See Also:
ListItemBlock(Block[], ListBlock)
-
-
Method Detail
-
before
final void before(Sink sink)
method called before traversing the childs- Specified by:
beforein classAbstractFatherBlock- Parameters:
sink- a sink to fill
-
after
final void after(Sink sink)
method called after traversing the childs- Specified by:
afterin classAbstractFatherBlock- Parameters:
sink- a sink to fill
-
getInnerList
final ListBlock getInnerList()
Returns the innerList.- Returns:
UnorderedListBlockwith the innerList.
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractFatherBlock
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAbstractFatherBlock
-
-