Class AdminPageBean.Breadcrumb

  • Enclosing class:
    AdminPageBean

    public static class AdminPageBean.Breadcrumb
    extends Object
    A simple model of a breadcrumb. A bread crumb is a link with a display name.
    • Constructor Detail

      • Breadcrumb

        public Breadcrumb​(String name,
                          String url)
        Creates a crumb given a name an URL.
        Parameters:
        name - the breadcrumb name
        url - the url for the breadcrumb
    • Method Detail

      • getName

        public String getName()
        Returns the name, with HTML escaped.
        Returns:
        the HTML escaped breadcrumb name
      • getUrl

        public String getUrl()
        Returns the URL.
        Returns:
        the URL of the breadcrumb