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) void
after(Sink sink)
method called after traversing the childs(package private) void
before(Sink sink)
method called before traversing the childsboolean
equals(java.lang.Object obj)
(package private) ListBlock
getInnerList()
Returns the innerList.int
hashCode()
-
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:
before
in classAbstractFatherBlock
- Parameters:
sink
- a sink to fill
-
after
final void after(Sink sink)
method called after traversing the childs- Specified by:
after
in classAbstractFatherBlock
- Parameters:
sink
- a sink to fill
-
getInnerList
final ListBlock getInnerList()
Returns the innerList.- Returns:
UnorderedListBlock
with the innerList.
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classAbstractFatherBlock
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAbstractFatherBlock
-
-