org.apache.axis2.wsdl.databinding
Class TypeMappingAdapter
java.lang.Object
org.apache.axis2.wsdl.databinding.TypeMappingAdapter
- All Implemented Interfaces:
- TypeMapper
- Direct Known Subclasses:
- CSharpTypeMapper, DefaultTypeMapper, JavaTypeMapper
- public abstract class TypeMappingAdapter
- extends java.lang.Object
- implements TypeMapper
Method Summary |
void |
addTypeMapping(javax.xml.namespace.QName qname,
java.lang.Object value)
Adds a type mapping to the type mapper |
java.lang.String |
getParameterName(javax.xml.namespace.QName qname)
Get the parameter name |
java.lang.String |
getTypeMapping(javax.xml.namespace.QName qname)
Get the type mapping class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSD_SCHEMA_URL
protected static final java.lang.String XSD_SCHEMA_URL
- See Also:
- Constant Field Values
map
protected java.util.HashMap map
counter
protected int counter
UPPER_PARAM_LIMIT
protected static final int UPPER_PARAM_LIMIT
- See Also:
- Constant Field Values
TypeMappingAdapter
public TypeMappingAdapter()
getTypeMapping
public java.lang.String getTypeMapping(javax.xml.namespace.QName qname)
- Description copied from interface:
TypeMapper
- Get the type mapping class
- Specified by:
getTypeMapping
in interface TypeMapper
- Parameters:
qname
- name of the XML element to be mapped
- Returns:
- a class that represents the particualr type
- See Also:
TypeMapper.getTypeMapping(javax.xml.namespace.QName)
getParameterName
public java.lang.String getParameterName(javax.xml.namespace.QName qname)
- Description copied from interface:
TypeMapper
- Get the parameter name
- Specified by:
getParameterName
in interface TypeMapper
- Parameters:
qname
- name of the XML element to get a parameter
- Returns:
- a unique parameter name
- See Also:
TypeMapper.getParameterName(javax.xml.namespace.QName)
addTypeMapping
public void addTypeMapping(javax.xml.namespace.QName qname,
java.lang.Object value)
- Description copied from interface:
TypeMapper
- Adds a type mapping to the type mapper
- Specified by:
addTypeMapping
in interface TypeMapper
- Parameters:
qname
- value
- - See Also:
TypeMapper.addTypeMapping(javax.xml.namespace.QName, Object)