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

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
      extended by fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractFileGenerator
          extended by fr.paris.lutece.plugins.pluginwizard.service.generator.SpringContextXmlGenerator
All Implemented Interfaces:
Generator

public class SpringContextXmlGenerator
extends AbstractFileGenerator

Class generates the spring context file


Constructor Summary
SpringContextXmlGenerator()
           
 
Method Summary
 Map generate(PluginModel pm)
          Visiting parts of the file tree structure
protected  String getFilename(PluginModel pm)
          Get the filename
 String getPath()
          Returns the Path
 
Methods inherited from class fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractFileGenerator
generateFile, getCode, getFilePath, setPath
 
Methods inherited from class fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
build, build, build, build, getFilePath, getFirstCaps, getModel, getTemplate, setTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringContextXmlGenerator

public SpringContextXmlGenerator()
Method Detail

generate

public Map generate(PluginModel pm)
Visiting parts of the file tree structure

Parameters:
pm -
Returns:
A hadh map with the name of the file and a string in which is found the corresponding source code

getFilename

protected String getFilename(PluginModel pm)
Get the filename

Specified by:
getFilename in class AbstractFileGenerator
Parameters:
pm -
Returns:

getPath

public String getPath()
Returns the Path

Overrides:
getPath in class AbstractFileGenerator
Returns:
The Path


Copyright © 2013 Mairie de Paris. All Rights Reserved.