Class Body
java.lang.Object
org.apache.maven.doxia.site.decoration.Body
- All Implemented Interfaces:
Serializable
,Cloneable
The main content decoration.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
Fields -
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.
-
Field Details
-
head
Additional content (like JavaScript) to include in the HEAD block of the generated pages. -
links
Field links. -
breadcrumbs
Field breadcrumbs.
-
-
Constructor Details
-
Body
public Body()
-
-
Method Details
-
addBreadcrumb
Method addBreadcrumb.- Parameters:
linkItem
-
-
addLink
Method addLink.- Parameters:
linkItem
-
-
addMenu
Method addMenu.- Parameters:
menu
-
-
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
-
-
removeLink
Method removeLink.- Parameters:
linkItem
-
-
removeMenu
Method removeMenu.- Parameters:
menu
-
-
setBreadcrumbs
Set a list of breadcrumbs to display in the navigation.- Parameters:
breadcrumbs
-
-
setHead
Set additional content (like JavaScript) to include in the HEAD block of the generated pages.- Parameters:
head
-
-
setLinks
Set a list of links to display in the navigation.- Parameters:
links
-
-
setMenus
Set a list of menus to include in the navigation.- Parameters:
menus
-
-
toString
Method toString.
-