XMLOutputter 有这样的构造函数么?
XMLOutputter outputter = new XMLOutputter(" ", newline, encoding);
*******************************************************************
下面是api文档中给出的三个构造函数的说明,没有大哥你说的那样的构造啊
Constructor Summary
XMLOutputter()
This will create an XMLOutputter with the default Format matching Format.getRawFormat().
XMLOutputter(Format format)
This will create an XMLOutputter with the specified format characteristics.
XMLOutputter(XMLOutputter that)
This will create an XMLOutputter with all the options as set in the given XMLOutputter.