Specifically, you'll learn how JAXB scores in the round-tripping arena.
具体来说,您将了解JAXB如何在往返的舞台上取得成功。
This is the first step in testing out JAXB's round-tripping capabilities.
这是测试jaxb往返能力的第一步。
You also need a way to preserve the original type in case you need round-tripping later.
也需要一种能够保留原始类型以防以后需要返回时的方法。
Round-tripping is perhaps the most important, and most misunderstood, of data binding terms.
往返(Round-tripping)可能是最重要也最容易误解的数据绑定术语。
Round-tripping is the term used to describe a complete cycle, from storage medium into memory and back.
往返用于描述从存储媒介到内存然后回到存储媒介的完整循环。
Effective round-tripping ensures that the input and output documents are identical (semantically equivalent).
有效的往返保证输入和输出文档是相同的(语义等价)。
However, many packages handle these tasks loosely, and semantic equivalence and round-tripping suffer as a result.
但是许多工具包不那么严格地执行这项任务,结果危害了往返的语义等价性。
What's even more concerning, at least to me, is that this can create a problem that goes beyond simple round-tripping.
更加需要关注的是,至少对我而言,这样可能造成超出单次往返过程的问题。
It's these sorts of issues that make the process of round-tripping very complex, and a lot easier to talk about than to implement.
正是这类问题使得往返非常复杂,真正实现要比说起来困难得多。
Proper round-tripping requires that the XML input and the XML output be identical, assuming that no data has been changed in the interim.
正确的往返要求,如果中间没有修改数据,XML输入和 XML输出应该是等同的。
So while XMI might be considered the canonical representation of the model, nothing is lost when round-tripping from code to diagram.
所以尽管XMI可以被认为是模型的标准表示,但是在代码和图形之间来回切换并不会丢失任何信息。
Proper round-tripping doesn't require that the input and output documents look the same; it just requires that they be semantically equivalent.
正确的往返不要求输入和输出文档看起来一致,只要求它们在语义上是等价的。
So now figuring out if your API does proper round-tripping requires that you know the basics of XML, and ensure that those rules are being followed by your API.
因此现在要指出的是,如果说API能正确地往返,这就要求您了解XML的基础,并且保证您的API完全遵循这些规则。
If the input and output don't match up properly, then you've got a problem with round-tripping, and trying to actually work with your API could get tricky fast.
如果输入和输出不能正确地匹配,就说明往返中存在问题,实际应用这种API很快就会陷入困境。
The relations do not impose any direction of evaluation and can be executed in multiple directions, which can be useful when you're dealing with round-tripping issues.
关联没有指定评估的任何方向,它们可以在多个方向下执行,这在你处理双向问题时是很有用的。
For another, its powerful parsing abilities allow full round-tripping of code, so changes made to the source code are reflected nearly immediately in the graphical editor.
其次,它强大的分析能力允许完全的代码来回转换,因此对源代码的修改几乎立即反映在图形化编辑器中。
Read the first installment of the Practical data binding column in which Brett examines several important concepts in data binding, including round-tripping and semantic equivalence.
阅读实用数据绑定专栏的第一篇文章,Brett分析了数据绑定中的几个重要概念,包括往返和语义等价。
There is also the scenario of round-tripping; even if the ideal lifecycle is followed, at some future time there will be updates to the model after the process is deployed. For example.
这里还有循环往返的场景;即使遵循理想的生命周期,将来也可能要在部署流程以后对模型作出更新。
With an input and output file, it's now possible to see how JAXB does at round-tripping, by comparing the files to each other (remember that the original file was shown back in Listing 1).
现在有了输入和输出文件,通过互相比较可以看看JAXB在往返中是如何工作的(原始文件如清单1所示)。
No round tripping: there's no "round trip" support for iterative model changes, because the generated code is static.
不能往返:对于模型反复进行的更改不支持 “往返” 操作,这是因为所生成的代码是静态的。
The quality of a data binding API's round tripping capabilities is measured by how closely the input and output documents match up.
数据绑定往返能力的质量通过输入和输出文档匹配的程度衡量。
The idea of round tripping is the continuous switching between the BPMN analysis model and the executable process.
双向工程的思想是在BPMN分析模型和可执行过程之间可以不断地切换。
The idea of round tripping is the continuous switching between the BPMN analysis model and the executable process.
双向工程的思想是在BPMN分析模型和可执行过程之间可以不断地切换。
应用推荐