Class: Metanorma::UnDocument::Sections::UnPreface
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Metanorma::UnDocument::Sections::UnPreface
- Defined in:
- lib/metanorma/un_document/sections/un_preface.rb
Overview
UN preface with only abstract, foreword, introduction. Corresponds to un.rng:
preface = element preface { abstract?, foreword?, introduction? }
This class deliberately does NOT inherit StandardDocument::Preface: lutaml-model deep-duplicates a parent's XML mappings into subclasses, so inheriting would keep the isodoc-level acknowledgements, executivesummary and clause mappings that the UN grammar forbids. Attributes are composed directly instead.
The UN abstract is a Basic-Section (UnAbstractSection); foreword and introduction keep the isodoc Content-Section model.