public class DocumentTOC
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
depth
The level up to which toc items are included by
default.
|
private java.util.List<DocumentTOCItem> |
items
Field items.
|
private java.lang.String |
name
The name to use for the Table of Contents.
|
| Constructor and Description |
|---|
DocumentTOC() |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(DocumentTOCItem documentTOCItem)
Method addItem.
|
boolean |
equals(java.lang.Object other)
Method equals.
|
int |
getDepth()
Get the level up to which toc items are included by default.
|
java.util.List<DocumentTOCItem> |
getItems()
Method getItems.
|
java.lang.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(java.util.List<DocumentTOCItem> items)
Set tOC item.
|
void |
setName(java.lang.String name)
Set the name to use for the Table of Contents.
|
java.lang.String |
toString()
Method toString.
|
private java.lang.String name
private int depth
private java.util.List<DocumentTOCItem> items
public void addItem(DocumentTOCItem documentTOCItem)
documentTOCItem - public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - public int getDepth()
public java.util.List<DocumentTOCItem> getItems()
public java.lang.String getName()
public int hashCode()
hashCode in class java.lang.Objectpublic void removeItem(DocumentTOCItem documentTOCItem)
documentTOCItem - public void setDepth(int depth)
depth - public void setItems(java.util.List<DocumentTOCItem> items)
items - public void setName(java.lang.String name)
name - public java.lang.String toString()
toString in class java.lang.Object