Generate a java class with Attribute name as per json or xml schema in android studio -
below xml schema want generate java class fast , quick instead of written manually. tool available generate class fast , quick in android studio or online tool.
i can find xml2csharp(http://xmltocsharp.azurewebsites.net/) site. site convert xml c# class. tool create java class.
<cas:serviceresponse xmlns:cas='http://www.yale.edu/tp/cas'> <cas:authenticationsuccess> <cas:user>test</cas:user> <cas:attributes> <cas:attribute> <cas:name>asdasd</cas:name> <cas:value>abv.com;</cas:value> </cas:attribute> <cas:attribute> <cas:name>client</cas:name> <cas:value>asdasd;sdemoqc;ims;medcost;tdemo;sdemotest;accoladelowes</cas:value> </cas:attribute> <cas:attribute> <cas:name>authenticationmethod</cas:name> <cas:value>org.jasig.cas.adaptors.jdbc.customquerydatabaseauthenticationhandler</cas:value> </cas:attribute> </cas:attributes> <cas:proxygrantingticket>pgtiou-asdasdas54521454asdasd-asdas</cas:proxygrantingticket> </cas:authenticationsuccess>
Comments
Post a Comment