They transform code in one formal language to code in another formal language.
他们变换编码在一个正式的语言的代码在另一个形式语言。
The idea behind the controller is to provide code that can use XQJ to query and transform the aforementioned XML document.
控制器的目的就是提供能够使用XQJ进行查询的代码,并转换刚才提到的XML文档的格式。
An example of a transform would be from an analysis model to a design model and then perhaps from the design model to code.
转换的一个例子就是从分析模型转换为设计模型,可能还随后从设计模型转换为代码。
To what extent do you share the core intent of MDD - create a formal model and mathematically transform that model into correct and executing code?
你在何种程度上对MDD的核心意图进行了分享呢——是创建正式的模型,并且以数学的方式把模型转换为正确可执行的代码吗?
Now, with JAXP 1.3, you can parse, validate, and transform XML without ever writing a line of vendor-specific code.
现在,使用JAXP 1.3可以解析、验证并转换XML,而无需编写一行特定于开发商的代码。
Listing 4 gives the next piece of code for the transform method.
清单4给出了转换方法的下一段代码。
A TPM file contains the metadata that describes how to transform a UML file to EGL code.
一个TPM文件包含描述如何把UML文件转换成egl代码的元数据。
Take a look at the comments in the code to see what the transform method does (Listing 4).
看一下代码中的注释就会明白转换方法的作用(清单4)。
Listing 3 has the first piece of code for the transform method.
清单3是转换方法的第一段代码。
The resulting code for handling all aspects of this lookup was straightforward but rather unwieldy, especially if you happen to have multiple tables that you want to use throughout a transform.
处理这类查找的代码非常简单但是相当笨拙,尤其是在转换中使用多个表的时候。
Listing 1. Code for creating a transform class.
列表1.创建一个转换类的代码。
We then created a page design element within the Notes database, which contained the XSLT style sheet code that would transform the XML document into an SQL statement.
然后我们在Notes数据库中创建一个页面设计元素,它包含了将XML文档转换成sql语句的xslt样式表代码。
Struts 2 OGNL expressions reduce the difficulty of writing complex code to transform single-level form beans to multi-level domain objects.
Struts2OGNL表达式减小了编写复杂代码、将单级表单beans转换为多级域对象的难度。
XQuery provides you with a way to map, or transform, your existing schema to the RosettaNet format without having to write a huge library of new code.
XQuery提供了一种方法,可以将现有的模式映射或转换到rosettanet格式,而不需要编写大量的新代码库。
XQuery's ability to transform XML output can be combined with its built-in support for conditional logic to reduce the complexity of application code.
XQuery的XML输出转换功能可以与它内置的对条件逻辑的支持相结合,以减少应用程序代码的复杂性。
Looking at the HTML code in Listing 8, by simply attaching a percentSort class to the table, you can transform the entire functionality and look of the table.
看看清单8中的HTML代码,仅通过将一个percentsort类添加到表,您就可以显著改变表的功能和外观。
Once these code tables are created, they are very easy to use in a transform. The XSLT 2.0 transform to use these values would contain the following lines
创建这些编码表之后,在转换中使用它们是非常容易的。
Once you have the basic sample code for a service constructed, it's very easy to fill in more details and transform the data model to fit the needs of different stakeholders.
一旦你有了服务构造的基本例程,那么在其中填入更多的细节和转换数据模型以适合不同受益者的需要将是非常容易的事情。
Some are used to transform a UML model into source code.
其中的一些用于将一个uml模型转化为源代码。
The PHP code used within a template is used exclusively to transform the data into a well-structured XHTML content fragment that is easily styled using CSS.
模板中的PHP代码专门用来将数据转换为结构良好的XHTML内容片段,从而可以使用css轻松地应用样式。
How to transform the bad code into good code?
如何对糟糕的代码进行优化?
After a transform to topic, the code should look something like Listing 11.
转换成主题后,代码类似于清单11。
The JDBC DMS lets you retrieve and manipulate data from a back-end JDBC data source without having to write the code needed to transform data from an SQL result set into usable business objects.
使用JDBCDMS,您可以从后端 JDBC数据源检索和操作数据,而不必编写将数据从SQL结果集转换为可用的业务对象所需的代码。
Transform Shape is the code that sets the file name.
邮件内转让的形状是代码,设置文件的名称。
The default option for generating the code is to sort by visibility order. The sort by visibility order dumps the code generated by the transform according to its visibility.
生成代码在默认情况下是根据可见性进行排序的。
The UML-to-C# transform, like some of the other model-to-code transformations, can be extended.
UML 到 C#转换,如同其他一些模型到代码转换一样,可以被扩展。
It USES an array of functions (cellfuncs in the code) where each function is used to extract and transform the data so it can be put into a table cell.
它使用了一个函数(此段代码中的cellfuncs)数组,其中的每个函数都用来压缩或转换数据,以便将数据放入表的单元格内。
Moreover, a new tool called "2to3" which is a Python program that reads Python 2.x source code and applies a series of fixers to transform it into valid Python 3.x code. Guido also added.
另外,有一个新工具叫做“2to3”,可以阅读Python 2 .x的源代码,并执行一系列的修补器,来将代码转换为Python 3 . x的代码。
You hope eventually to transform the data into an HTML page that groups users by interests and presents e-mail contacts for people of similar interests. XSL can do this handily with the following code
最终,您希望将数据转换成HTML页面,该页面根据兴趣对用户进行分组并向有相似兴趣的用户提供电子邮件联系方式。
Let's take a quick look at some code demonstrating errno and a couple of functions that you can use to transform that error code into something more human-readable.
让我们快速地了解一些代码演示errno的情况,并了解可用于将错误代码转换成可读性更强的内容的几个函数。
应用推荐