classname
classname — The name of a class, in the object-oriented programming sense.
Synopsis
- Zero or more of:
- text
phrase
(db._phrase)replaceable
- Graphic inlines
- Indexing inlines
- Linking inlines
- Ubiquitous inlines
alt
anchor
annotation
biblioref
indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
remark
subscript
superscript
xref
Attributes
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.
This element occurs in 51 elements.
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.