com.sforce.ws.tools
Class ConnectionGenerator
java.lang.Object
com.sforce.ws.tools.ConnectionGenerator
public class ConnectionGenerator
- extends java.lang.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,
java.io.File tempDir,
TypeMapper typeMapper,
java.lang.String packagePrefix)
endpoint
public java.lang.String endpoint()
verifyEndpoint
public java.lang.String verifyEndpoint()
getPackageName
public java.lang.String getPackageName()
getClassName
public java.lang.String getClassName()
getPackagePrefix
public java.lang.String getPackagePrefix()
getTargetNamespace
public java.lang.String getTargetNamespace()
sobjectNamespace
public java.lang.String sobjectNamespace()
dumpQNames
public java.lang.String dumpQNames()
throws ConnectionException
- Throws:
ConnectionException
dumpKnownHeaders
public java.lang.String dumpKnownHeaders()
throws ConnectionException
- Throws:
ConnectionException
hasSessionHeader
public boolean hasSessionHeader()
throws ConnectionException
- Throws:
ConnectionException
headersFor
public java.util.Iterator<Part> headersFor(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
headers
public java.util.Iterator<Part> headers()
throws ConnectionException
- Throws:
ConnectionException
headerType
public java.lang.String headerType(Part header)
throws ConnectionException
- Throws:
ConnectionException
headerName
public java.lang.String headerName(Part header)
headerElement
public java.lang.String headerElement(Part header)
throws ConnectionException
- Throws:
ConnectionException
getResultCall
public java.lang.String getResultCall(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
soapAction
public java.lang.String soapAction(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
returnType
public java.lang.String returnType(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
getResponseElement
public Element getResponseElement(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
headerArgs
public java.lang.String headerArgs(Part header)
throws ConnectionException
- Throws:
ConnectionException
headerElements
public java.util.Iterator<Element> headerElements(Part header)
throws ConnectionException
- Throws:
ConnectionException
getArgs
public java.lang.String getArgs(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
argSetMethod
public java.lang.String argSetMethod(Element element)
argName
public java.lang.String argName(Element element)
argElements
public java.util.Iterator<Element> argElements(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
getJavaClassName
public java.lang.String getJavaClassName(Element el)
loginResult
public java.lang.String loginResult()
throws ConnectionException
- Throws:
ConnectionException
responseName
public java.lang.String responseName(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
requestName
public java.lang.String requestName(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
responseType
public java.lang.String responseType(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
requestType
public java.lang.String requestType(Operation operation)
throws ConnectionException
- Throws:
ConnectionException
getOperations
public java.util.Iterator<Operation> getOperations()
getOperationName
public java.lang.String getOperationName(Operation operation)
generateConnector
public java.lang.String generateConnector()
throws java.io.IOException,
TemplateException
- Throws:
java.io.IOException
TemplateException
hasLoginCall
public boolean hasLoginCall()
generateConnection
public java.lang.String generateConnection()
throws java.io.IOException,
TemplateException
- Throws:
java.io.IOException
TemplateException
generate
public java.lang.String generate(java.lang.String templateFile,
java.lang.String className)
throws java.io.IOException,
TemplateException
- Throws:
java.io.IOException
TemplateException
Copyright © 2011. All Rights Reserved.