org.apache.wsif.mapping
Interface WSIFMappingConvention

All Known Implementing Classes:
ParserMappingConvention, WSDL2JavaMappingConvention, WSIFDefaultMappingConvention

public interface WSIFMappingConvention

A WSIFMappingConvention defines a convention for converting an xml name to a Java class name. Different techniques can be applied to complexTypes simpleTypes and elements

Author:
Owen Burroughs

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
 

Method Detail

getClassNameForComplexType

public java.lang.String getClassNameForComplexType(javax.xml.namespace.QName qn)
Get a class name for a complexType

Parameters:
qn - The name of the complexType
Returns:
The Java class name

getClassNameForSimpleType

public java.lang.String getClassNameForSimpleType(javax.xml.namespace.QName qn)
Get a class name for a simpleType

Parameters:
qn - The name of the simpleType
Returns:
The Java class name

getClassNameForElementType

public java.lang.String getClassNameForElementType(javax.xml.namespace.QName qn)
Get a class name for a global element

Parameters:
qn - The name of the element
Returns:
The Java class name

overridePackageMapping

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

Parameters:
namespace - The namespace to map
packageName - The package name to map the namespace to


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