org.apache.wsif.mapping
Class WSIFDefaultMapper

java.lang.Object
  extended by org.apache.wsif.mapping.WSIFDefaultMapper
All Implemented Interfaces:
WSIFMapper

public class WSIFDefaultMapper
extends java.lang.Object
implements WSIFMapper

The default implementation of WSIFMapper.

Author:
Owen Burroughs

Constructor Summary
WSIFDefaultMapper()
           
 
Method Summary
 boolean getIncludeStandardMappings()
          Get the flag indicating whether or not the list of mappings returned by the getMappings method includes the standard JAX-RPC mappings for simple types.
 WSIFMappingConvention getMappingConvention()
          Get the WSIFMappingConvention used by the WSIFMapper
 java.util.Map getMappings(SchemaType[] types)
          Get a map of xml name to Java class name (QName to String) mappings from a array of SchemaType objects
 void overrideTypeMapping(javax.xml.namespace.QName xmlName, java.lang.String className)
          Override a generated mapping for a particular xml name with this information
 void setIncludeStandardMappings(boolean b)
          Set a flag to indicate whether or not the list of mappings returned by the getMappings method includes the standard JAX-RPC mappings for simple types.
 void setMappingConvention(WSIFMappingConvention con)
          Set the WSIFMappingConvention used by the WSIFMapper
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFDefaultMapper

public WSIFDefaultMapper()
Method Detail

getIncludeStandardMappings

public boolean getIncludeStandardMappings()
Description copied from interface: WSIFMapper
Get the flag indicating whether or not the list of mappings returned by the getMappings method includes the standard JAX-RPC mappings for simple types.

Specified by:
getIncludeStandardMappings in interface WSIFMapper
Returns:
The flag
See Also:
WSIFMapper.getIncludeStandardMappings()

setIncludeStandardMappings

public void setIncludeStandardMappings(boolean b)
Description copied from interface: WSIFMapper
Set a flag to indicate whether or not the list of mappings returned by the getMappings method includes the standard JAX-RPC mappings for simple types.

Specified by:
setIncludeStandardMappings in interface WSIFMapper
Parameters:
b - The flag
See Also:
WSIFMapper.setIncludeStandardMappings(boolean)

getMappingConvention

public WSIFMappingConvention getMappingConvention()
Description copied from interface: WSIFMapper
Get the WSIFMappingConvention used by the WSIFMapper

Specified by:
getMappingConvention in interface WSIFMapper
Returns:
The WSIFMappingConvention
See Also:
WSIFMapper.getMappingConvention()

setMappingConvention

public void setMappingConvention(WSIFMappingConvention con)
Description copied from interface: WSIFMapper
Set the WSIFMappingConvention used by the WSIFMapper

Specified by:
setMappingConvention in interface WSIFMapper
Parameters:
con - The WSIFMappingConvention to use
See Also:
WSIFMapper.setMappingConvention(WSIFMappingConvention)

overrideTypeMapping

public void overrideTypeMapping(javax.xml.namespace.QName xmlName,
                                java.lang.String className)
Description copied from interface: WSIFMapper
Override a generated mapping for a particular xml name with this information

Specified by:
overrideTypeMapping in interface WSIFMapper
Parameters:
xmlName - The xml name of the mapping
className - The class name for the mapping
See Also:
WSIFMapper.overrideTypeMapping(QName, String)

getMappings

public java.util.Map getMappings(SchemaType[] types)
Description copied from interface: WSIFMapper
Get a map of xml name to Java class name (QName to String) mappings from a array of SchemaType objects

Specified by:
getMappings in interface WSIFMapper
Parameters:
types - An array of SchemaType objects to create the mappings for
Returns:
A map of xml name to Java class name mappings
See Also:
WSIFMapper.getMappings(SchemaType[])


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