java - SimpleXML - How to ignore the class attribute when deserializing -
i have problem deserializing this:
<tutorial name="tutinteractif1" context="mpcapturectlr" type="interactive" class="capturetutorialleveldoors">
the problem simple uses class
attribute ito select java class deserialize xml object with. question is: how tell simple use class
standard attribute or @ least ignore it?
use different strategy
strategy strategy = new treestrategy("myclass", "mylength"); persister persister = new persister(strategy);
now, "myclass" used instead of "class".
Comments
Post a Comment