Class PageInfoList

    • Constructor Detail

      • PageInfoList

        public PageInfoList()
      • PageInfoList

        public PageInfoList​(org.w3c.dom.Node root)
    • Method Detail

      • getPage

        public PageInfo getPage​(java.lang.String pageName)
        Get the Page instance associated with the given pageName.
        Parameters:
        pageName - the page's unique identifier.
        Returns:
        the PageInfo associated that corresponds to the given pageName.
      • addPage

        public void addPage​(java.lang.String pageName,
                            PageInfo page)
        Add a new Page instance to the Page Manager
        Parameters:
        pageName - the page's unique identifier.
        page - PageInfo instance to insert, associated with the given page ID.
      • deletePage

        public void deletePage​(java.lang.String pageName)
        Removes the requested PageInfo instance from the Manager, based on its ID.
        Parameters:
        pageName - the page's unique identifier to look for.
      • getDefaultPage

        public PageInfo getDefaultPage()
        Return the Page that is assigned as default page
        Returns:
        a PageInfo instance assigned as default page
      • setDefaultPage

        public void setDefaultPage​(PageInfo defaultPage)
      • deleteAllPages

        public void deleteAllPages()
        Delete all pages from this manager instance