我们的目标是创建一种转换器,既能轻松进行扩展来处理额外格式又能尽可能地将任何特定的输入或输出格式的逻辑保持分离。
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.
我们偏向后一种方法,因为它让我们可以将自定义转换器(自带验证逻辑)与特定的对象类型相关联,并让JSF处理这种对象类型。
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.
在这种情况下,要么编写自定义验证器,要么在自定义转换器中添加一个特别的验证逻辑。
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.
清单7中的代码片段是一个用于执行xml2json转换器逻辑的测试驱动程序。
The code snippet shown in Listing 7 is a test driver that exercises the xml2json converter logic.
如果你还想留下来“纯”MVVM,一般来说,最好建立一个转换器,使逻辑完全在表示层(视图)。
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).
内核部分又分为三个功能模块,如数摸转换器(DAC),电压比较器和数字逻辑单元。
Inside the core there are three important models, such as digital-to-analog converter (DAC), voltage comparator and some other digital logic units.
仅使用两个转换器形成胶连逻辑,一个8位微处理器和两个12位DAC实现256级QAM。
Using just two inverters for glue logic , an 8-bit microcontroller and two 12-bit DACs enable 256-level QAM.
根据组合逻辑电路的设计方法,突出用卡诺图化简逻辑表达式在并联比较型A/D转换器编码电路设计中的应用。
To stress the application of Karaugh map on designing of coding circuits in parallel-comparator ADC in terms of the design of combinational logic circuits.
介绍一种针对正、余弦旋转变压器数字转换器(RDC)模块,用复杂可编程逻辑器件(CPLD)技术实现伺服轴角编码电路设计的方案。
This paper introduces the technology scheme to design radar servo shaft encoder circuit by using CPLD on the rotary transformer and RDC module.
本文通过对三相积分式数模转换器控制逻辑的设计来说明这种设计方法。
The application of this method is done and is illustrated in this paper through a practical design of a control logic for a three phase analog-digital con...
本文通过对三相积分式数模转换器控制逻辑的设计来说明这种设计方法。
The application of this method is done and is illustrated in this paper through a practical design of a control logic for a three phase analog-digital con...
应用推荐