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.
|
String |
getFooter()
Get if present, the contained text will be used instead of
the generated copyright text.
|
String |
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(String footer)
Set if present, the contained text will be used instead of
the generated copyright text.
|
void |
setHead(String 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
- a linkItem object.public void addLink(LinkItem linkItem)
linkItem
- a linkItem object.public void addMenu(Menu menu)
menu
- a menu object.public boolean equals(Object other)
public String getFooter()
public String getHead()
public void removeBreadcrumb(LinkItem linkItem)
linkItem
- a linkItem object.public void removeLink(LinkItem linkItem)
linkItem
- a linkItem object.public void removeMenu(Menu menu)
menu
- a menu object.public void setBreadcrumbs(List<LinkItem> breadcrumbs)
breadcrumbs
- a breadcrumbs object.public void setFooter(String footer)
footer
- a footer object.public void setHead(String head)
head
- a head object.public void setLinks(List<LinkItem> links)
links
- a links object.public void setMenus(List<Menu> menus)
menus
- a menus object.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.