com.sforce.ws.tools
Class ConnectionGenerator
java.lang.Object
com.sforce.ws.tools.ConnectionGenerator
public class ConnectionGenerator
- extends Object
ConnectionGenerator
- Since:
- 1.0 Jan 18, 2006
- Version:
- 1.0
- Author:
- http://cheenath.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionGenerator
public ConnectionGenerator(Definitions definitions,
File tempDir,
TypeMapper typeMapper,
String packagePrefix)
endpoint
public String endpoint()
verifyEndpoint
public String verifyEndpoint()
getPackageName
public String getPackageName()
getClassName
public String getClassName()
getPackagePrefix
public String getPackagePrefix()
getTargetNamespace
public String getTargetNamespace()
sobjectNamespace
public String sobjectNamespace()
dumpQNames
public String dumpQNames()
throws ConnectionException
- Throws:
ConnectionException
dumpKnownHeaders
public String dumpKnownHeaders()
throws ConnectionException
- Throws:
ConnectionException
hasSessionHeader
public boolean hasSessionHeader()
throws ConnectionException
- Throws:
ConnectionException
headersFor
public Iterator<Part> headersFor(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
headers
public Iterator<Part> headers()
throws ConnectionException
- Throws:
ConnectionException
headerType
public String headerType(Part header)
throws ConnectionException
- Throws:
ConnectionException
headerName
public String headerName(Part header)
headerElement
public String headerElement(Part header)
throws ConnectionException
- Throws:
ConnectionException
getResultCall
public String getResultCall(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
soapAction
public String soapAction(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
returnType
public String returnType(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
getResponseElement
public Element getResponseElement(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
headerArgs
public String headerArgs(Part header)
throws ConnectionException
- Throws:
ConnectionException
headerElements
public Iterator<Element> headerElements(Part header)
throws ConnectionException
- Throws:
ConnectionException
getArgs
public String getArgs(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
argSetMethod
public String argSetMethod(Element element)
argName
public String argName(Element element)
argElements
public Iterator<Element> argElements(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
getJavaClassName
public String getJavaClassName(Element el)
loginResult
public String loginResult()
throws ConnectionException
- Throws:
ConnectionException
responseName
public String responseName(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
requestName
public String requestName(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
responseType
public String responseType(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
requestType
public String requestType(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
getOperations
public Iterator<Operation> getOperations()
getOperationName
public String getOperationName(Operation operation)
generateConnector
public String generateConnector()
throws IOException,
TemplateException
- Throws:
IOException
TemplateException
hasLoginCall
public boolean hasLoginCall()
generateConnection
public String generateConnection()
throws IOException,
TemplateException
- Throws:
IOException
TemplateException
generate
public String generate(String templateFile,
String className)
throws IOException,
TemplateException
- Throws:
IOException
TemplateException
Copyright © 2012. All Rights Reserved.