Class Page

    • Method Detail

      • page

        public static Page page()
        Create or returns the page singleton.
      • that

        public Page that()
      • addSkipToContent

        public Page addSkipToContent​(SkipToContent skipToContent)
        Adds the SkipToContent component as first element and removes the previous one (if any).
      • addMasthead

        public Page addMasthead​(Masthead masthead)
        Adds the Masthead component and removes the previous one (if any).
      • addSidebar

        public Page addSidebar​(PageSidebar sidebar)
        Adds the PageSidebar component and removes the previous one (if any).
      • addMain

        public Page addMain​(PageMain main)
        Adds the PageMain component and removes the previous one (if any).
      • masthead

        public Masthead masthead()
        Returns the current Masthead or null if no masthead has been defined yet.
      • sidebar

        public PageSidebar sidebar()
        Returns the current PageSidebar or null if no sidebar has been defined yet.
      • main

        public PageMain main()
        Returns the current PageMain or null if no main has been defined yet.