com.sforce.ws.tools
Class wsdlc
java.lang.Object
com.sforce.ws.codegen.Generator
com.sforce.ws.tools.wsdlc
public class wsdlc
- extends Generator
wsdlc is a tool that can generate java stubs from WSDL.
- Author:
- btoal, hhildebrand
|
Constructor Summary |
wsdlc(String packagePrefix,
org.stringtemplate.v4.STGroupDir templates)
|
| Methods inherited from class com.sforce.ws.codegen.Generator |
addFileToJar, addRuntimeClasses, compileTypes, generate, generate, generateAggregateResultClasses, generateAggregateResultClasses, generateClassFromComplexType, generateClassFromSimpleType, generateComplexTypeClass, generateJarFile, generateSimpleTypeClass, generateSObjectClass, generateTypeClass, generateTypeClasses, getManifest, getPackageName, getRuntimeClasses, requiresAggregateResultClass, requiresSObjectClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEMPLATE_DIR
public static final String TEMPLATE_DIR
STANDALONE_JAR
public static final String STANDALONE_JAR
- See Also:
- Constant Field Values
PACKAGE_PREFIX
public static final String PACKAGE_PREFIX
- See Also:
- Constant Field Values
CONNECTION
public static final String CONNECTION
- See Also:
- Constant Field Values
CONNECTOR
public static final String CONNECTOR
- See Also:
- Constant Field Values
wsdlc
public wsdlc(String packagePrefix,
org.stringtemplate.v4.STGroupDir templates)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
run
public static void run(String wsdlUrl,
String destJarFilename,
String packagePrefix,
boolean standAlone,
org.stringtemplate.v4.STGroupDir templates,
String destDir,
boolean compile)
throws Exception,
ToolsException,
MalformedURLException,
WsdlParseException,
IOException
- Throws:
Exception
ToolsException
MalformedURLException
WsdlParseException
IOException
generate
protected void generate(Definitions definitions,
SfdcApiType sfdcApiType,
Types types,
File dir)
throws IOException
- Overrides:
generate in class Generator
- Throws:
IOException
Copyright © 2013. All Rights Reserved.