下面这个示例展示了定制类的灵活性。
This examples illustrates the flexibility of custom classes.
另一方面,可以把定制类添加到对您有意义的任何HTML标记中。
You can add custom classes, on the other hand, to any HTML tag that makes sense to you.
用于生成页面的HTML示例(注意,这里对链接使用定制类样式)。
HTML sample to generate a page (note the use of the custom class styles for the links).
转换的逻辑经常交给帮助方法和其他执行实际的转换工作的定制类来处理。
The logic of the transformation is most often delegated to helper methods and other custom classes that perform the real work of the transformation.
您可以缓存任何类型的数据,包括完整的对象图形、定制类、地图和数组。
You can cache any kind of data, including full object graphs, custom classes, maps, and arrays.
另一个原因是我有定制类和将需要复制两次,如果我有两个不同的口味。
Another reason is I have customized classes and will need to replicate twice if I have two separate flavors.
在数据库示例中,使用GMan帮助操作或从任何视图按f 1就可以查看定制类的全部文档。
In the sample database, use the GMan help action or press F1 from any view to see full documentation of the custom classes.
Sprite和FlexSprite是不需要时间线的基类,您可以通过扩展它们编写定制类。
Sprite and FlexSprite are the base classes that don't require a time line, and you can extend these to write your own custom classes.
它解释开发人员提供的标签,基于与JSF 定制类库匹配的预定义呈现逻辑,评估所需的最终结果。
It interprets developer-supplied markup, evaluating the desired end-result based on predefined rendering logic mapped to the JSF custom-class libraries.
在这一节,将讨论一些高级问题,当您开始pickle复杂对象时,会遇到这些问题,其中包括定制类的实例。
In this section, we'll cover some advanced issues that arise when you start to pickle complex objects, including instances of custom classes.
Assertion类型是DbUnit定义的定制类,可以进行特定于数据库结果集的额外断言。
The Assertion type is a custom class defined by DbUnit to facilitate additional assertions specific to database result sets.
objectify将子元素节点直接作为节点的属性进行连接(每个节点都是一个根据标记名命名的定制类)。
Gnosis.xml.objectify attaches subelement nodes directly as attributes of nodes (every node is of a custom class named after the tag name).
这个特性与新的对象创建语法关系密切,新的语法可以用类似数组的语法很容易地在Groovy 中创建 非定制类。
This feature goes hand-in-hand with a new syntax for object creation, which makes it easy to create non-custom classes in Groovy with an array-like syntax.
例如,使用 <pclass="12pointsans">和 <h1 class="12pointsans"> 就可以对这两种不同的元素应用同一个定制类。
For example, use < p class="12pointsans"> and < h1 class="12pointsans"> to apply the custom class to different elements.
为了区分这两种使用类的方法,本文把应用于任何地方的任何元素的类称为 “定制类(customclass)”,把与单一标记相关联的类称为 “标记类(tag class)”。
This article distinguishes the two ways to use classes by calling the "anywhere" type custom classes and the type associated with a single tag tag classes.
比如,用户可以跟踪一个XML文档,看到所有的节点和数值,或者跟踪某个定制的类,以看到它的结构和属性。
For instance a user can trace an XML document to see all the nodes and attributes, or trace a custom class to see its structure and properties.
您已经添加的定制代码类已被列出来了。
我们或做出适用于所有情形的过滤器修改,或为特定包或类添加定制规则。
We either make a blanket filter change, or add in a custom rule for the specific package or class under investigation.
第三,它提供了基础设施,基于该基础设施可以扩展窗口小部件类来包括定制控件。
Third, it provides the infrastructure upon which you can extend the widget classes to cover custom controls.
完成上述步骤后,就可以在希望使用枚举的任何位置使用第5步中编写的定制枚举类了。
When you are done, you can use the custom enumeration class that you wrote in step 5 anywhere that you want the enumeration to be used.
这使你能在视图文件中保持干净(也DRY)的语法,即使你想创建一个定制的视图基类。
This enables you to keep a clean (and DRY) syntax within your view files even if you have created a custom view base class that you want to use.
定制的类所要做的只是定义一个映射ns TO HANDLER MAPPING,它为每个名称空间定义另一个从SOAP主体元素名到处理程序函数的映射。
All the customized class has to do is define a mapping, NS_TO_HANDLER_MAPPING, which for each namespace defines another mapping from SOAP body element name to a handler function.
正如上面注释中提到的那样,定制代码类的标准运行机制是exec (itestexecutionservices,String)方法。
As mentioned in the comment, the standard run mechanism for custom code classes is the exec (ITestExecutionServices, String ) method.
该定制服务工厂类应该实现OSGiServiceFactory接口。
The custom service factory class should implement the OSGi ServiceFactory interface.
到目前为止,您已经了解了如何定义定制事件类,但是还不清楚如何让StAX在解析过程中使用它们。
Thus far, you have learned how to define custom event classes, but nothing has been said about how to make StAX use them during the parsing process.
应用程序使用了一些Tomahawk验证器及一个定制validator类。
The application USES a few of the Tomahawk validators and a custom validator class.
在StAX的当前版本,没有可以通过扩展实现定制事件的抽象基类。
In the current version of StAX, there is no abstract base class that one can extend to implement custom events.
在本文后面使用Test Caller类定义定制的测试套件时,您会看到这种代码。
You'll see this type of code flow later in the article when you use the TestCaller class to define a customized test suite.
validators ——ForwardDates是定制JSF验证器类,确保预订的航班日期是今天或未来日期。
org.apache.derby.demo.validators — The ForwardDates is a custom JSF validator class, which ensures the date a flight is booked is either today or a future date.
然后可以通过为这个子类添加类属性来定制如何对每个类进行管理。
You can then customize how each class can be administered by adding class attributes to this subclass.
应用推荐