1·Your goal is to create a converter that is easy to extend to handle additional formats and that keeps logic for any particular input or output format as separate as possible.
我们的目标是创建一种转换器,既能轻松进行扩展来处理额外格式又能尽可能地将任何特定的输入或输出格式的逻辑保持分离。
2·We prefer the latter option because it allows us to simply associate a custom converter (with built-in validation logic) with a specific object type and have JSF handle that object type.
我们偏向后一种方法,因为 它让我们可以将自定义转换器(自带验证逻辑)与特定的对象类型相关联,并让 JSF 处理这种对象类型。
3·In this case, you would either have to write a custom validator, as well, or simply include any special validation logic in the custom converter.
在这种情况下,要么编写自定义验证器,要么在自定义转换器中添加一个特别的验证逻辑。
4·The code snippet shown in Listing 7 is a test driver that exercises the xml2json converter logic.
清单7中的代码片段是一个用于执行xml2json转换器逻辑的测试驱动程序。
5·If you want to stay "pure" to MVVM, in general, it'd be better to build a converter, which keeps the logic completely within the presentation layer (View).
如果你还想留下来“纯”MVVM,一般来说,最好建立一个转换器,使逻辑完全在表示层(视图)。
6·Have introduced the improvement of converter control system in detail, the key logic relation of every link after elaborates improvement.
详细介绍了转炉控制系统的改进,重点阐述改进后每个环节的逻辑关系。
7·Inside the core there are three important models, such as digital-to-analog converter (DAC), voltage comparator and some other digital logic units.
内核部分又分为三个功能模块,如数摸转换器(DAC),电压比较器和数字逻辑单元。