info.magnolia.module.googlesitemap.model
Class SiteMapModel<RD extends info.magnolia.rendering.template.RenderableDefinition>

java.lang.Object
  extended by info.magnolia.rendering.model.RenderingModelImpl<RD>
      extended by 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$

Field Summary
protected  SiteMapService siteMapService
           
 
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.
 
Method Summary
 String execute()
           
 Iterator<SiteMapEntry> getSiteMapBeans()
           
 String getXML()
           
 
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
 

Field Detail

siteMapService

protected SiteMapService siteMapService
Constructor Detail

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.

Method Detail

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.