com.ibm.websphere.webservices

Class Utils

  1. java.lang.Object
  2. extended bycom.ibm.websphere.webservices.Utils

  1. public class Utils
  2. extends java.lang.Object
This class contains webservice related utilities.

Constructor Summary

Constructor and Description
Utils()

Method Summary

Modifier and Type Method and Description
  1. static
  2. 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.
  1. static
  2. 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Utils

  1. public Utils()

Method Detail

xmlNameToJava

  1. 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

  1. 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