documentBuilder
时间: 2023-08-30 14:10:06 浏览: 161
DocumentBuilder是用于创建和解析XML文档的Java类。通过调用工厂方法factory.newDocumentBuilder(),可以创建一个DocumentBuilder对象。 DocumentBuilder内部维护了一个游标Cursor,可以通过调用DocumentBuilder的MoveToXXX方法来指向需要的位置,比如DocumentBuilder.MoveToDocumentStart和DocumentBuilder.MoveToField等。 另外,通过调用builder.newDocument()方法,可以创建一个新的Document对象。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Java——DOM方式生成XML](https://blog.csdn.net/u012325167/article/details/50943202)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Aspose.words编程指南之DocumentBuilder一](https://blog.csdn.net/sinat_30276961/article/details/48267741)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文