public final class TocItem extends Object
An instance of TocItem
class is used as return value of Parser.getToc()
method. See the usage examples there.
Constructor and Description |
---|
TocItem(int depth,
String text,
Integer pageIndex)
Initializes a new instance of the TocItem class.
|
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Gets the depth level.
|
Integer |
getPageIndex()
Gets the page index.
|
String |
getText()
Gets the text.
|
public int getDepth()
public String getText()
public Integer getPageIndex()
null
if it isn't set.Copyright © 2019. All rights reserved.