com.ibm.websphere.webservices
Class Utils
- java.lang.Object
-
- com.ibm.websphere.webservices.Utils
-
public class Utils extends java.lang.ObjectThis class contains webservice related utilities.
-
-
Constructor Summary
Constructors Constructor and Description Utils()
-
Method Summary
Methods Modifier and Type Method and Description static java.lang.StringnamespaceToPackage(java.lang.String namespace)Get the package name for the given namespace using the same algorithm that is used by the tools/runtime.static java.lang.StringxmlNameToJava(java.lang.String name)Map an XML name to a Java identifier per the mapping rules of JAX-RPC 1.1, section 20: Appendix: Mapping of XML Names
-
-
-
Method Detail
-
xmlNameToJava
public static java.lang.String xmlNameToJava(java.lang.String name)
Map an XML name to a Java identifier per the mapping rules of JAX-RPC 1.1, section 20: Appendix: Mapping of XML Names- Parameters:
name- is the xml name- Returns:
- the java name according to the JAX-RPC specification
-
namespaceToPackage
public static java.lang.String namespaceToPackage(java.lang.String namespace)
Get the package name for the given namespace using the same algorithm that is used by the tools/runtime.- Parameters:
namespace-- Returns:
- package
-
-