Class BasePageCompiler<S extends N2oPage>

    • Constructor Detail

      • BasePageCompiler

        public BasePageCompiler()
    • Method Detail

      • initPageRoute

        protected String initPageRoute​(N2oPage source,
                                       PageContext context,
                                       CompileProcessor p)
        Получение базового маршрута страницы
        Parameters:
        source - Исходная страница
        context - Контекст сборки
        p - Процессор сборки
        Returns:
        Маршрут
      • registerRoutes

        protected void registerRoutes​(PageRoutes routes,
                                      PageContext context,
                                      CompileProcessor p)
        Регистрация маршрутов страницы
        Parameters:
        routes - Маршруты страницы
        context - Контекст сборки
        p - Процессор сборки
      • initBreadcrumb

        protected BreadcrumbList initBreadcrumb​(String pageName,
                                                PageContext context,
                                                CompileProcessor p)
        Получение базового маршрута страницы
        Parameters:
        pageName - Наименование страницы
        context - Контекст сборки
        context - Контекст сборки
        Returns:
        breadcrumb текущей страницы