java - Use lombok with @XmlElement -
how can use lombok in conjunction @xmlelement
tags can unmarshall object?
i have 20 properties, i'm looking not write explicit getter , setter each xmlelement
tags on setters.
this gets job done:
@data @xmlrootelement(name = "root") @xmlaccessortype(xmlaccesstype.field) // update: need or else exception public class data { @xmlelement(name = "test") public double testdata; }
Comments
Post a Comment