运行资源类以生成不同的输出类型。
Run the resource class to produce different types of output.
步骤5:定义XML输出类型。
每个输出类型定义都有一个惟一名称。
步骤2:使用新的输出类型链接路由
选择转换的输入和输出类型。
步骤1:激活JSON输出类型
其次,您需要指定方法的输入和输出类型。
Second, you need to specify the input and output types for the method.
该表总是包含100行,与输出类型无关。
This table always contains 100 rows independently from the output type.
该表中所生成的行的数量与输出类型无关。
The number of rows produced in this table is independent from the output type.
步骤3:在视图中添加新的输出类型支持。
和路由一样,输出类型配置也用XML表示。
第一个参数是输出类型,即XML或者HTML。
一旦您指定了输入和输出类型,单击Next按钮。
Once you specify the input and output types, click the Next button.
换句话说,一项任务不应有太多的工作产品输出类型。
In other words, a task shall not have too many different output work product types.
步骤1:定义输出类型以及任何标头、渲染器和布局。
Step 1: Define the output type, together with any headers, renderers, and layouts.
在输入类型树和输出类型树之间创建一个映射。
尽管第一种方法比较方便,但它不能处理不同的输出类型。
While the first method is convenient, it falls flat when working with different output types.
图形用户界面(GUI)在输出类型方面提供很大的灵活性。
The graphical user interface (GUI) provides you with the greatest amount of flexibility when it comes to the types of output.
接下来,定义一种新的JSON输出类型(清单22)
ErrorViews可以处理多种输出类型,但Action办不到。
And ErrorViews can handle multiple output types, while Actions cannot.
在本例中我的输出类型和reduce实现所用的是同一个类型。
My output types in this case are the same ones used for my reduce implementation.
数据处理程序负责将操作的输入和输出类型转换为有线使用的格式,反之亦然。
A Data Handler is responsible for transforming the input and output types of an operation to the format used on the wire and visa versa.
转换器可以接受各种输出类型,并且这些类型在多个out put标记中进行定义。
A convertor can accept various output types, and these types are defined in the multiple output tags. Here is an example.
这一运行的结果与输出类型设置为StatisticsOnly的规则的结果相同。
The result of this operation is the same is if the rule had been run with its output type set to Statistics Only.
如果输出类型为allrecords,那么,表包含所有已评估记录,与规则的结果无关。
If the output type is all records, then the table contains all of the evaluated records, independently from the result of the rule.
如果输出类型为Statisticsonly,那么会创建表,但是会在执行的最后移除表。
If the output type is Statistics only, then the table is created, but then removed at the end of the execution.
然后,更新这个应用程序的路由表并为新的XML输出类型建立一个“全部捕获”路由(见清单12)。
Then, update the application's routing table and set up a catch-all route for the new XML output type (Listing 12).
如果没有完成上述过程,可以在本文结束部分下载Order .xsd文件,并使用它创建输出类型树。
Download the Order.xsd file at the bottom of the article if you have not already done so and use it to create the output type tree.
只有在需要多种表示输出类型,并且输出类型被单一的控制器及后端支持时才使用XML/XSLT。
Use XML/XSLT only in cases where you have multiple presentation output types that must be supported by a single controller and back-end.
这个路由放置在路由表的顶端,匹配所有以.xml后缀结尾的请求,并设置这些请求以使用xml输出类型。
This route, placed at the top of the routing table, matches all requests ending with the.xml suffix and sets them up to use the XML output type. That's not all it does though.
应用推荐