public class DocumentTOC extends Object implements Serializable
Constructor and Description |
---|
DocumentTOC() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(DocumentTOCItem documentTOCItem)
Method addItem.
|
boolean |
equals(Object other)
Method equals.
|
int |
getDepth()
Get the level up to which toc items are included by default.
|
List<DocumentTOCItem> |
getItems()
Method getItems.
|
String |
getName()
Get the name to use for the Table of Contents.
|
int |
hashCode()
Method hashCode.
|
void |
removeItem(DocumentTOCItem documentTOCItem)
Method removeItem.
|
void |
setDepth(int depth)
Set the level up to which toc items are included by default.
|
void |
setItems(List<DocumentTOCItem> items)
Set tOC item.
|
void |
setName(String name)
Set the name to use for the Table of Contents.
|
String |
toString()
Method toString.
|
public DocumentTOC()
public void addItem(DocumentTOCItem documentTOCItem)
documentTOCItem
- public int getDepth()
public List<DocumentTOCItem> getItems()
public void removeItem(DocumentTOCItem documentTOCItem)
documentTOCItem
- public void setDepth(int depth)
depth
- public void setItems(List<DocumentTOCItem> items)
items
- public void setName(String name)
name
- Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.