注意,如果使用标记类,那么只能把这些类添加到定义的相关标记中。
Note that with tag-class selectors, you can add them only to the tag for which you defined the class.
它非常类似于基类MarkupContainer,只不过标记类型被定义成html。
It is very similar to the base class MarkupContainer, except that the markup type is defined to be HTML.
对特定的HTML标记使用类要想创建应用于特定HTML元素的标记类样式,首先要计划标记方案以及相关的样式变体。
Using classes with specific HTML tags to create tag-class styles to use with a specific HTML element, begin by planning a scheme of tags and their related style variations.
为了区分这两种使用类的方法,本文把应用于任何地方的任何元素的类称为 “定制类(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.
除非需要创建自己的智能标记识别器,否则,当您向文档中添加智能标记时,您可以使用这些类的实例。
Unless you need to create your own smart tag recognizer, you can use instances of these classes when you add smart tags to your document.
以下语法用于根据标记和类名选取元素。
And the following syntax for selecting by tag and class name.
jsp容器需要发现实现out标记的类的名称。
The JSP container needs to discover the name of the class that implements the out tag.
tagclass元素定义标记处理程序类encodetag。
The tagclass element defines the tag handler class EncodeTag.
在PortalServer 1.2和Portal Server 2.1之间,标记引擎类工作的方式还有点小小的区别。
There are some small differences in the way Tag engine classes work between Portal Server 1.2 and 2.1.
相反,它是一组可以在应用程序中使用的实用工具——从类到标记。
Instead, it's a set of utilities — from classes to tags — that you use in your applications.
@Transactional:标记一个类,接口或者方法为可事务的。
Transactional: Marks a class, interface or method as transactional.
css定义了将会在标记中使用的类,以创建页面的外观。
The CSS sets up the classes that will be used in the tags to create the page's look and feel.
您将用这个构造型标记一个或多个类,样式表把它们作为全局元素实现。
You will mark one or more classes with the stereotype, and the stylesheet will implement them as global elements.
如前所述,我们将在TableTag类中定义表格标记的核心逻辑。
As I mentioned, we will define the table tag's core logic in the TableTag class.
首先考虑这样一种情况:假设您通过定制的InProgress注释标记一个类正在开发之中,这完全没有问题,对吧?
First, take a use case: Suppose that you mark a class as being in progress, through your own custom InProgress annotation. No problem, right?
<messaging-type>标记用于指定JMS消息侦听程序的类。
The <messaging-type> tag specifies the class of the JMS message listener.
在Facelets的TagLibrary类中定义el函数和逻辑标记。
El functions and logic tags are defined in a Facelets TagLibrary class.
如果希望在基于JSF 1.1的应用程序中使用此自定义组件,则标记处理程序的超类必须是UIComponentTag。
If you want to use the custom component in a JSF 1.1-based application, the superclass of the tag handler must be UIComponentTag.
除了使代码更加紧凑,此更改还允许您实现对所有组件都有用的特性,比如将默认样式类添加到HTML标记。
In addition to making the code more compact, this change allows you to implement features that are useful to all components, such as adding default style classes to the HTML tags.
为了获得各事件标记中的数据,parse_event类使用了更多的XPath查询来提取这些数据。
To break out the data from each event tag, the parse_event classes use more XPath queries to extract the data.
清单18展示了helponfocustag类,它实现自定义组件的标记处理程序。
Listing 18 shows the HelpOnFocusTag class, which implements the tag handler for the custom component.
得到了DOM版本后,我使用XPath查询来获得出现vevent类的页面上的所有标记,并将那些节点传递给parse_event。
With the DOM version in hand, I use XPath queries to get any tag on the page where the vevent class occurs, and I pass those nodes on to parse_event.
可以将字段标记为transient,但是每当有方法访问一个字段时,类仍然必须显式地产生代码来检查它是否被初始化。
You could mark the fields transient, but the class would still have to explicitly produce code to check whether a field was initialized every time a method accessed it.
同样,与使用双美元符号函数根据标记或类名检索元素不同的是,YUI使用了Y.all 函数
Similary, rather than using the dollar-dollar function to retrieve elements by tag or class name, in YUI you use the Y.all function instead
通过向元素添加指定的类来标记语义标签的根元素,其中元素是由活动对象框架指定的。
The root element of a semantic tag is marked by adding a specific class to the element, which is specified by the live object framework.
缺少标记函数体、类成员块、接口成员块或枚举块的开头的左大括号。
The left brace that marks the beginning of the function body, class member block, interface member block, or enumeration block is missing.
文章考察汉语话题标记进入四大句类的情况。
The present study concerns the use of topic markers (TM) in the four major "sentence types" classified in terms of mood.
注意,在XSLT的根标记中附加了一个带前缀exception 的名称空间,其中包含类名和包名。
Note the addition of a namespace with the prefix exception that contains the class name, including packages, in the root tag of the XSLT.
单独的一个页面上可以有多个事件,各事件均包含于一个用vevent类进行标记的标记中。
You can have multiple events on a single page, each wrapped in a tag marked with the vevent class.
首先将注意到的是每个标记都包含一个class属性,这个属性标识组件所使用的类。
The first thing you'll note is that each tag has a class attribute, which identifies the class that the component uses.
应用推荐