Class PageCompiler<S extends N2oPage,​C extends Page>

    • Constructor Detail

      • PageCompiler

        public PageCompiler()
    • Method Detail

      • initPageRoute

        protected java.lang.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​(java.lang.String pageName,
                                                PageContext context,
                                                CompileProcessor p)
        Получение базового маршрута страницы
        Parameters:
        pageName - Наименование страницы
        context - Контекст сборки
        Returns:
        breadcrumb текущей страницы
      • getPropertyPageSrc

        protected abstract java.lang.String getPropertyPageSrc()