public class DocumentTOCItem extends Object implements Serializable
Constructor and Description |
---|
DocumentTOCItem() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(DocumentTOCItem documentTOCItem)
Method addItem.
|
boolean |
equals(Object other)
Method equals.
|
List<DocumentTOCItem> |
getItems()
Method getItems.
|
String |
getName()
Get the name to use for the toc.
|
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(List<DocumentTOCItem> items)
Set a table of content item containing sub-items.
|
void |
setName(String name)
Set the name to use for the toc.
|
void |
setRef(String ref)
Set the ref to use for the item.
|
String |
toString()
Method toString.
|
public DocumentTOCItem()
public void addItem(DocumentTOCItem documentTOCItem)
documentTOCItem
- public List<DocumentTOCItem> getItems()
public boolean isCollapse()
public void removeItem(DocumentTOCItem documentTOCItem)
documentTOCItem
- public void setCollapse(boolean collapse)
collapse
- public void setItems(List<DocumentTOCItem> items)
items
- Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.