Class NumeratedListBlock
- java.lang.Object
-
- org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
-
- org.apache.maven.doxia.module.twiki.parser.ListBlock
-
- org.apache.maven.doxia.module.twiki.parser.NumeratedListBlock
-
-
Field Summary
Fields Modifier and Type Field Description private inttypeorder item type.
-
Constructor Summary
Constructors Constructor Description NumeratedListBlock(int type, ListItemBlock[] blocks)Creates the UnorderedListBlock.
-
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)inthashCode()-
Methods inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
getBlocks, traverse
-
-
-
-
Constructor Detail
-
NumeratedListBlock
NumeratedListBlock(int type, ListItemBlock[] blocks)Creates the UnorderedListBlock.- Parameters:
type- order item type. one of Sink#NUMBERING_....blocks- list of list items, not null.
-
-
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
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractFatherBlock
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAbstractFatherBlock- Returns:
- a int.
-
-