Through topic granularity and topic type specialization, DITA brings the following benefits of the object-oriented model to information sets.
通过主题粒度和主题类型专门化,DITA为信息集带来了面向对象模型的以下优点。
As before, each column represents an information type, with specialization occurring from left to right.
如上所述,每一列都代表从左到右有专门化发生的信息类型。
Now, I'll show you how to create a more specialized information type: API descriptions, which are a kind of (and therefore specialization of) reference topic.
现在让我们创建一个更专门化的信息类型:api描述,它是一种引用主题(所以专门化)。
That was simple; a specialization for the array type helped you get there.
这很简单,数据类型的特殊化有助于您实现此目标。
Even if you had a specialization hierarchy 10 levels deep or more, the attributes would still allow unambiguous mappings to each ancestor information type.
即使专门化层次超过10层,该属性仍然能够毫无歧义地映射到每个祖先信息类型。
That is, each information type is a specialization of its neighbor to the left.
即每种信息类型都是对左侧邻居的专门化。
The DITA specialization articles outline the rules for each kind of specialization (topic type and domain type).
DITA专门化文章的附录描绘了这些规则。
Previously I used task topics; now I will extend the task topic by using structural specialization to create a new topic type, which I call a case.
上次我使用了task主题;现在我将通过使用结构性专门化创建一个新主题类型(我称之为case)来扩展task主题。
Domain specializations should be derived either from topic (the root topic type), or from another domain specialization.
领域专门化应该从主题(根topic类型)或者其他领域专门化派生而来。
This will make more sense if you consider an example: Given specialization and a generic DTD such as HTML, you can create a new document type (call it MyHTML).
如果考虑这个例子,就会更清楚其中的含义:给定专门化和一个普通DTD(如html),就可以创建一个新的文档类型(称之为myhtml)。
You can model these constraints, conditions, and invariants independently using DITA specialization, probably by extending the concept topic type.
您可以使用DITA专门化分别为这些约束、条件和不变式建模,可能还要扩展concept主题类型。
If you truly just want to add some new variant structures to an existing information type, use domain specialization instead of topic specialization (see "Specializing domains in DITA" in Resources).
如果只希望为已有的信息类型增加一些新的可变结构,应使用领域专门化而不是主题专门化(请参阅参考资料中的“Specializingdomainsin DITA”)。
Content type Allowed specialization Example (special specializing General).
内容类型允许的专门化例子(从一般到特殊)。
When an editor or validating process follows the reference, and the referenced topic doesn't have the declared type (or a specialization from the declared type), the processor reports an error.
如果编辑器或者验证过程发现引用的主体不是已声明的类型(或者已声明类型的专门化),处理程序就会报告错误。
A new information type can be introduced by specialization from the structures in the base topic DTD.
可以通过专门化基础主题DTD的结构来引入新的信息类型。
Table 3 shows part of the specialization for an information type called APIdesc, for API description.
表3显示了API描述信息类型APIdesc专门化的一部分。
The template specialization for display settles the debate over the alleged type of x1.
display模板特化结束了所谓的x1类型争论。
The study of the athletes' leg types who take part in table tennis early specialization training shows that premature specialization training results in athletes' o type leg easily.
对从事乒乓球运动早期专业化训练的运动员腿型的研究显示,过早的专业化训练易导致运动员O型腿的形成。
A class template specialization was not is defined before it was used in a return type.
类别样板特制化在用于传回型别之前未定义。
A class template specialization was not is defined before it was used in a return type.
类别样板特制化在用于传回型别之前未定义。
应用推荐