更新时间:2022-02-19 02:07:47
如果您只想编写一个XML文档,可以精确控制元素,属性和其他文档组件的创建,您可以使用 XMLStreamWriter 。
If you just want to write an XML document having exact control over the creating of elements, attributes and other document components, you may use the XMLStreamWriter from the StAX API.