org.apache.wsif.providers.soap.apacheaxis
Class WSDL2JavaMappingConvention

java.lang.Object
  extended by org.apache.wsif.providers.soap.apacheaxis.WSDL2JavaMappingConvention
All Implemented Interfaces:
WSIFMappingConvention

public class WSDL2JavaMappingConvention
extends java.lang.Object
implements WSIFMappingConvention

An implementation of WSIFMappingConvention that uses the same methods from Apache Axis, that are used by the WSDL2Java tool.

Author:
Owen Burroughs

Constructor Summary
WSDL2JavaMappingConvention()
           
 
Method Summary
 java.lang.String getClassNameForComplexType(javax.xml.namespace.QName qn)
          Get a class name for a complexType
 java.lang.String getClassNameForElementType(javax.xml.namespace.QName qn)
          Get a class name for a global element
 java.lang.String getClassNameForSimpleType(javax.xml.namespace.QName qn)
          Get a class name for a simpleType
 void overridePackageMapping(java.lang.String namespace, java.lang.String packageName)
          Override the mapping from a namespace to a package name for a specific namespace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDL2JavaMappingConvention

public WSDL2JavaMappingConvention()
Method Detail

getClassNameForComplexType

public java.lang.String getClassNameForComplexType(javax.xml.namespace.QName qn)
Description copied from interface: WSIFMappingConvention
Get a class name for a complexType

Specified by:
getClassNameForComplexType in interface WSIFMappingConvention
Parameters:
qn - The name of the complexType
Returns:
The Java class name
See Also:
WSIFMappingConvention.getClassNameForComplexType(QName)

getClassNameForSimpleType

public java.lang.String getClassNameForSimpleType(javax.xml.namespace.QName qn)
Description copied from interface: WSIFMappingConvention
Get a class name for a simpleType

Specified by:
getClassNameForSimpleType in interface WSIFMappingConvention
Parameters:
qn - The name of the simpleType
Returns:
The Java class name
See Also:
WSIFMappingConvention.getClassNameForSimpleType(QName)

getClassNameForElementType

public java.lang.String getClassNameForElementType(javax.xml.namespace.QName qn)
Description copied from interface: WSIFMappingConvention
Get a class name for a global element

Specified by:
getClassNameForElementType in interface WSIFMappingConvention
Parameters:
qn - The name of the element
Returns:
The Java class name
See Also:
WSIFMappingConvention.getClassNameForElementType(QName)

overridePackageMapping

public void overridePackageMapping(java.lang.String namespace,
                                   java.lang.String packageName)
Description copied from interface: WSIFMappingConvention
Override the mapping from a namespace to a package name for a specific namespace

Specified by:
overridePackageMapping in interface WSIFMappingConvention
Parameters:
namespace - The namespace to map
packageName - The package name to map the namespace to
See Also:
WSIFMappingConvention.overridePackageMapping(String, String)


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.