com.ibm.websphere.webservices
Class Utils
- java.lang.Object
com.ibm.websphere.webservices.Utils
- public class Utils
- extends java.lang.Object
Constructor Summary
Constructor and Description |
---|
Utils()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
namespaceToPackage(java.lang.String namespace)
Get the package name for the given namespace using the same algorithm
that is used by the tools/runtime.
|
|
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
- public Utils()
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