com.ibm.websphere.ant.tasks
Class WSDL2Java.Mapping
- java.lang.Object
-
- com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping
-
- com.ibm.websphere.ant.tasks.WSDL2Java.Mapping
-
- Enclosing class:
- WSDL2Java
public class WSDL2Java.Mapping extends com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.MappingUsed for nested package definitions. Package names are derived from the namespace strings in the WSDL file automatically You can provide your own mapping using a Mapping argument, which can be repeated as often as necessary, once for each unique namespace mapping.
-
-
Constructor Summary
Constructors Constructor and Description WSDL2Java.Mapping()
-
Method Summary
Methods Modifier and Type Method and Description voidsetNamespace(java.lang.String namespace)Sets the namespacevoidsetPackage(java.lang.String pkg)Sets the pkg
-
-
-
Method Detail
-
setNamespace
public void setNamespace(java.lang.String namespace)
Sets the namespace- Overrides:
setNamespacein classcom.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping- Parameters:
namespace- The namespace to set.
-
setPackage
public void setPackage(java.lang.String pkg)
Sets the pkg- Overrides:
setPackagein classcom.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping- Parameters:
pkg- The pkg to set.
-
-