<apiname>

The <apiname> element provides the name of an application programming interface (API) such as a Java class name or method name. This element is part of the DITA programming domain, a special set of DITA elements designed to document programming tasks, concepts, and reference information.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/keyword pr-d/apiname

Example

This section is non-normative.

<p>Use the <apiname>document.write</apiname> method to create text 
output in the dynamically constructed view.</p>

Content model

(Text | <text>)*

Not contained by any element.

Zero or more of the following
  • Text
  • <text>

Not contained by any element.

Inheritance

+ topic/keyword pr-d/apiname

The <apiname> element is specialized from <keyword>. It is defined in the pr-domain module.

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, and @keyref.