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 StringgetDefaultMappingName()StringgetTypeMappingName(QName qname)Gets the type mapping name.voidsetDefaultMappingName(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:TypeMappingAdapterGets the type mapping name. If type mapping is not found, returns default.- Specified by:
getTypeMappingNamein interfaceTypeMapper- Overrides:
getTypeMappingNamein 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:
getDefaultMappingNamein interfaceTypeMapper- Overrides:
getDefaultMappingNamein classTypeMappingAdapter- Returns:
- the default mapping name for this type mapper
- See Also:
TypeMapper.getDefaultMappingName()
-
setDefaultMappingName
public void setDefaultMappingName(String defaultMapping)
Description copied from interface:TypeMapperSets the default type mapping - the databinders may change the default mapping to suit their default mapping- Specified by:
setDefaultMappingNamein interfaceTypeMapper- Overrides:
setDefaultMappingNamein classTypeMappingAdapter- See Also:
TypeMapper.setDefaultMappingName(String)
-
-