In the sections on each data binding framework I'll show the generated class structures for comparison purposes.
为了进行比较,我将在有关各个数据绑定框架章节中显示生成的类结构。
If the class already USES a superclass, the newly generated superclass will have that class as its superclass, maintaining the class hierarchy.
如果这个类已经使用了一个超类,那么新生成的超类将把该类作为它的超类,并会保持类的层次结构。
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.
无疑,应用程序可能需要根据其用途通过派生或封装对生成的类进行扩展。
AOT code must therefore be generated with every static, field, class, and method reference unresolved.
AOT代码因此必须在没有解析每个静态、字段、类和方法引用的情况下生成。
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.
这个选项对高级用户是非常有帮助的,一旦这个组件类生成,这些用户就会选择手工调整这个类。
The new validator class is now generated and opened in the workspace.
新确认器类现在得到了生成,并在工作区中打开。
The generated custom code utilizes a super class model, as shown in the standard generated custom code in Listing 4.
生成的定制代码使用一个超类模型,如清单4中标准生成的定制代码所示。
Method invocations on a proxy class are dispatched to an invocation handler that is specified when the proxy class is generated.
对代理类的方法调用,被分配给调用处理程序,而调用处理程序是在代理类生成的时候指定的。
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 8. Generated Code for a template class with DTYPENAME_TEMPLATES option.
列表8.为一个采用DTYPENAME_TEMPLATES选项的模板类所生成的代码。
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通过原型使用生成的实现类。
Additionally, BeanInfo files are generated for all the class files generated that provide a mechanism for exposing information about the generated methods and structures.
除此之外,为所有的类文件生成了BeanInfo文件,提供展示生成的方法及结构的相关信息的机制。
With Zeus, you subclass the implementation class and use your subclass instead of the generated class when unmarshalling a document.
用Zeus可以生成实现类的子类,当对文档进行数据分解时,使用子类而不是使用生成类。
Just as in Listing 3, you use a helper class, generated in this case by the protocol buffers compiler.
如清单3所示,您可以使用protocolbuffers编译器生成的helper类。
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文件中了。
应用推荐