这段代码的大部分都是样本文件代码:几个字段和一些 getter和setter 方法。
Most of this is just boilerplate code: several fields with getters and setters.
从清单3的示例WSDL文件代码片段中,您可看到定义的两个元素,接下来的两部分指向这些元素。
Looking at a snippet of the sample WSDL file in Listing 3, you'll see that there are two elements defined, followed by two parts pointing to those elements.
运行该命令后,系统将自动打开一个浏览器页面来显示文件更改情况,一旦文件代码发生改变,浏览器会自动重新加载该页面。
This command will open up a browser TAB and watch our code for file changes, so that anytime that we change our code, the browser will be automatically reloaded.
本例甚至没有用到服务器——您可以新建一个HTML文件,开始编写HTML代码。
This example doesn't even use a server — you can just create a new HTML file and begin writing the HTML code.
可以通过配置一个简单的XML文件来启用所有这些特性,而无需编写任何代码。
All these features can be enabled by configuring a simple XML file without writing any code.
清单8显示了构成该文件的代码。
这些文件的代码分别显示在清单1和清单2中。
The code for these files is shown in Listing 1 and Listing 2, respectively.
列表1. plugletsXML文件的代码。
清单4显示了用两种不同方法装入特性文件的代码。
Listing 4 shows the code for loading the properties file two different ways.
当您从单独的sql语句或从包含sql语句的文件生成代码时,可以指定参数类型。
When generating code from single SQL statements or from files containing SQL statements, you can specify parameter types.
清单7显示这个模块文件的代码,它注册一个URL作为测试和结果的源。
Listing 7 shows the code for the module file that registers a URL as a source of tests and results.
清单2包含一个文件模板定义代码示例。
Listing 2 contains a code example of defining a file template.
保存BPEL文件并生成部署代码。
她存取了所有与资产相关联的文件和代码,并下载了一份拷贝便于日后学习。
She has immediate access to all of the files and code associated with the asset and downloads a copy for further study.
两个标记文件的JSP代码将在本文的稍后部分给出。
The JSP code of both tag files is presented later in this article.
您可以认为,UNIX和Linux编程实际上是编写处理各种文件的代码。
You could say that the very sine qua non of UNIX and Linux programming is writing code to deal with files.
首先创建一个新目录,将本文提供的代码文件提取到这个目录中。
First you create a new directory, into which you extract the code file supplied with this article.
你可以用文本模板来生成文本的输出,例如代码文件和HTML报表。
You can use text templates to create text artifacts such as code files and HTML reports.
列表3.一个声明自定义扩展的XML插件程序文件的代码示例。
Listing 3. Example of code for an XML plug-in file that declares the custom extension.
而读取文件的代码应该检查这个版本号,以保证版本号小于或者等于当前版本,否则就会抛出一个异常。
And the code that reads the file should check to make sure that the version number is less than or equal to its current version and throw an exception if it's not.
通过双击这些元素,您可以到达源文件中相应的代码元素。
By double-clicking these elements, you can reach the corresponding code elements in the source files.
每个文件都把代码组织到项目中并详细说明该项目依赖于哪些其他项目。
Each file organizes the code into a project and specifies what other projects it depends on.
用于在数据库中查询与某个特定用户相关联的文件的PHP代码如下所示。
The PHP code to query the database for the files associated with a particular user is shown below.
静态文件、模板和代码都来自磁盘,组成数据库的数据表和索引也来自磁盘。
Static files, templates, and code are served from disk, as are the data tables and indexes that make up the database.
包含目标代码的文件。编译器或汇编器的输出。
A file containing object code. The output of a compiler or assembler.
当Grails执行这个web . xml文件时,此代码就会运行。
最后在StefanWick的协助下,Julie还提供了一段可以将InkObject转化为PNG文件的代码。
Finally, with the help of Stefan Wick, she offers code that converts the InkObject into a PNG file.
在解析一系列的日志文件时,代码创建Log对象的Vector,每个日志文件都有一个 Log对象。
While parsing a series of log files, the code creates a Vector of Log objects, with one Log object per log file.
更妙的是,我可以在浏览器中打开一个覆盖率文件并查看测试用例所覆盖的代码行。
Better still, I can open a coverage file in my browser and see exactly which lines of code my test cases cover.
后置处理是数控编程的重要环节,它的作用是将CAM系统生成的刀轨文件转化为机床的加工代码。
The post processing is an important part in the programming of numerical control, by using it, the cutter location file from CAM system can be converted into machining code.
应用推荐