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:
beforein classAbstractFatherBlock- Parameters:
sink- a sink to fill
-
after
method called after traversing the childs- Specified by:
afterin classAbstractFatherBlock- Parameters:
sink- a sink to fill
-
equals
- Overrides:
equalsin classAbstractFatherBlock
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAbstractFatherBlock- Returns:
- a int.
-