Finally, Listing 5 gives the code used to write the document representation to an output stream.
最后,清单5给出了用于将该文档表示转换为输出流的代码。
The process of design is: requirement analyse, summary design, particular design and write the document.
设计过程包括:需求分析、 概要设计、详细设计、 文档编写等。
You just need to wrap a document around the XML element returned by the root of the object graph, and then use XMLOutputter to write the document out to the servlet response.
只需要在对象图返回的XML元素外面包装一个Document,然后用XMLOut putter把文档写入servlet响应即可。
应用推荐