public class SectionBlock extends Object
Constructor and Description |
---|
SectionBlock(String title,
int level,
Block[] blocks)
Creates the SectionBlock.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Block[] |
getBlocks()
Returns the childBlocks.
|
int |
getLevel()
Returns the level.
|
String |
getTitle()
Returns the title.
|
int |
hashCode() |
String |
toString() |
void |
traverse(Sink sink)
Traverse the block
|
public SectionBlock(String title, int level, Block[] blocks)
title
- the section title, cannot be null
level
- the section level: 0 < level < 6blocks
- child blocks, cannot be null
public final int getLevel()
int
with the level.public final Block[] getBlocks()
Block[]
with the childBlocks.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.