So how can I link the statically compiled code to the generated class?
那么如何将静态编译的代码链接到生成的类呢?
In the sections on each data binding framework I'll show the generated class structures for comparison purposes.
为了进行比较,我将在有关各个数据绑定框架章节中显示生成的类结构。
Before you look in detail at the transform, amend the rule class to invoke this generated class.
在您详细察看转换之前,我们先要修正规则类,使其能够调用刚刚产生的类。
Naturally, the application may need to extend the generated class by either derivation or encapsulation for its own purposes.
无疑,应用程序可能需要根据其用途通过派生或封装对生成的类进行扩展。
The basic solution is to define a base class or interface that can be accessed by the statically compiled code, then extend that base class or implement that interface in the generated class.
基本的解决方案是定义可以用静态编译的代码访问的基类或者接口,然后生成的类扩展这个基类或者实现这个接口。
And it is generally not a good idea to manually modify the generated class file for a typed DataSet.
而且对类型化数据集来说,手动修改生成的类文件通常不是一个好主意。
This option is helpful to advanced users who, once the component class is generated, choose to manually adjust the class.
这个选项对高级用户是非常有帮助的,一旦这个组件类生成,这些用户就会选择手工调整这个类。
Also, select a package name for the generated proxy class.
同样地,为生成的代理类选择包名。
Here is the generated test case class for our simple example.
下面是我们的简单示例所生成的测试用例类。
The new validator class is now generated and opened in the workspace.
新确认器类现在得到了生成,并在工作区中打开。
If you map a UML class in the mapping model to a different name, you change the name of the file in which it will be generated but not the generated class in the file.
在映射模型中,假如您想将一个UM l类映射为另外的名称,您需要改变其将要生成文件的名称,而不是类名。
WSDL for these services is frequently generated from class models.
这些服务的WSDL通常从类模型生成。
Now that I've demonstrated the reflection version of the code, I'll show you how to substitute a generated class for the use of reflection.
我已经展示了反射版本的代码,现在要展示如何用生成的类来取代反射。
Listing 7. Generated Code for a template class.
列表7.为一个模板类所生成的代码。
Listing 2. Generated class after the no wrapped style option is enabled.
列表2.选择无包装类型选项后产生的类就被激活。
Note: the service stereotype in the generated session bean class does not appear correctly.
注意:所产生的sessionbean类的service并没有被正确的显示出来。
As we can see, Application Developer provides a neat way to test and inspect the newly generated proxy class using the IBM EJB test client.
如我们所见,Application Developer提供了一种使用IBMEJB测试客户机测试和检查新生成的代理类的简捷办法。
You can then use the generated Greeting class in Python code, just as if you had defined a generic Template with the contents of greeting.tmpl.
然后,您可以在Python中使用生成的greeting类,就像您已经使用Greeting .tmpl的内容定义了一个通用Template一样。
A Web Reference is essentially a generated proxy class that locally represents the exposed functionality of a Web service.
Web引用本质上是生成的代理类,这个代理类在本地代表Web服务公开的功能。
Modifying the generated source portlet class.
修改生成的源portlet类。
After extending org.eclipse.ercp.eworkbench.applications, we create a TreeViewer instance and associate with the current composite in createPartControl methods in the generated SampleView class.
在扩展 org.eclipse.ercp.eworkbench.applications 之后,我们将创建TreeViewer实例并与生成的SampleView类的createPartControl方法中的当前复合内容关联起来。
The first such change was adding an option to run bcel's own verification on a generated class, using the Justice verifier included in the org.apache.bcel.verifier package.
第一个修改添加了一个选项,使用包含在or g . apache .bcel .verifier包中的Justice检验器,针对生成的类运行bcel自己的检验。
The BuddyNoteView constructor was automatically generated when the class was created.
在创建类时将自动生成buddynoteview构造器。
Whereas JAXB USES a factory to construct new instances of an object class, Zeus USES a generated implementation class with prototyping.
JAXB使用工厂来构造对象类的新实例,而Zeus通过原型使用生成的实现类。
With Zeus, you subclass the implementation class and use your subclass instead of the generated class when unmarshalling a document.
用Zeus可以生成实现类的子类,当对文档进行数据分解时,使用子类而不是使用生成类。
Look at the code generated for the Route class.
看一下route类生成的代码。
Let's assume you want to change the name of a generated class, from "Case" to "Special Case", as shown in Listing 4.
假设希望把生成的类的名称由“Case”改为“Special Case”,见清单4。
A look at the compiler code shows that line number information is already being added to the generated class files.
当我们查看编译器代码时我们会看到,行号信息已经被加到了产生的class文件中了。
When you create the JAR file, only include the generated class files and resources.
当您创建JAR文件时,它只包括产生的类文件和资源。
Next, policy and signature are generated with the utility class we built.
接下来,我们所创建的工具类会创建策略和签名。
应用推荐