info.magnolia.module.googlesitemap.model
Class SiteMapModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
java.lang.Object
info.magnolia.rendering.model.RenderingModelImpl<RD>
info.magnolia.module.googlesitemap.model.SiteMapModel<RD>
- All Implemented Interfaces:
- info.magnolia.rendering.model.RenderingModel<RD>
public class SiteMapModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
- extends info.magnolia.rendering.model.RenderingModelImpl<RD>
Main Model class of the siteMap Templates.
- Version:
- $Id$
Fields inherited from class info.magnolia.rendering.model.RenderingModelImpl |
content, contentMap, definition, parentModel |
Fields inherited from interface info.magnolia.rendering.model.RenderingModel |
SKIP_RENDERING |
Constructor Summary |
SiteMapModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
SiteMapService siteMapService,
SiteMapXMLUtil xmlUtil)
Default constructor used for injection. |
Methods inherited from class info.magnolia.rendering.model.RenderingModelImpl |
getContent, getDef, getDefinition, getNode, getParent, getRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
siteMapService
protected SiteMapService siteMapService
SiteMapModel
@Inject
public SiteMapModel(javax.jcr.Node content,
RD definition,
info.magnolia.rendering.model.RenderingModel<?> parent,
SiteMapService siteMapService,
SiteMapXMLUtil xmlUtil)
- Default constructor used for injection.
execute
public String execute()
- Specified by:
execute
in interface info.magnolia.rendering.model.RenderingModel<RD extends info.magnolia.rendering.template.RenderableDefinition>
- Overrides:
execute
in class info.magnolia.rendering.model.RenderingModelImpl<RD extends info.magnolia.rendering.template.RenderableDefinition>
getSiteMapBeans
public Iterator<SiteMapEntry> getSiteMapBeans()
getXML
public String getXML()
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.