Class Body

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class Body
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    The main content.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Body()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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​(java.lang.Object other)
      Method equals.
      java.util.List<LinkItem> getBreadcrumbs()
      Method getBreadcrumbs.
      java.lang.String getFooter()
      Get if present, the contained text will be used instead of the generated copyright text.
      java.lang.String getHead()
      Get additional content (like JavaScript) to include in the HEAD block of the generated pages.
      java.util.List<LinkItem> getLinks()
      Method getLinks.
      java.util.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​(java.util.List<LinkItem> breadcrumbs)
      Set a list of breadcrumbs to display in the navigation.
      void setFooter​(java.lang.String footer)
      Set if present, the contained text will be used instead of the generated copyright text.
      void setHead​(java.lang.String head)
      Set additional content (like JavaScript) to include in the HEAD block of the generated pages.
      void setLinks​(java.util.List<LinkItem> links)
      Set a list of links to display in the navigation.
      void setMenus​(java.util.List<Menu> menus)
      Set a list of menus to include in the navigation.
      java.lang.String toString()
      Method toString.
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Body

        public Body()
    • Method Detail

      • addBreadcrumb

        public void addBreadcrumb​(LinkItem linkItem)
        Method addBreadcrumb.
        Parameters:
        linkItem - a linkItem object.
      • addLink

        public void addLink​(LinkItem linkItem)
        Method addLink.
        Parameters:
        linkItem - a linkItem object.
      • addMenu

        public void addMenu​(Menu menu)
        Method addMenu.
        Parameters:
        menu - a menu object.
      • clone

        public Body clone()
        Method clone.
        Overrides:
        clone in class java.lang.Object
        Returns:
        Body
      • equals

        public boolean equals​(java.lang.Object other)
        Method equals.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        other - a other object.
        Returns:
        boolean
      • getBreadcrumbs

        public java.util.List<LinkItem> getBreadcrumbs()
        Method getBreadcrumbs.
        Returns:
        List
      • getFooter

        public java.lang.String getFooter()
        Get if present, the contained text will be used instead of the generated copyright text.
        Returns:
        String
      • getHead

        public java.lang.String getHead()
        Get additional content (like JavaScript) to include in the HEAD block of the generated pages.
        Returns:
        String
      • getLinks

        public java.util.List<LinkItem> getLinks()
        Method getLinks.
        Returns:
        List
      • getMenus

        public java.util.List<Menu> getMenus()
        Method getMenus.
        Returns:
        List
      • hashCode

        public int hashCode()
        Method hashCode.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int
      • removeBreadcrumb

        public void removeBreadcrumb​(LinkItem linkItem)
        Method removeBreadcrumb.
        Parameters:
        linkItem - a linkItem object.
      • removeLink

        public void removeLink​(LinkItem linkItem)
        Method removeLink.
        Parameters:
        linkItem - a linkItem object.
      • removeMenu

        public void removeMenu​(Menu menu)
        Method removeMenu.
        Parameters:
        menu - a menu object.
      • setBreadcrumbs

        public void setBreadcrumbs​(java.util.List<LinkItem> breadcrumbs)
        Set a list of breadcrumbs to display in the navigation.
        Parameters:
        breadcrumbs - a breadcrumbs object.
      • setFooter

        public void setFooter​(java.lang.String footer)
        Set if present, the contained text will be used instead of the generated copyright text.
        Parameters:
        footer - a footer object.
      • setHead

        public void setHead​(java.lang.String head)
        Set additional content (like JavaScript) to include in the HEAD block of the generated pages.
        Parameters:
        head - a head object.
      • setLinks

        public void setLinks​(java.util.List<LinkItem> links)
        Set a list of links to display in the navigation.
        Parameters:
        links - a links object.
      • setMenus

        public void setMenus​(java.util.List<Menu> menus)
        Set a list of menus to include in the navigation.
        Parameters:
        menus - a menus object.
      • toString

        public java.lang.String toString()
        Method toString.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String