
Public Member Functions | |
| void | completeDecoding () |
| void | prepareForCoding () |
| void | takeValueForKey (Object aValue, String aKey) |
| XMLData () | |
Static Public Member Functions | |
| static XMLData | dataForString (String string, String mappingUrl) |
| static String | stringForData (XMLData data, String rootTag, String mappingUrl) |
Protected Member Functions | |
| void | clearEmptyValueForKeyPath (String key) |
| void | clearParentOnEmptyValueForKeyPath (String key) |
| void | takeValueForKeyPathIfNotPresent (Object object, String key) |
| XMLData | ( | ) |
| void clearEmptyValueForKeyPath | ( | String | key | ) | [protected] |
| void clearParentOnEmptyValueForKeyPath | ( | String | key | ) | [protected] |
| void completeDecoding | ( | ) |
Deserializes the given string to an instance of XMLData.
| string | ||
| mappingUrl |
| void prepareForCoding | ( | ) |
Serializes to an XML string for the given data object conforming to the supplied model.
| void takeValueForKey | ( | Object | aValue, | |
| String | aKey | |||
| ) |
This works around a bug when the decoder reaches an emtpy tag an tries to create a dictionary from it.
| void takeValueForKeyPathIfNotPresent | ( | Object | object, | |
| String | key | |||
| ) | [protected] |
1.5.8