classname

classname — The name of a class, in the object-oriented programming sense.

Synopsis

Description

The classname tag is used to identify the name of a class. This is likely to occur only in documentation about object-oriented programming systems, languages, and architectures.

DocBook does not contain a complete set of inlines appropriate for describing object-oriented programming environments. (While it has classname, for example, it has nothing suitable for methods.) This will be addressed in a future version of DocBook.

Processing expectations

Formatted inline.

Parents [+]

This element occurs in 51 elements.

Children [+]

This element contains 16 elements.

Examples

  1 <article xmlns='http://docbook.org/ns/docbook'>
  2 <title>Example classname</title>
    
  4 <para>All user-interface components must be descendants of the
    <classname>Widget</classname> class.
  6 </para>
    
  8 </article>

All user-interface components must be descendants of the Widget class.

Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)