Sha256: d1c8e5fcda79367a66334989a3af43f3b43e376f6a5f31c5214a5a3d9063058e

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

require "lutaml/model"

module Reqif
  class AttributeValueXhtml < Lutaml::Model::Serializable
    attribute :is_simplified, :boolean
    attribute :the_value, XhtmlContent
    attribute :the_original_value, XhtmlContent
    attribute :definition, Definition

    xml do
      root "ATTRIBUTE-VALUE-XHTML"
      namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"

      map_attribute "IS-SIMPLIFIED", to: :is_simplified
      map_element "THE-VALUE", to: :the_value
      map_element "THE-ORIGINAL-VALUE", to: :the_original_value
      map_element "DEFINITION", to: :definition
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reqif-0.1.0 lib/reqif/attribute_value_xhtml.rb