com.sforce.ws.tools
Class TypeGenerator

java.lang.Object
  extended by com.sforce.ws.tools.TypeGenerator
Direct Known Subclasses:
ComplexTypeGenerator, SimpleTypeGenerator

public abstract class TypeGenerator
extends Object

TypeGenerator

Since:
1.0 Mar 7, 2006
Version:
1.0
Author:
http://cheenath.com

Field Summary
protected  String className
           
protected  TypeMapper mapper
           
protected  String packageName
           
protected  File tempDir
           
protected  Types types
           
 
Constructor Summary
TypeGenerator(Types types, Schema schema, String name, File tempDir, TypeMapper typeMapper)
           
 
Method Summary
 String generate()
           
 String getClassName()
           
 String getPackageName()
           
protected abstract  String getTemplate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packageName

protected String packageName

className

protected String className

tempDir

protected File tempDir

mapper

protected TypeMapper mapper

types

protected Types types
Constructor Detail

TypeGenerator

public TypeGenerator(Types types,
                     Schema schema,
                     String name,
                     File tempDir,
                     TypeMapper typeMapper)
Method Detail

getPackageName

public String getPackageName()

getClassName

public String getClassName()

getTemplate

protected abstract String getTemplate()

generate

public String generate()
                throws IOException,
                       TemplateException
Throws:
IOException
TemplateException


Copyright © 2012. All Rights Reserved.