Class HtmlTemplateSitemapViewController
- java.lang.Object
-
- it.tidalwave.northernwind.frontend.ui.component.sitemap.DefaultSitemapViewController
-
- it.tidalwave.northernwind.frontend.ui.component.sitemap.htmltemplate.HtmlTemplateSitemapViewController
-
- All Implemented Interfaces:
SitemapViewController
,ViewController
public class HtmlTemplateSitemapViewController extends DefaultSitemapViewController
An implementation of
SitemapViewController
based on HTML templates.The template for rendering the page can be specified by means of the property
P_SITEMAP_TEMPLATE_PATH
.This controller calls render methods to the view by passing
Template.Aggregates
to be used with templates.In case of post rendering, the following aggregates are defined:
entries
: the entries to be rendered.
Each item is an
Template.Aggregate
of the following fields:location
: the URL of the page;lastModification
: the last modification date of the page;changeFrequency
: the change frequency of the page;priority
: the priority of the page.
- Author:
- Fabrizio Giudici
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class it.tidalwave.northernwind.frontend.ui.component.sitemap.DefaultSitemapViewController
DefaultSitemapViewController.Entry
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.northernwind.frontend.ui.component.sitemap.SitemapViewController
P_SITEMAP_CHANGE_FREQUENCY, P_SITEMAP_CHILDREN_PRIORITY, P_SITEMAP_PRIORITY, P_SITEMAP_TEMPLATE_PATH
-
-
Constructor Summary
Constructors Constructor Description HtmlTemplateSitemapViewController(SiteNode siteNode, HtmlTemplateSitemapView view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
render(java.util.Set<? extends DefaultSitemapViewController.Entry> entries)
-
Methods inherited from class it.tidalwave.northernwind.frontend.ui.component.sitemap.DefaultSitemapViewController
getViewProperties, renderView
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.northernwind.frontend.ui.ViewController
findVirtualSiteNodes, initialize, prepareRendering
-
-
-
-
Constructor Detail
-
HtmlTemplateSitemapViewController
public HtmlTemplateSitemapViewController(@Nonnull SiteNode siteNode, @Nonnull HtmlTemplateSitemapView view)
-
-
Method Detail
-
render
protected void render(@Nonnull java.util.Set<? extends DefaultSitemapViewController.Entry> entries)
- Specified by:
render
in classDefaultSitemapViewController
-
-