Some try to achieve this with round-tripping solutions.
有些人用双向工程的解决方案来完成这项工作。
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.
正是这类问题使得往返非常复杂,真正实现要比说起来困难得多。
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完全遵循这些规则。
Specifically, you」ll learn how JAXB scores in the round-tripping arena.
具体来说,您将了解JAXB如何在往返的舞台上取得成功。
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.
其次,它强大的分析能力允许完全的代码来回转换,因此对源代码的修改几乎立即反映在图形化编辑器中。
This is the first step in testing out JAXB「s round-tripping capabilities.
这是测试jaxb往返能力的第一步。
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输出应该是等同的。
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.
但是许多工具包不那么严格地执行这项任务,结果危害了往返的语义等价性。
You also need a way to preserve the original type in case you need round-tripping later.
也需要一种能够保留原始类型以防以后需要返回时的方法。
Proper round-tripping doesn」t require that the input and output documents look the same; it just requires that they be semantically equivalent.
正确的往返不要求输入和输出文档看起来一致,只要求它们在语义上是等价的。
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分析了数据绑定中的几个重要概念,包括往返和语义等价。
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.
关联没有指定评估的任何方向,它们可以在多个方向下执行,这在你处理双向问题时是很有用的。
So while XMI might be considered the canonical representation of the model, nothing is lost when round-tripping from code to diagram.
所以尽管XMI可以被认为是模型的标準表示,但是在代码和图形之间来回切换并不会丢失任何信息。