IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.ant.tasks
Class WSDL2Java.Mapping

java.lang.Object
  extended by com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping
      extended by com.ibm.websphere.ant.tasks.WSDL2Java.Mapping
Enclosing class:
WSDL2Java

public class WSDL2Java.Mapping
extends com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping

Used 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
WSDL2Java.Mapping()
           
 
Method Summary
 void setNamespace(java.lang.String namespace)
          Sets the namespace
 void setPackage(java.lang.String pkg)
          Sets the pkg
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDL2Java.Mapping

public WSDL2Java.Mapping()
Method Detail

setNamespace

public void setNamespace(java.lang.String namespace)
Sets the namespace

Overrides:
setNamespace in class com.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:
setPackage in class com.ibm.ws.webservices.tools.ant.WSDL2JavaBase.Mapping
Parameters:
pkg - The pkg to set.

IBM WebSphere Application ServerTM
Release 7