Convert any Java class to XML / doesnt contain ObjectFactory.class or jaxb.index

后端 未结 0 1061
一向
一向 2020-12-12 19:08

I have such function for converting any Java class to XML:

public String convertToXML(Class anyJavaClass){
    StringWriter stringWriter = new StringWriter();         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题