|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.doxia.document.DocumentTOCItem
public class DocumentTOCItem
A menu item.
| Constructor Summary | |
|---|---|
DocumentTOCItem()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentTOCItem()
| Method Detail |
|---|
public void addItem(DocumentTOCItem documentTOCItem)
documentTOCItem - public boolean equals(Object other)
equals in class Objectother -
public List<DocumentTOCItem> getItems()
public String getName()
public String getRef()
public int hashCode()
hashCode in class Objectpublic boolean isCollapse()
public void removeItem(DocumentTOCItem documentTOCItem)
documentTOCItem - public void setCollapse(boolean collapse)
collapse - public void setItems(List<DocumentTOCItem> items)
items - public void setName(String name)
name - public void setRef(String ref)
ref - public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||