public class DocumentTOC
extends java.lang.Object
implements java.io.Serializable
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.
|
public void addItem(DocumentTOCItem documentTOCItem)
documentTOCItem
- public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- public int getDepth()
public java.util.List<DocumentTOCItem> getItems()
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public 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
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.