Package org.apache.maven.doxia.site
Class Body
java.lang.Object
org.apache.maven.doxia.site.Body
- All Implemented Interfaces:
Serializable
,Cloneable
The main content.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBreadcrumb
(LinkItem linkItem) Method addBreadcrumb.void
Method addLink.void
Method addMenu.clone()
Method clone.boolean
Method equals.Method getBreadcrumbs.Get if present, the contained text will be used instead of the generated copyright text.getHead()
Get additional content (like JavaScript) to include in the HEAD block of the generated pages.getLinks()
Method getLinks.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
Set if present, the contained text will be used instead of the generated copyright text.void
Set additional content (like JavaScript) to include in the HEAD block of the generated pages.void
Set a list of links to display in the navigation.void
Set a list of menus to include in the navigation.toString()
Method toString.
-
Constructor Details
-
Body
public Body()
-
-
Method Details
-
addBreadcrumb
Method addBreadcrumb.- Parameters:
linkItem
- a linkItem object.
-
addLink
Method addLink.- Parameters:
linkItem
- a linkItem object.
-
addMenu
Method addMenu.- Parameters:
menu
- a menu object.
-
clone
Method clone. -
equals
Method equals. -
getBreadcrumbs
Method getBreadcrumbs.- Returns:
- List
-
getHead
Get additional content (like JavaScript) to include in the HEAD block of the generated pages.- Returns:
- String
-
getLinks
Method getLinks.- Returns:
- List
-
getMenus
Method getMenus.- Returns:
- List
-
hashCode
public int hashCode()Method hashCode. -
removeBreadcrumb
Method removeBreadcrumb.- Parameters:
linkItem
- a linkItem object.
-
removeLink
Method removeLink.- Parameters:
linkItem
- a linkItem object.
-
removeMenu
Method removeMenu.- Parameters:
menu
- a menu object.
-
setBreadcrumbs
Set a list of breadcrumbs to display in the navigation.- Parameters:
breadcrumbs
- a breadcrumbs object.
-
setHead
Set additional content (like JavaScript) to include in the HEAD block of the generated pages.- Parameters:
head
- a head object.
-
setLinks
Set a list of links to display in the navigation.- Parameters:
links
- a links object.
-
setMenus
Set a list of menus to include in the navigation.- Parameters:
menus
- a menus object.
-
toString
Method toString.
-