如图38所示,使用清单6中的文本替换包名和类名。
Substitute the package name and class name, shown in Figure 38, with the text shown in Listing 6.
文本替换是一种有效但是却非常有限的特性。
Textual substitution is a useful, but fairly limited feature. This feature has these problems.
这包括通用文本替换系统,以及领域特有的程序和函数生成器。
This included generic textual-substitution systems, as well as domain-specific program and function generators.
文本替换在与其他表达式一起使用时,可能会变得非常混乱。
Textual substitution can get very messy when used in combination with other expressions.
现在让我们把注意力从通用的文本替换程序转移到专用的代码生成器上来。
Now let's turn our attention from generic textual-substitution programs to highly specialized code generators.
记住,预处理器并不了解C语言的任何内容,它只是简单地进行文本替换。
Remember, the preprocessor knows nothing about the C language and is just doing text substitutions.
通过用一个单行编辑控件所包含的文本替换该项的文本来完成编辑。
The editing is accomplished by replacing the text of the item with a single-line edit control containing the text.
菜单项宏可以包含{和}宏,它们将分别由链接url和链接文本替换。
Menu Item macros can contain {u} and {t} macros, which will be replaced by link URL and link Text respectively.
这个文本替换note - detail结果文档divelement的内容。
This text replaces the content of the note-detail result document div element.
在运行命令时,您需要将斜体表示的文本替换为相应的值,否则就会获得错误和意外结果。
When running the commands, replace the italicized text with the appropriate value, or you'll get errors and unexpected results.
使用性能比较特性,您现在可以比较您的应用程序的动态执行和使用文本替换的静态执行的性能。
Using the performance compare features, you can now compare the performance of your application between dynamic execution and static execution with literal replacement.
将CICS - renderingset应用到应用程序中的其他屏幕,这些屏幕无需将第13行文本替换为一个“Submit”按钮。
Also apply CICS-renderingset to other screens in your application that do not require text replacement at line 13 with a Submit button.
理想情况下,要重新格式化每一行,AlignAssignments将使用内置的substitute函数,并使用经过printf重新整理后的文本替换运算符之前的所有内容。
Ideally, in order to reformat each line, AlignAssignments would use the built-in substitute function, and replace everything up to the operator with a printf'd rearrangement of that text.
您可以获得某个标记内的所有信息并替换它,或者您也可以将所有文本变成小写的。
You can get all the information within a certain tag and replace it, or you can turn all the text to lowercase.
现在可以重复地评估文本来根据需要替换标记。
Now we can repeatedly evaluate the text to replace the tokens as needed.
内置的操作符使得文本搜索、替换和模式匹配轻而易举。
The built-in operators make text searching, replacing, and pattern matching effortless.
这里我们需要将选中的文本包装到选定的样式标签中,并使用这个新的字符串替换文档里选中的文本。
Here, we need to wrap the selected text into the selected style tags and replace the selected text in the document with this new string.
也可以把作者信息的隐藏输入表单替换为文本输入表单。
Likewise, you could simply replace the hidden input forms for the author information with text inputs.
在您获取文本之后,您就使用蒙版名来替换匹配蒙版文本的所有实例(如果需要蒙版的话),如代码清单4所示。
After you extract the text, you then replace all instances of text that match the mask with the mask name (if a mask is required), as shown in Listing 4.
要替换的文本和实际替换文本均在部署描述符中配置。
The text to be replaced and actual replacement text will be configured in the deployment descriptor.
它带两个参数——替换文本节点和被替换的子元素。
This takes in two parameters — the replacement text node and the child element that it's replacing.
例如,该聚合器查询属性以显示合适的图标或替换文本。
For instance, the aggregator queries the attributes to display appropriate ICONS or alternate text.
W3C的HTML5规范(草案)明确指出了这一点,并详细示范了如何撰写基于功能和上下文的替换文本。
The W3C HTML5 Specification (Working Draft) explicitly recognizes this and provides detailed examples for alt text depending on the function and context of the image.
表达式中的问号(?)将由目标节点的现有文本值替换。
The question marks (?) in the expression are replaced with the existing text value of the target node.
当您打开指示的模板时,下一个将会被替换的文本将会得到下划线强调显示。
When you open the indicated template, the text to be replaced is underscored.
在以下示例中,第2行的文本被替换为新的文本行。
In the example below, the text at line 2 is replaced with new line of text.
如果省略了text且不存在要替换的现有文本值,更新命令就会失败。
If text is omitted and there is no existing text value to replace, the update command fails.
通过自引用XSLT文档(使用document('')的特殊形式),变量wsbuf设置为替换文本。
The variable wsbuf is set up with the replacement text by introspection into the XSLT document (using the special meaning of document('')).
第一步,使用Infoset中的二进制元素替换文本元素。
The first step is to replace the text elements with binary elements in Infoset.
第一步,使用Infoset中的二进制元素替换文本元素。
The first step is to replace the text elements with binary elements in Infoset.
应用推荐