Interface ComponentModelSource

    • Method Detail

      • getModel

        ComponentModel getModel​(String componentClassName)
        Returns the model for a particular component class name.
        Parameters:
        componentClassName - name of component class
        Returns:
        model for component
        Throws:
        IllegalArgumentException - if component class name does not match a known component
      • getPageModel

        ComponentModel getPageModel​(String pageName)
        Returns the model for a page. The page name is resolved to a component class name.
        Parameters:
        pageName - name of page
        Returns:
        the model for the page
        Throws:
        IllegalArgumentException - if the page name is not a known page name