Creates an XML string for the given object. The string will not contain the XML header. It will be a set of tags for the individual attributes of the object enclosed by the topLevelTag.
| Name | Type | Description | Mode |
|---|---|---|---|
| object | Java.Lang.Object | the object to be serialized as an XML string | in |
| topLevelTag | String | a parent tag | in |