public class Body extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
Body() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBreadcrumb(LinkItem linkItem)
Method addBreadcrumb.
|
void |
addLink(LinkItem linkItem)
Method addLink.
|
void |
addMenu(Menu menu)
Method addMenu.
|
Body |
clone()
Method clone.
|
boolean |
equals(Object other)
Method equals.
|
List<LinkItem> |
getBreadcrumbs()
Method getBreadcrumbs.
|
Object |
getFooter()
Get if present, the contained text will be used instead of
the generated copyright text.
|
Object |
getHead()
Get additional content (like Javascript) to include in the
HEAD block of the generated pages.
|
List<LinkItem> |
getLinks()
Method getLinks.
|
List<Menu> |
getMenus()
Method getMenus.
|
int |
hashCode()
Method hashCode.
|
void |
removeBreadcrumb(LinkItem linkItem)
Method removeBreadcrumb.
|
void |
removeLink(LinkItem linkItem)
Method removeLink.
|
void |
removeMenu(Menu menu)
Method removeMenu.
|
void |
setBreadcrumbs(List<LinkItem> breadcrumbs)
Set a list of breadcrumbs to display in the navigation.
|
void |
setFooter(Object footer)
Set if present, the contained text will be used instead of
the generated copyright text.
|
void |
setHead(Object head)
Set additional content (like Javascript) to include in the
HEAD block of the generated pages.
|
void |
setLinks(List<LinkItem> links)
Set a list of links to display in the navigation.
|
void |
setMenus(List<Menu> menus)
Set a list of menus to include in the navigation.
|
String |
toString()
Method toString.
|
public void addBreadcrumb(LinkItem linkItem)
linkItem - public void addLink(LinkItem linkItem)
linkItem - public void addMenu(Menu menu)
menu - public boolean equals(Object other)
public Object getFooter()
public Object getHead()
public void removeBreadcrumb(LinkItem linkItem)
linkItem - public void removeLink(LinkItem linkItem)
linkItem - public void removeMenu(Menu menu)
menu - public void setBreadcrumbs(List<LinkItem> breadcrumbs)
breadcrumbs - public void setFooter(Object footer)
footer - public void setHead(Object head)
head - public void setLinks(List<LinkItem> links)
links - public void setMenus(List<Menu> menus)
menus - Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.