You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to parse an xml string to java bean.
tags in xml sring contain attribute "class", just like this<parameter name = "age" value="10" class="java.lang.String"/>.
my java bean for parameter just like this: @Root(xxx) public Parameter{ @Attribute(name = "name") private String name; @Attribute(name = "value") private String value; @Attribute(name = "class") private String jClass; }
As shown above, the field 'jClass' doesn't work at all.
The text was updated successfully, but these errors were encountered:
I want to parse an xml string to java bean.
tags in xml sring contain attribute "class", just like this
<parameter name = "age" value="10" class="java.lang.String"/>
.my java bean for parameter just like this:
@Root(xxx) public Parameter{ @Attribute(name = "name") private String name; @Attribute(name = "value") private String value; @Attribute(name = "class") private String jClass; }
As shown above, the field 'jClass' doesn't work at all.
The text was updated successfully, but these errors were encountered: