清单2继续为指定的用户朋友检索朋友。
Listing 2 continues the retrieval of friends for the specified users friends.
您能够使用清单6中所示代码行来为缺失的参数指定默认值。
You can use the line of code shown in Listing 6 to specify a default value for an argument that is absent.
清单9的输出给出了泛型类型是如何参数化使用的基本情况,包括为在dirinfo类中列出的m_files和m_directories项指定的类型。
The Listing 9 output gives the basics of how generic types are parameterized for use, including the types of items specified for the m_files and m_directories lists in the DirInfo class.
请注意,为run - as - subject下的realm指定的值与清单11中的realm元素的name属性匹配。
Notice that value specified for realm under run-as-subject matches the name attribute of the realm element in Listing 11.
清单2中的例子使用了一个新属性:media,该属性为关联的样式信息指定预期的目标媒体。
This example in Listing 2 makes use of a new attribute: media, which specifies the intended destination medium for the associated style information.
清单2中的例子使用了一个新属性:media,该属性为关联的样式信息指定预期的目标媒体。
This example in Listing 2 makes use of a new attribute: media, which specifies the intended destination medium for the associated style information.
请注意,为default - subject下的realm指定的值与清单11中的realm元素的name属性匹配。
Notice that value specified for the realm under default-subject matches the name attribute of the realm element in Listing 11.
另请注意,为run - as - subject下的id指定的值与清单11中的主体之一的id匹配。
Also, note that the value specified for id under run-as-subject matches one of the subject's id in Listing 11.
对于Oracle、DB 2或MySQL数据库,您需要使用一般资源适配器,它允许您为JDBC驱动程序指定Driver和ConnectionURL(清单5)。
For Oracle, DB2 or MySQL database, you need to use the generic resource adapter that allows you to specify the driver and ConnectionURL for the JDBC driver (Listing 5).
如果您回顾一下清单1的服务文档,您会发现categories元素指定categories为fixed。
If you go back in the service documenting Listing 1, you will see that the categories elements specify that the categories are fixed.
改变表单元素并指定一个值为 cea.widget.TwoWayForm 的ceadojoType 元素,如清单8 所示。
Alter the form element and specify a ceadojoType attribute with a value of cea.widget.TwoWayForm, as shown in Listing 8.
您还可以具体指定一个publishintent属性,如清单7所示,其值为unknown,publish,或者do_not _ publish(默认值为publish)。
You can also specify a publishIntent attribute, as shown in Listing 7, with a value of unknown, publish, or do_not_publish (the default is publish).
在我们的示例中,这个值为8000,它匹配使用清单1中的参数启动远程工作台时所指定的端口。
In our example, this value is 8000, matching the port specified when launching the remote workbench with the arguments in Listing 1.
比如说,我们可以指定输入必须为整数(如清单3所示)。
For example, you can specify that inputs must be integers (see Listing 3).
xml还允许文档中包含多种语言,可使用xml:lang为每个元素及其子元素指定不同的语言,如清单2所示。
XML also supports documents which contain more than one language and you can use XML: lang to specify different languages for individual elements and their children as shown in Listing 2.
DSN5SCLP要求为每个操作指定db 2位置名称(清单中为STLEC1),其中db2se需要一个数据库的名称。
DSN5SCLP requires that you specify the db2 location name — STLEC1 in the listing — for each operation, where db2se expected the name of a database.
为了替换标签,必须为其指定id属性,如清单6所示。
To replace the tag, you must assign it an id attribute, as shown in Listing 6.
为指定客户机端点和传输协议创建HelloWorldTXConsoleClient . exe . config文件,如清单3所示。
Create a HelloWorldTXConsoleClient.exe.config file, as shown in Listing 3, for specifying the client endpoint and transfer protocols.
另请注意,为default - subject下的id指定的值与清单11中的主体之一的id匹配。
Also, note that the value specified for the id under default-subject matches one of the subject's id in Listing 11.
接下来要做的就是呈现feed,实现方式是将feed解析为feedservlet的参数,并指定rss作为输出,如清单7所示。
All what we need to do is to render the feed by passing the feed class as a parameter to the feed servlet and specify RSS as an output as shown in Listing 7.
清单1 中的方法(上一篇文章 中的清单13的修订版)为指定的var生成了get/set方法对。
The approach in Listing 1 (a revision of Listing 13 from my previous article) generates the get/set method pairs for the var specified.
清单1 中的方法(上一篇文章 中的清单13的修订版)为指定的var生成了get/set方法对。
The approach in Listing 1 (a revision of Listing 13 from my previous article) generates the get/set method pairs for the var specified.
应用推荐