|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeMapper
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. |
String |
getTypeMappingName(QName qname)
Gets the type mapping class 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 |
Method Detail |
---|
boolean isObjectMappingPresent()
String getTypeMappingName(QName qname)
qname
- name of the XML element to be mapped
Object getTypeMappingObject(QName qname)
qname
- name of the XML element to be mapped
String getParameterName(QName qname)
qname
- name of the XML element to get a parameter
void addTypeMappingName(QName qname, String value)
qname
- value
- getTypeMappingName(javax.xml.namespace.QName)
void addTypeMappingObject(QName qname, Object value)
qname
- the xml Qname that this type refers tovalue
- the type mapping objectgetTypeMappingObject(javax.xml.namespace.QName)
Map getAllMappedNames()
Map getAllMappedObjects()
String getDefaultMappingName()
void setDefaultMappingName(String defaultMapping)
defaultMapping
- void addTypeMappingStatus(QName qName, Object status)
qname
- status
- Object getTypeMappingStatus(QName qName)
qName
-
addTypeMappingStatus(javax.xml.namespace.QName, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |