Package com.sforce.ws.bind
Class NameMapper
java.lang.Object
com.sforce.ws.bind.NameMapper
This class maps between xml and java names.
- Since:
- 1.0 Nov 22, 2005
- Version:
- 1.0
- Author:
- http://cheenath
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetClassName(String name) return the class name for the specified xml type.static StringgetFieldName(String name) static StringgetMethodName(String name) return the method name for the specified field name.static StringgetPackageName(String targetNamespace, String packagePrefix) returns the java package name for the specified schema target namespace
-
Field Details
-
keywords
-
-
Constructor Details
-
NameMapper
public NameMapper()
-
-
Method Details
-
getPackageName
returns the java package name for the specified schema target namespace- Parameters:
targetNamespace- scheam target namespacepackagePrefix- package prefix- Returns:
- java package name
-
getFieldName
-
getMethodName
return the method name for the specified field name.- Parameters:
name- field name- Returns:
- method name. First letter of the method name will be upper case.
-
getClassName
return the class name for the specified xml type.- Parameters:
name- xml complex type- Returns:
- class name. First letter of the class name will be upper case.
-