fr.paris.lutece.plugins.pluginwizard.service.generator
Class PortletTemplateGenerator

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.generator.PortletTemplateGenerator
All Implemented Interfaces:
Visitor

public class PortletTemplateGenerator
extends java.lang.Object
implements Visitor

The generator produced the templates necessary for the handling of portlets


Constructor Summary
PortletTemplateGenerator()
           
 
Method Summary
 java.util.HashMap visitPath(java.lang.String strPath, fr.paris.lutece.portal.service.plugin.Plugin plugin, PluginModel pluginModel)
          Visit the path and verifies if Portlet templates is relevant to be generated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletTemplateGenerator

public PortletTemplateGenerator()
Method Detail

visitPath

public java.util.HashMap visitPath(java.lang.String strPath,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                   PluginModel pluginModel)
Visit the path and verifies if Portlet templates is relevant to be generated

Specified by:
visitPath in interface Visitor
Parameters:
strPath - The path representing the file structure of the zip
plugin - The plugin
pluginModel - the representation of the created plugin
Returns:
The map with the name of the file and its corresponding content


Copyright © 2011 Mairie de Paris. All Rights Reserved.