Mastering Development

Nested Classes with Same Name

I have an xsd schema which I converted to POJO using the xjc tool. The schema has nested complexTypes with same name but different attributes and elements. So, I ended up with a class like public class MyObject { // some variables public static Extension { private String A; private String B; public static Extension […]