Atlas · inline · Plate 13 of 16

inline

ReferenceElements

Diagram view views/ReferenceElements.lml composing 12 LML includes and 11 associations.

Includes12
Associations11
Types12
Full UML diagram for ReferenceElements

Model definitions

BasicElement

class models/inline/BasicElement.lml

Container of inline content in BasicDocument.

AttributeTypeCardinalityDefinition
+contribMetadata ContributionElementMetadata 0..* Metadata of the contributor responsible for the action.
+attributes Attribute 0..* Entries from the generic attribute register: an open key-value set that markup languages bind their own attribute types into.

ReferenceElement

class models/inline/reference/ReferenceElement.lml

Inline element, which references an identifier of a document, a block in a document, or an element in a document.

AttributeTypeCardinalityDefinition
+type ReferenceFormat 1 The type of Reference Element, prescribing how it is to be rendered.
+text BasicElement 0..1 The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `<xx>my link text</xx>`)
+alt String 0..1 Alternate text, used for accessibility.

IndexXrefElement

class models/inline/reference/IndexXrefElement.lml

A reference to an index term, cross-referenced within an index as an alternative index entry, either as a "see" or a "see also" cross-reference. The text in the inline element is the primary index term to be be cross-referenced.

AttributeTypeCardinalityDefinition
+secondary String 0..1 The secondary index term to be be cross-referenced.
+tertiary String 0..1 The tertiary index term to be be cross-referenced.
+target String 1 The index term to be cross-referenced to.
+also Boolean 1 The cross-reference is to be treated as "see also" rather than as "see".

ReferenceToCitationElement

class models/inline/reference/ReferenceToCitationElement.lml

An external reference to a bibliographic entity.

AttributeTypeCardinalityDefinition
+normative Boolean 0..1 Whether the reference is to be treated as normative or informative, particularly in the context of normative documents such as standards.
+citeAs TextElement 0..* Form that the bibliographic citation should take when it is rendered.

Callout

class models/inline/reference/Callout.lml

Inline reference to a paragraph or paragraphs, appearing as annotation of source code. The target of the callout is understood to be the location of the callout within the source code; the extent of the target is not expressed overtly.

AttributeTypeCardinalityDefinition
+type "callout" fixed
+text String 1 The label of the callout, used to identify its target within the source code.

Footnote

class models/inline/reference/Footnote.lml

Inline reference to a paragraph or paragraphs, appearing as a footnote.

AttributeTypeCardinalityDefinition
+type "footnote" fixed
+reference String 1 The number of the footnote, used to identify it visually.

ReferenceToVariable

class models/inline/reference/ReferenceToVariable.lml

Reference to a variable: resolves, at processing time, to the value registered under the given key in the attribute register. This is the model home for attribute references (AsciiDoc {attr}), substitutions (RST |substitution|), and template variables.

AttributeTypeCardinalityDefinition
+name String 1 Key of the referenced variable in the attribute register.