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
Block that represents the item in a list
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionListItemBlock
(Block[] blocks) ListItemBlock
(Block[] blocks, ListBlock innerList) Creates the ListItemBlock. -
Method Summary
Methods inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
getBlocks, traverse
-
Field Details
-
innerList
-
-
Constructor Details
-
ListItemBlock
ListItemBlock(Block[] blocks) - See Also:
-
ListItemBlock
Creates the ListItemBlock.- Parameters:
blocks
- text block, not null.innerList
- child list
-
-
Method Details
-
before
method called before traversing the childs- Specified by:
before
in classAbstractFatherBlock
- Parameters:
sink
- a sink to fill
-
after
method called after traversing the childs- Specified by:
after
in classAbstractFatherBlock
- Parameters:
sink
- a sink to fill
-
getInnerList
Returns the innerList.- Returns:
UnorderedListBlock
with the innerList.
-
equals
- Overrides:
equals
in classAbstractFatherBlock
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAbstractFatherBlock
- Returns:
- a int.
-