Modifier and Type | Field and Description |
---|---|
private int |
type
order item type.
|
Constructor and Description |
---|
NumeratedListBlock(int type,
ListItemBlock[] blocks)
Creates the UnorderedListBlock.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
after(Sink sink)
method called after traversing the childs
|
(package private) void |
before(Sink sink)
method called before traversing the childs
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
getBlocks, traverse
NumeratedListBlock(int type, ListItemBlock[] blocks)
type
- order item type. one of Sink#NUMBERING_....blocks
- list of list items, not null.final void before(Sink sink)
before
in class AbstractFatherBlock
sink
- a sink to fillfinal void after(Sink sink)
after
in class AbstractFatherBlock
sink
- a sink to fillpublic final boolean equals(java.lang.Object obj)
equals
in class AbstractFatherBlock
public final int hashCode()
hashCode
in class AbstractFatherBlock