com.carlosbcruz.sapproxy.generator
Class ProxyGenerator

java.lang.Object
  extended by com.carlosbcruz.sapproxy.generator.ProxyGenerator

public class ProxyGenerator
extends java.lang.Object

Generate proxies

Author:
Carlos Fernando Bella Cruz - pessoal@carlosbcruz.com

Constructor Summary
ProxyGenerator()
           
 
Method Summary
static void formatCode(java.lang.String directory, java.lang.String fileName)
          Format a specific code.
static void generateMainPortType(java.lang.String directory, java.lang.String extendsPackage)
          Generate the main port type.
static void generateProxy(java.lang.String directory, java.lang.String extendsPackage, Function function)
          Generate the proxy classes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyGenerator

public ProxyGenerator()
Method Detail

generateProxy

public static void generateProxy(java.lang.String directory,
                                 java.lang.String extendsPackage,
                                 Function function)
Generate the proxy classes.

Parameters:
directory - The directory where the files will be created.
extendsPackage - the java package name.
documentedFunction - The function structure.

generateMainPortType

public static void generateMainPortType(java.lang.String directory,
                                        java.lang.String extendsPackage)
Generate the main port type.

Parameters:
directory - the directory to generate the file.
extendsPackage - The main port type package.

formatCode

public static void formatCode(java.lang.String directory,
                              java.lang.String fileName)
Format a specific code.

Parameters:
directory - The directory of the code.
fileName - The file name.