Menu

#16 Remove class attribute and rename Element

v1.0 (example)
open
None
1
2018-04-18
2018-04-18
No

I have a list of objects that derive from a base class (Query) and when the list is serialized out each object has the base class name and an attribute of the derived class name:
Example
<Queries>
<Query class=".io.snmpOutObject.GetBulkQuery"></Query>
<Query class="io.snmpOutObject.GetBulkQuery" "=""></Query>
</Queries>

Is there a way to get the element name to be just the derived classes name?
<Queries>
< GetBulkQuery>
< GetQuery">
</Queries>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.