列表3显示了一个声明自定义扩展的例子。
Listing 3 shows an example that declares the custom extension.
在您完成定义扩展之后,您就需要执行这三个类了。
After you have defined your extension, you need to implement these three classes.
可以灵活地为事件、产品和位置模式定义扩展属性。
A flexible mechanism to define attribute extensions to the event, product, and location schemas.
特定动态值的自定义扩展是使用一系列反斜杠字符来实现的。
Custom expansions of specific dynamic values are achieved with a series of backslash characters.
现在,需要通过一个穿透钻取定义扩展第一个报告以便调用第二个报告。
Now, you have to extend the first report to invoke the second one through a drill-through definition.
插件可以定义扩展点、定义良好的位置,其他插件可以在这些位置添加功能。
Plug-ins can define extension points, well-defined places where other plug-ins can add functionality.
在插件描述器中定义扩展点,它识别了您想要扩展并在此中做出贡献的转换。
Define the extension point in the plug-in descriptor, which identifies the transformation that you want to extend and the point within it that you want to make a contribution.
列表3.一个声明自定义扩展的XML插件程序文件的代码示例。
Listing 3. Example of code for an XML plug-in file that declares the custom extension.
在插件描述符中定义扩展点,这确定出您将扩展的转换,以及转换中您想要处理的点。
Define the extension point in the plug-in descriptor, which identifies the transformation that you are extending and the point within it that you want to make a contribution.
插件可以同时实现扩展(为其他插件提供服务)和定义扩展点(请求其他插件的服务)。
A plug-in can both implement extensions (offer services to other plug-ins) and define extension points (request services from other plug-ins).
因为还有更好的方式在模式中定义扩展,比如重定义,所以这种方法似乎有点麻烦。
There are better ways to define extensions within schema -- such as redefines -- which make this approach seem a bit burdensome.
我们遵循eclipse的模式来定义扩展点,以便其他插件可以贡献它们的功能。
We are following the Eclipse pattern of defining extension points that allow other plug-ins to contribute functionality.
我想强调的是如果创建了自定义扩展点并且提供了模板,则它将对用户起到帮助作用。
I just want to stress that if you created a custom extension point, it would help your users if you provided a template for them.
相反,Eclipse是一种开发平台,通过适合预定义扩展点的插件可以很容易地进行扩展。
Rather, Eclipse is a development platform designed for easy extension through plug-ins that fit into predefined extension points.
我们将在一个示例中展示这个元素的功效,在这个示例中使用另一个规则定义扩展该元素的用途。
We demonstrate that power in the example where we extend its use with another rule definition.
清单7展示了向WSDL策略添加的自定义扩展,用于针对本示例配置客户端处理方式。
Listing 7 shows the WSIT custom extensions added to the WSDL policy to configure the client-side handling for the example.
用户定义扩展是在MessageBroker 中编写作为节点运行的代码的另一种方法。
User-defined extensions are another way in which you can write code to run as a node within Message Broker.
首先引入了邻域概念,并通过定义扩展半径和突变半径两个新算法参数而构造了较小和较大两个邻域。
First, the concept of neighborhood is introduced, and two new algorithm parameters of expansion radius and mutation radius are defined to construct a small neighborhood and a large neighborhood.
您的自定义扩展将可以用于从ConfigurationUI(用户接口)中进行选择,如图4中所示。
Your custom extension will be available for selection from the Configuration UI (user interface), as Figure 4 shows.
这些用于配置WSIT用户信息的自定义扩展在服务器端和客户端看起来一样,但是在用于扩展元素的XML名称空间中不同。
The custom extensions used to configure WSIT user information look the same on the client and server sides but differ in the XML namespace used for the extension elements.
您需要同时在服务器端和客户端向策略信息中添加WSDL自定义扩展,通过用户配置细节表明如何实现安全处理。
You also need to add WSIT custom extensions to the policy information on both client and server sides with user-configuration details to indicate how the security handling will be implemented.
您可以在自己创建的自定义插件中定义扩展点,以允许其他开发人员在您所提供的功能之上进行构建,但本文并不介绍该特性。
You can define extension points in the unique plug-ins you create to allow other developers to build on functionality that you provide, but that feature is not covered in this article.
RRD是可扩展的基础结构,可以使其他组件和堆栈产品能够将自定义扩展(如生成器和处理程序)添加到 RRD 扩展。
The RRD is an extensible infrastructure that enables other components and stack products to add custom extensions, like generators and handlers, to the RRD extension.
与usernametoken示例一样,WSIT需要客户端与服务器上存在针对策略信息的自定义扩展,以便提供详细的附加配置信息。
As with the UsernameToken example, WSIT needs custom extensions to the policy information on both client and server sides to provide additional configuration details.
清单2展示了清单1WSDL中的策略部分,通过添加一个WSIT自定义扩展来配置客户端usernametoken支持。
Listing 2 shows the policy section of the Listing 1 WSDL, with a WSIT custom extension added to configure the client-side UsernameToken support.
从长期看,我想增加自定义扩展点,这样一些附加的支持(例如web开发(yaws、erlyweb))可以被社区增加进来,而无需涉及到整个Erlide。
In the longer term, I would like to add custom extension points, so that additional support for example for web development yaws.
配置一种处理过程,用来使用自定义的扩展。
要想构建新的映像,首先选择一个基本操作系统定义,然后扩展它以添加软件包(步骤5)。
To build a new image, start by choosing a base operating system definition and then extending it to add software bundles (Step 5).
每一个元素定义要扩展的是哪个转换。
Each one of these elements defines which transformation is being extended.
您可以使用定义的扩展点来自定义缺省的主题和皮肤。
You can use defined extension points to customize the default themes and skins.
应用推荐