# File rss/maker/base.rb, line 899
def inline_html?
@type == "html"
end
# File rss/maker/base.rb, line 907
def inline_other?
!out_of_line? and ![nil, "text", "html", "xhtml"].include?(@type)
end
# File rss/maker/base.rb, line 921
def inline_other_base64?
return false if @type.nil? or out_of_line?
@type.include?("/") and !inline_other_text? and !inline_other_xml?
end
# File rss/maker/base.rb, line 911
def inline_other_text?
return false if @type.nil? or out_of_line?
/\Atext\//.match(@type) ? true : false
end
# File rss/maker/base.rb, line 916
def inline_other_xml?
return false if @type.nil? or out_of_line?
/[\+\/]xml\z/.match(@type) ? true : false
end
# File rss/maker/base.rb, line 895
def inline_text?
[nil, "text", "html"].include?(@type)
end
# File rss/maker/base.rb, line 903
def inline_xhtml?
@type == "xhtml"
end
# File rss/maker/base.rb, line 926
def out_of_line?
not @src.nil? and @content.nil?
end
# File rss/maker/base.rb, line 887
def xml_content=(content)
content = ensure_xml_content(content) if inline_xhtml?
@xml_content = content
end