Class CTypeMapper
- java.lang.Object
-
- org.apache.axis2.wsdl.databinding.TypeMappingAdapter
-
- org.apache.axis2.wsdl.databinding.CTypeMapper
-
- All Implemented Interfaces:
TypeMapper
public class CTypeMapper extends TypeMappingAdapter
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.wsdl.databinding.TypeMappingAdapter
counter, defaultClassName, isObject, parameterNameList, qName2NameMap, qName2ObjectMap, qName2StatusMap, UPPER_PARAM_LIMIT, XSD_SCHEMA_URL
-
-
Constructor Summary
Constructors Constructor Description CTypeMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultMappingName()
String
getTypeMappingName(QName qname)
Gets the type mapping name.void
setDefaultMappingName(String defaultMapping)
Sets the default type mapping - the databinders may change the default mapping to suit their default mapping-
Methods inherited from class org.apache.axis2.wsdl.databinding.TypeMappingAdapter
addTypeMappingName, addTypeMappingObject, addTypeMappingStatus, getAllMappedNames, getAllMappedObjects, getParameterName, getQNameToMappingObject, getTypeMappingObject, getTypeMappingStatus, isObjectMappingPresent
-
-
-
-
Method Detail
-
getTypeMappingName
public String getTypeMappingName(QName qname)
Description copied from class:TypeMappingAdapter
Gets the type mapping name. If type mapping is not found, returns default.- Specified by:
getTypeMappingName
in interfaceTypeMapper
- Overrides:
getTypeMappingName
in classTypeMappingAdapter
- Parameters:
qname
- name of the XML element to be mapped- Returns:
- Returns a string that represents the particular type.
- See Also:
TypeMapper.getTypeMappingName(javax.xml.namespace.QName)
-
getDefaultMappingName
public String getDefaultMappingName()
- Specified by:
getDefaultMappingName
in interfaceTypeMapper
- Overrides:
getDefaultMappingName
in classTypeMappingAdapter
- Returns:
- the default mapping name for this type mapper
- See Also:
TypeMapper.getDefaultMappingName()
-
setDefaultMappingName
public void setDefaultMappingName(String defaultMapping)
Description copied from interface:TypeMapper
Sets the default type mapping - the databinders may change the default mapping to suit their default mapping- Specified by:
setDefaultMappingName
in interfaceTypeMapper
- Overrides:
setDefaultMappingName
in classTypeMappingAdapter
- See Also:
TypeMapper.setDefaultMappingName(String)
-
-