ch.oscg.jreleaseinfo
Interface SourceGeneratorIF

All Known Implementing Classes:
SourceGenerator

public interface SourceGeneratorIF

Source Generator Interface defines the method an implementation must provide in order to be called as Plug-In from the BuilInfoBean class.

Version:
$Revision: 1.2 $ ($Date: 2005/08/06 14:12:36 $ / $Author: tcotting $)
Author:
Thomas Cotting, Tangarena Engineering AG, Luzern

Method Summary
 java.lang.String createCode()
          Utility method to write the class java code to a String.
 void setClassName(java.lang.String className)
          Set the classname.
 void setPackageName(java.lang.String packageName)
          Set the packagename.
 void setProperties(java.util.Map props)
          Set the property map.
 

Method Detail

setPackageName

public void setPackageName(java.lang.String packageName)
Set the packagename.

Parameters:
packageName -

setClassName

public void setClassName(java.lang.String className)
Set the classname.

Parameters:
className -

setProperties

public void setProperties(java.util.Map props)
Set the property map.


createCode

public java.lang.String createCode()
Utility method to write the class java code to a String.

Returns:
the created java class in a string


Copyright © 2005 Open Source Competence Group (OSCG). All Rights Reserved.