Package 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
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONNECTIONstatic StringCONNECTION_WRAPPERstatic StringCONNECTORstatic StringFACTORYstatic StringIFACTORYstatic StringINTERFACE_CONNECTION_WRAPPERstatic StringTEMPLATE_DIR-
Fields inherited from class com.sforce.ws.codegen.Generator
AGGREGATE_RESULT, EXTENDED_ERROR_DETAILS, generateInterfaces, IEXTENDED_ERROR_DETAILS, ISOBJECT, javaFiles, packagePrefix, SIMPLE_TYPE, SOBJECT, templates, TYPE, TYPE_INTERFACE, typeMapper
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerate(Definitions definitions, SfdcApiType sfdcApiType, Types types, File dir)static voidmain(String[] args)static voidrun(String wsdlUrl, String destJarFilename, String packagePrefix, boolean javaTime, boolean standAlone, org.stringtemplate.v4.STGroupDir templates, String destDir, boolean compile)-
Methods inherited from class com.sforce.ws.codegen.Generator
addFileToJar, addRuntimeClasses, compileTypes, generate, generate, generateAggregateResultClasses, generateAggregateResultClasses, generateClassFromComplexType, generateClassFromSimpleType, generateComplexTypeClass, generateExtendedErrorDetailsClasses, generateJarFile, generateSimpleTypeClass, generateSObjectClass, generateSObjectInterface, generateTypeClass, generateTypeClasses, getInterfacePackageName, getManifest, getPackageName, getRuntimeClasses, newSourceWriter, newTypeMetadataConstructor, requiresAggregateResultClass, requiresSObjectClass, requiresSObjectInterface
-
-
-
-
Field Detail
-
TEMPLATE_DIR
public static final String TEMPLATE_DIR
-
CONNECTION
public static final String CONNECTION
- See Also:
- Constant Field Values
-
CONNECTOR
public static final String CONNECTOR
- See Also:
- Constant Field Values
-
CONNECTION_WRAPPER
public static final String CONNECTION_WRAPPER
- See Also:
- Constant Field Values
-
INTERFACE_CONNECTION_WRAPPER
public static final String INTERFACE_CONNECTION_WRAPPER
- See Also:
- Constant Field Values
-
FACTORY
public static final String FACTORY
- See Also:
- Constant Field Values
-
IFACTORY
public static final String IFACTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public static void run(String wsdlUrl, String destJarFilename, String packagePrefix, boolean javaTime, boolean standAlone, org.stringtemplate.v4.STGroupDir templates, String destDir, boolean compile) throws ToolsException, WsdlParseException, IOException
-
generate
protected void generate(Definitions definitions, SfdcApiType sfdcApiType, Types types, File dir) throws IOException
- Overrides:
generatein classGenerator- Throws:
IOException
-
-