ch.sahits.codegen.generator
Interface IGeneralFileGenerator

All Superinterfaces:
IGeneralGenerator
All Known Implementing Classes:
Axis2MessageInOutReciever, Axis2ServiceStubGenerator, Axis2ServiceXMLGenerator, HibernateConfigurationCreator, WSDLGenerator, XMLStringOutput

public interface IGeneralFileGenerator
extends IGeneralGenerator

This interface adds the generate method to the IGeneralGenerator interface and thus enables an implementing class to create code. This interface generetaes the code and creates a file which is returnd by the generate method.

Since:
1.2.0
Author:
Andi Hotz

Method Summary
 IFile generate()
          Generate the code for the output file.
 java.lang.String getAbsoluteOutputLoacation()
          Retrieve the absolute path to the file output location based on the initialized model
 
Methods inherited from interface ch.sahits.codegen.generator.IGeneralGenerator
createModel, init, isGeneratedOutputFile
 

Method Detail

generate

IFile generate()
Generate the code for the output file.

Returns:
IFile instance representing the generated file

getAbsoluteOutputLoacation

java.lang.String getAbsoluteOutputLoacation()
Retrieve the absolute path to the file output location based on the initialized model

Returns:
Absolut path to the output location