I am using Simple xml framework, its amazing. It meets all my need except one, sometimes I need to store inner xml as value of field during deserialization of xml. For instance
<A>
<a1>1</a1>
<b>
<b1>1</b1>
<b2>2</b2>
<b3>3</b3>
</b>
</A>
in the above xml I need to store the node value of 'b' as value of the field in the class A. Is there some annotation or way to achieve this using Simple xml framework ??
It should look something like this
Class A{
String a1; //holds 1
String b; //holds <b><b1>1</b1><b2>2</b2><b3>2</b3></b>
}