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 classattribute 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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -