class Lutaml::Model::Schema::XmlCompiler::SimpleContent
def <<(instance)
def <<(instance) return if instance.nil? @instances << instance end
def initialize
def initialize @instances = [] @base_class = nil end
def required_files
def required_files instances.map(&:required_files).flatten.compact.uniq end
def to_attributes(indent = nil)
def to_attributes(indent = nil) instances.filter_map { |instance| instance.to_attributes(indent) }.join("\n") end
def to_xml_mapping(indent = nil)
def to_xml_mapping(indent = nil) instances.filter_map { |instance| instance.to_xml_mapping(indent) }.join("\n") end