You might define a custom class like that in Listing 8.
可以定义一个如清单8所示的自定义类。
Create a custom class with the same name as the enumeration name.
创建一个定制类,使其名称与枚举名称相同。
So, you'll write a custom class called AppInjector, as shown below.
因此,要编写一个名为AppInjector的自定义类,如下面所示。
You then flexibly apply the custom class to any available HTML element.
然后,就可以灵活地把这个定制类应用于任何可用的HTML元素。
After loading the custom class into the JVM, you're then set to run at full speed.
将这个自定义类装载到JVM中后,就可以全速运行了。
使用自定义的类。
HTML sample to generate a page (note the use of the custom class styles for the links).
用于生成页面的HTML示例(注意,这里对链接使用定制类样式)。
Notice how I access the class from a custom class loader, which loads the compiled bytecodes upon request.
注意我是如何使用自定义的类加载器访问这个类的,该加载器按照请求加载编译后的字节码。
The custom class that you create needs to do or provide only the following to make it a plug-in to this bot.
创建自定义类需要执行或提供以下内容以使其作为该bot的插件。
To overload an operator on a custom class requires creating a method on the class with the correct signature.
若要在自定义类中重载运算符,您需要在该类中创建具有正确签名的方法。
For example, use < p class="12pointsans"> and < h1 class="12pointsans"> to apply the custom class to different elements.
例如,使用 <pclass="12pointsans">和 <h1 class="12pointsans"> 就可以对这两种不同的元素应用同一个定制类。
The Assertion type is a custom class defined by DbUnit to facilitate additional assertions specific to database result sets.
Assertion类型是DbUnit定义的定制类,可以进行特定于数据库结果集的额外断言。
A real implementation may need another custom class loader that would search through some classpath provided just for the compilation.
真正的实现可能需要其他自定义类加载器,该加载器将搜索为编译提供的某些类路径。
You may define a custom class with equality and inequality tests to hold all XML documents with the root element
您可以定义一个带有相等和不等测试的自定义类,来包含带有根元素
When you become familiar with customizing this solution, consider creating a custom class for extending DataGrid that contains your preferred methods and properties.
当您熟悉自定义此解决方案时,请考虑创建一个自定义类,用于扩展包含首选方法和属性的DataGrid。
As a result, all errors regardless of the custom class used in Lotus Domino V7.0.2 are treated as AxisFault exceptions at runtime by the client and not as the custom error.
结果,不管在LotusDominoV7.0.2中使用的自定义类是什么,所有的错误在运行时都被客户机视为AxisFault异常而不是自定义错误。
Common primitive types are string, integer and Boolean; however, as you'll see a little further along in this article, you can also map an element to an array or a custom class.
常见的基本类型有string、integer和boolean,不过,后面将看到还能将元素映射为数组或自定义类。
The basic approach here is to construct a custom class at runtime that will wrap access to the target classes (previously reached by reflection) in a way that can be used by your general-purpose code.
这里的基本方法是,在运行时,以一种可以被一般性代码使用的方式,构建一个自定义的类,其中将包装对目标类的访问(以前是通过反射达到的)。
It interprets developer-supplied markup, evaluating the desired end-result based on predefined rendering logic mapped to the JSF custom-class libraries.
它解释开发人员提供的标签,基于与JSF 定制类库匹配的预定义呈现逻辑,评估所需的最终结果。
It interprets developer-supplied markup, evaluating the desired end-result based on predefined rendering logic mapped to the JSF custom-class libraries.
它解释开发人员提供的标签,基于与JSF 定制类库匹配的预定义呈现逻辑,评估所需的最终结果。
应用推荐