Finally, Listing 5 gives the code used to write the document representation to an output stream.
最后,清单5给出了用于将该文档表示转换为输出流的代码。
How do the data binding approaches compare in the amount of memory used for the document representation?
对数据绑定方法如何进行文档表示所使用的内存量的比较呢?
This article discusses the issues of document representation in multilingual information processing.
对多语言信息处理中的文本表示问题进行阐述。
Sensitive data selected in a textual document representation is mapped to the graphical document representation.
选中的以文本文档表示中的敏感数据会映射到图形文档表示。
Finally (line 7), I use the document builder to parse the input stream and construct the document representation.
最后(第7行),我使用文档构建器来对输入流进行语法分析并构造文档表示。
For building the document representation (lines 1-3), I use a SAXBuilder with validation disabled by the parameter value.
为构建文档表示(第1 - 3行),我使用带有由参数值禁止验证的SAXBuilder。
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.
在第一步,系统将文档转换成内部格式,它结合了图形化和文本化的文档表示。
Listing 3 USES the org.apache.axiom.om.impl.builder.StAXOMBuilder class to build the document representation by parsing an input stream.
清单3使用了or g .apache . axiom . om . impl . builder . staxombuilder类通过解析输入流来构建文档表示。
As you can see in Listing 6, dom4j USES a factory approach for constructing objects included in the document representation built from a parse.
正如您在清单6中看到的,dom 4 j使用一个工厂方法来构造文档表示(从语法分析构建)中包含的对象。
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行)处理对输入流的语法分析,以构建文档表示。
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规范涵盖了文档表示的所有类型的操作,但是它没有涉及例如对文档的语法分析和生成文本输出这样的问题。
These express methods correspond with a class of word, of sentence and of document representation. And the granularity of information is from slenderer to coarser grain-size.
这些方法分别对应于文本的词语级、句法级和文档级的信息表示,并且信息的粒度由细到粗。
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显示了测试序列中前两个步骤所需的平均时间的总和,即使用解析器构建文档,并遍历文档表示以检查其中的内容。
So perhaps also using a document as representation internally makes a better fit than other datastructures or objects themselves.
因此,也许用文档作为内部表示方式会比其他数据结构或对象更合适一些。
This feature adds complexity to XML processing, and seems more appropriate for use of XML in document processing than in data representation.
该特性增加了XML处理的复杂性,似乎更适合于在文档处理而不是数据表示中使用XML。
Interestingly, if not surprisingly, you will see in the XML versions of this document that the representation on the identical document is not unique.
有意思的是——如果不能算吃惊的话,您会从该文档的XML版本中发现同一文档的表示不是唯一的。
During the XML document parsing, the entity reference is replaced by its representation.
在XML文档解析过程中,实体引用将由它的表示替代。
Rendering support is required if an XML document is to have a visual representation.
如果XML文档需要可视化表示,那么对呈现的支持就是必要的。
Listing 3 gives the first sample, based on the code used to build the AXIOM representation of an input document.
清单3中提供了第一个示例,这个示例基于为输入文档构建AXIOM表示的代码。
A graphical representation of this same document is shown in Figure 4; some people find the latter easier to read.
图4给出同一文档的图形化表示;有些人觉得后一种形式更容易理解。
AXIOM provides a virtual document model it expands on demand, building only as much of the tree structure document model representation as has been requested by the client application.
AXIOM提供了一种可以按需扩展的虚拟文档模型,仅构建客户端应用程序所请求的树结构文档模型表示。
The "structure view" is a hierarchical tree representation of the document being edited in the main pane.
“结构视图”是在主窗格中被编辑的文档的分层树表示。
It provides a structural representation of an XML document, enabling users to access and modify its contents.
它为XML文档提供了一种结构化的表示方法,使用户可以访问和修改XML文档的内容。
It provides a structural representation of an XML document, enabling users to access and modify its contents.
它为XML文档提供了一种结构化的表示方法,使用户可以访问和修改XML文档的内容。
应用推荐