Finally, Listing 5 gives the code used to write the document representation to an output stream.
最后,清单5给出了用于将该文档表示转换为输出流的代码。
Sensitive data selected in a textual document representation is mapped to the graphical document representation.
选中的以文本文档表示中的敏感数据会映射到图形文档表示。
The second fragment is a recursive method to actually walk through the document representation and perform the modifications.
第二段是真正遍历文档表示和执行修改的递归方法。
In the first step, the system converts a document into an internal format that combines a graphical and textual document representation.
在第一步,系统将文档转换成内部格式,它结合了图形化和文本化的文档表示。
As I indicate in the comments, the first block of code (lines 1-5) in Listing 1 handles parsing an input stream to build a document representation.
正如我在注释中指出的,清单1中的第一块代码(第1 - 5行)处理对输入流的语法分析,以构建文档表示。
This article discusses the issues of document representation in multilingual information processing.
对多语言信息处理中的文本表示问题进行阐述。
Next, each document object is "walked," meaning the code scans the entire document representation (including all attributes, values, and text content).
接下来,对每个文档对象进行遍历,这意味着代码将扫描整个文档表示(包括所有的属性、值和文本内容)。
The DOM specification covers all types of manipulations of a document representation, but it does not cover issues such as parsing a document and generating text output.
DOM规范涵盖了文档表示的所有类型的操作,但是它没有涉及例如对文档的语法分析和生成文本输出这样的问题。
Once I've got a parser instance I can set the input to the parser and actually build the document representation (lines 5-8), but this involves more steps than for the other models.
一旦获取了分析器实例,我就能将输入设置到分析器中,并真正构建文档表示(第5 - 8行),但是这涉及比其它模型更多的步骤。
The factory interface includes methods to build a document from various sources directly, and includes methods for creating individual components of the XML document representation.
这个工厂接口包括用于从各种来源直接构建文档的方法、用于创建XML 文档表示的不同部分的方法。
Figure 4 shows the time from just the initial document construction in AXIOM, compared with the corresponding time for the other document models to build the document representation.
图4显示了在AXIOM中初始文档构建的时间,并与其他文档模型构建文档表示所需的时间进行了比较。
The main differences here are that I save the DocumentFactory used to build the dom4j document representation (line 5) and flush the writer after outputting the modified document text (line 10).
这里的主要区别是我保存了用来构建dom4j文档表示的DocumentFactory (第 5 行),并在输出已修改的文档文本之后刷新了writer(第 10 行)。
Figure 1 shows the sums of the average times required for the first two steps in the test sequence, building a document from the parser, and walking the document representation to check the content.
图1显示了测试序列中前两个步骤所需的平均时间的总和,即使用解析器构建文档,并遍历文档表示以检查其中的内容。
Figure 1 shows the sums of the average times required for the first two steps in the test sequence, building a document from the parser, and walking the document representation to check the content.
图1显示了测试序列中前两个步骤所需的平均时间的总和,即使用解析器构建文档,并遍历文档表示以检查其中的内容。
应用推荐