Class: Coradoc::CoreModel::SectionElement
- Inherits:
-
StructuralElement
- Object
- Lutaml::Model::Serializable
- Base
- StructuralElement
- Coradoc::CoreModel::SectionElement
- Defined in:
- lib/coradoc/core_model/structural_element.rb
Overview
Section with a heading at a specific level
Instance Attribute Summary
Attributes inherited from StructuralElement
#attributes, #children, #content, #level
Attributes inherited from Base
#element_attributes, #id, #metadata_entries, #title
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from StructuralElement
#document?, #element_type, #header?, #heading_level, #preamble?
Methods included from HasChildren
Methods inherited from Base
#accept, #attr, #flat_text, #metadata, #semantically_equivalent?, #set_attr, #set_metadata
Class Method Details
.element_type_name ⇒ Object
89 90 91 |
# File 'lib/coradoc/core_model/structural_element.rb', line 89 def self.element_type_name 'section' end |
Instance Method Details
#section? ⇒ Boolean
85 86 87 |
# File 'lib/coradoc/core_model/structural_element.rb', line 85 def section? true end |