Class CompositeBreadcrumb

    • Constructor Detail

    • Method Detail

      • getMyCrumbs

        protected List<Breadcrumb> getMyCrumbs()
        Description copied from class: AbstractBreadcrumb
        Returns a list of breadcrumbs for the current breadcrumb. For example, the BlogPostBreadcrumb overrides this method and returns 4 crumbs altogether to represent itself: 2007 > 11 > 28 > BlogTitle.

        By default my crumbs will be a list with size 1, containing itself, unless the current breadcrumb has no title.

        Overrides:
        getMyCrumbs in class AbstractBreadcrumb
      • setFilterTrailingBreadcrumb

        public void setFilterTrailingBreadcrumb​(boolean filterTrailingBreadcrumb)
        Description copied from interface: Breadcrumb
        Override the breadcrumb's default value for whether or not the last breadcrumb in the trail should be filtered out.
        Specified by:
        setFilterTrailingBreadcrumb in interface Breadcrumb
        Overrides:
        setFilterTrailingBreadcrumb in class AbstractBreadcrumb
        Parameters:
        filterTrailingBreadcrumb - true if the last breadcrumb in the trail should be filtered out.