ch.sahits.codegen.generator
Class WSDLGenerator

java.lang.Object
  extended by ch.sahits.codegen.model.BasicModelGenerator
      extended by ch.sahits.codegen.generator.BasicAxis2ModelGenerator
          extended by ch.sahits.codegen.generator.WSDLGenerator
All Implemented Interfaces:
IGeneralFileGenerator, IGeneralGenerator

public final class WSDLGenerator
extends BasicAxis2ModelGenerator
implements IGeneralFileGenerator

This codegenerator works takes a webservice model and produces a WSDL file. The generation is based upon Java2WSDL

Since:
1.2.0
Author:
Andi Hotz, Sahits GmbH

Field Summary
 
Fields inherited from class ch.sahits.codegen.generator.BasicAxis2ModelGenerator
model, ws
 
Constructor Summary
WSDLGenerator()
           
 
Method Summary
 IFile generate()
          Generate the file by calling the main method of Java2WSDL
 java.lang.String getAbsoluteOutputLoacation()
          Retrieve the absolute path to the file output location based on the initialized model
 
Methods inherited from class ch.sahits.codegen.generator.BasicAxis2ModelGenerator
createModel, getAbsolutOutputDirectory, init, isGeneratedOutputFile
 
Methods inherited from class ch.sahits.codegen.model.BasicModelGenerator
createModelWithDBInputFile, createModelWithoutDB, initModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.sahits.codegen.generator.IGeneralGenerator
createModel, init, isGeneratedOutputFile
 

Constructor Detail

WSDLGenerator

public WSDLGenerator()
Method Detail

generate

public IFile generate()
Generate the file by calling the main method of Java2WSDL

Specified by:
generate in interface IGeneralFileGenerator
Returns:
Instance of the created file

getAbsoluteOutputLoacation

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

Specified by:
getAbsoluteOutputLoacation in interface IGeneralFileGenerator
Returns:
Absolute path to the output location