Module: RSS::DCTERMS::PropertyModel

Extended by:
BaseModel, BasePropertyModel
Included in:
Atom::Entry, Atom::Feed, Atom::Feed::Entry, RDF::Channel, RDF::Image, RDF::Item, RDF::Textinput, Rss::Channel, Rss::Channel::Item
Defined in:
lib/rss/dcterms/property.rb

Constant Summary collapse

TEXT_ELEMENTS =
{
  "contributor" => nil,
  "creator" => nil,

  "coverage" => nil,
  "spatial" => nil,
  "temporal" => nil,

  "description" => nil,
  "abstract" => nil,
  "tableOfContents" => "tableOfContents_list",

  "format" => nil,
  "extent" => nil,
  "medium" => nil,

  "identifier" => nil,
  "bibliographicCitation" => nil,

  "language" => nil,

  "publisher" => nil,

  "relation" => nil,
  "source" => nil,
  "conformsTo" => nil,
  "hasFormat" => nil,
  "hasPart" => nil,
  "hasVersion" => nil,
  "isFormatOf" => nil,
  "isPartOf" => nil,
  "isReferencedBy" => nil,
  "isReplacedBy" => nil,
  "isRequiredBy" => nil,
  "isVersionOf" => nil,
  "references" => "references_list",
  "replaces" => "replaces_list",
  "requires" => "requires_list",

  "rights" => "rights_list",
  "accessRights" => "accessRights_list",
  "license" => nil,

  "subject" => nil,

  "title" => nil,
  "alternative" => nil,

  "type" => nil,

  "audience" => nil,
  "educationLevel" => nil,
  "mediator" => nil,

  "accrualMethod" => nil,
  "accrualPeriodicity" => nil,
  "accrualPolicy" => nil,
  "instructionalMethod" => nil,
  "provenance" => nil,
  "rightsHolder" => nil
}
DATE_ELEMENTS =
{
  "date" => "w3cdtf",
  "available" => "w3cdtf",
  "created" => "w3cdtf",
  "dateAccepted" => "w3cdtf",
  "dateCopyrighted" => "w3cdtf",
  "dateSubmitted" => "w3cdtf",
  "issued" => "w3cdtf",
  "modified" => "w3cdtf",
  "valid" => "w3cdtf"
}
ELEMENT_NAME_INFOS =
PropertyModel::TEXT_ELEMENTS.to_a
ELEMENTS =
TEXT_ELEMENTS.keys + DATE_ELEMENTS.keys

Method Summary

Methods included from BasePropertyModel

append_features