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
- All Implemented Interfaces:
Block
1. item1 2. item2 - item2.1 ...
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNumeratedListBlock
(int type, ListItemBlock[] blocks) Creates the UnorderedListBlock. -
Method Summary
Methods inherited from class org.apache.maven.doxia.module.twiki.parser.AbstractFatherBlock
getBlocks, traverse
-
Field Details
-
type
private final int typeorder item type. one of Sink#NUMBERING_....
-
-
Constructor Details
-
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 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
-
equals
- Overrides:
equals
in classAbstractFatherBlock
-
hashCode
public final int hashCode()- Overrides:
hashCode
in classAbstractFatherBlock
- Returns:
- a int.
-