Class BasePageCompiler<S extends N2oPage>
- java.lang.Object
-
- net.n2oapp.framework.config.metadata.compile.page.BasePageCompiler<S>
-
- Type Parameters:
S- Тип исходной модели страницы
- All Implemented Interfaces:
SourceClassAware,SourceCompiler<Page,S,PageContext>,BaseSourceCompiler<Page,S,PageContext>
- Direct Known Subclasses:
SimplePageCompiler,StandardPageCompiler
public abstract class BasePageCompiler<S extends N2oPage> extends Object implements BaseSourceCompiler<Page,S,PageContext>
Базовая компиляция страницы
-
-
Constructor Summary
Constructors Constructor Description BasePageCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BreadcrumbListinitBreadcrumb(String pageName, PageContext context, CompileProcessor p)Получение базового маршрута страницыprotected PagePropertyinitPageName(String pageName, PageContext context, CompileProcessor p)protected StringinitPageRoute(N2oPage source, PageContext context, CompileProcessor p)Получение базового маршрута страницыprotected voidregisterRoutes(PageRoutes routes, PageContext context, CompileProcessor p)Регистрация маршрутов страницы-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.n2oapp.framework.api.metadata.aware.SourceClassAware
getSourceClass
-
Methods inherited from interface net.n2oapp.framework.api.metadata.compile.SourceCompiler
compile
-
-
-
-
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 текущей страницы
-
initPageName
protected PageProperty initPageName(String pageName, PageContext context, CompileProcessor p)
-
-