Class: ActiveFedora::RdfxmlRDFDatastream

Inherits:
RDFDatastream show all
Defined in:
lib/active_fedora/rdf/rdfxml_rdf_datastream.rb

Constant Summary

Instance Attribute Summary

Attributes included from ActiveFedora::Rdf::Properties

#properties

Attributes inherited from Datastream

#digital_object, #last_modified

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from RDFDatastream

#content, #content=, #content_changed?, #deserialize, #freeze, #metadata?, rdf_subject, #resource, resource_class, #serialize, #term_values, #update_indexed_attributes

Methods included from ActiveFedora::Rdf::Properties

#config, #config_for_term_or_uri, #fields, #map_predicates, #property

Methods included from ActiveFedora::Rdf::Indexing

#apply_prefix, #prefix, #primary_solr_name, #to_solr

Methods inherited from Datastream

#create, #freeze, #frozen?, #initialize, #inspect, #label, #metadata?, #profile_from_hash, #realLabel, #save, #serialize!, #solrize_profile, #to_param, #to_solr

Constructor Details

This class inherits a constructor from ActiveFedora::Datastream

Class Method Details

+ (Object) default_attributes



9
10
11
# File 'lib/active_fedora/rdf/rdfxml_rdf_datastream.rb', line 9

def self.default_attributes
  super.merge(:mimeType => 'text/xml')
end

Instance Method Details

- (Object) serialization_format



5
6
7
# File 'lib/active_fedora/rdf/rdfxml_rdf_datastream.rb', line 5

def serialization_format
  :rdfxml 
end