java.io.Serializablepublic class DocumentTOCItem
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
DocumentTOCItem() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addItem(DocumentTOCItem documentTOCItem) |
Method addItem.
|
boolean |
equals(java.lang.Object other) |
Method equals.
|
java.util.List<DocumentTOCItem> |
getItems() |
Method getItems.
|
java.lang.String |
getName() |
Get the name to use for the toc.
|
java.lang.String |
getRef() |
Get the ref to use for the item.
|
int |
hashCode() |
Method hashCode.
|
boolean |
isCollapse() |
Get whether to show any child elements of a TOCItem,
overriding
the depth given in DocumentTOC.
|
void |
removeItem(DocumentTOCItem documentTOCItem) |
Method removeItem.
|
void |
setCollapse(boolean collapse) |
Set whether to show any child elements of a TOCItem,
overriding
the depth given in DocumentTOC.
|
void |
setItems(java.util.List<DocumentTOCItem> items) |
Set a table of content item containing sub-items.
|
void |
setName(java.lang.String name) |
Set the name to use for the toc.
|
void |
setRef(java.lang.String ref) |
Set the ref to use for the item.
|
java.lang.String |
toString() |
Method toString.
|
public void addItem(DocumentTOCItem documentTOCItem)
documentTOCItem - public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - public java.util.List<DocumentTOCItem> getItems()
public java.lang.String getName()
public java.lang.String getRef()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean isCollapse()
public void removeItem(DocumentTOCItem documentTOCItem)
documentTOCItem - public void setCollapse(boolean collapse)
collapse - public void setItems(java.util.List<DocumentTOCItem> items)
items - public void setName(java.lang.String name)
name - public void setRef(java.lang.String ref)
ref - public java.lang.String toString()
toString in class java.lang.Object