|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.wsdl.databinding.TypeMappingAdapter
public abstract class TypeMappingAdapter
| Field Summary | |
|---|---|
protected int |
counter
|
protected String |
defaultClassName
Default class name is the OMElement or the default case However the extensions can override the default class to suit the databinding framework! |
protected boolean |
isObject
|
protected List |
parameterNameList
|
protected HashMap |
qName2NameMap
|
protected HashMap |
qName2ObjectMap
|
protected HashMap |
qName2StatusMap
|
protected static int |
UPPER_PARAM_LIMIT
|
protected static String |
XSD_SCHEMA_URL
|
| Constructor Summary | |
|---|---|
TypeMappingAdapter()
|
|
| Method Summary | |
|---|---|
void |
addTypeMappingName(QName qname,
String value)
Adds a type mapping name to the type mapper. |
void |
addTypeMappingObject(QName qname,
Object value)
Adds a type mapping object to the type mapper. |
void |
addTypeMappingStatus(QName qName,
Object status)
Allows the storage of a status object with a mapping to the qname. |
Map |
getAllMappedNames()
|
Map |
getAllMappedObjects()
|
String |
getDefaultMappingName()
|
String |
getParameterName(QName qname)
Gets the parameter name. |
Object |
getQNameToMappingObject(QName qname)
return the class name for this QName |
String |
getTypeMappingName(QName qname)
Gets the type mapping name. |
Object |
getTypeMappingObject(QName qname)
Gets the type mapping Object. |
Object |
getTypeMappingStatus(QName qName)
Returns the relevant status object given the qName of the xml element |
boolean |
isObjectMappingPresent()
Returns whether the mapping is the object type or the normal class name type |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String defaultClassName
protected static final String XSD_SCHEMA_URL
protected HashMap qName2NameMap
protected HashMap qName2ObjectMap
protected HashMap qName2StatusMap
protected int counter
protected List parameterNameList
protected boolean isObject
protected static final int UPPER_PARAM_LIMIT
| Constructor Detail |
|---|
public TypeMappingAdapter()
| Method Detail |
|---|
public String getTypeMappingName(QName qname)
getTypeMappingName in interface TypeMapperqname - name of the XML element to be mapped
TypeMapper.getTypeMappingName(javax.xml.namespace.QName)public String getParameterName(QName qname)
TypeMapper
getParameterName in interface TypeMapperqname - name of the XML element to get a parameter
TypeMapper.getParameterName(javax.xml.namespace.QName)
public void addTypeMappingName(QName qname,
String value)
TypeMapper
addTypeMappingName in interface TypeMapperTypeMapper.addTypeMappingName(javax.xml.namespace.QName,String)public Object getTypeMappingObject(QName qname)
TypeMapper
getTypeMappingObject in interface TypeMapperqname -
TypeMapper.getTypeMappingObject(javax.xml.namespace.QName)public Object getQNameToMappingObject(QName qname)
getQNameToMappingObject in interface TypeMapperqname -
public void addTypeMappingObject(QName qname,
Object value)
TypeMapper
addTypeMappingObject in interface TypeMapperqname - value - TypeMapper.addTypeMappingObject(javax.xml.namespace.QName, Object)public boolean isObjectMappingPresent()
TypeMapper
isObjectMappingPresent in interface TypeMapperTypeMapper.isObjectMappingPresent()public Map getAllMappedNames()
getAllMappedNames in interface TypeMapperTypeMapper.getAllMappedNames()public Map getAllMappedObjects()
getAllMappedObjects in interface TypeMapperTypeMapper.getAllMappedObjects()public String getDefaultMappingName()
getDefaultMappingName in interface TypeMapperTypeMapper.getDefaultMappingName()public void setDefaultMappingName(String defaultMapping)
TypeMapper
setDefaultMappingName in interface TypeMapperdefaultMapping - TypeMapper.setDefaultMappingName(String)
public void addTypeMappingStatus(QName qName,
Object status)
TypeMapper
addTypeMappingStatus in interface TypeMapperqName - status - TypeMapper.addTypeMappingStatus(javax.xml.namespace.QName, Object)public Object getTypeMappingStatus(QName qName)
TypeMapper
getTypeMappingStatus in interface TypeMapperqName -
TypeMapper.getTypeMappingStatus(javax.xml.namespace.QName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||