Class: ActiveFedora::RdfxmlRDFDatastream

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

Instance Attribute Summary

Attributes inherited from RDFDatastream

#loaded

Attributes inherited from Datastream

#digital_object, #fields, #last_modified

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from RDFDatastream

#append, #changed?, config, #content, #content=, #content_changed?, #delete_predicate, #deserialize, #ensure_loaded, #fields, #find_predicate, #get_values, #graph, map_predicates, #metadata?, method_missing, #method_missing, prefix, #query, rdf_subject, #rdf_subject, register_vocabularies, #reset_rdf_subject!, #serialize, #set_value, #to_solr, #update_subjects_to_use_a_real_pid!

Methods inherited from Datastream

#create, #dirty, #dirty=, #dirty?, from_xml, #initialize, #inspect, #metadata?, #new_object?, #profile_from_hash, #save, #serialize!, #solrize_profile, #to_param, #to_solr, #validate_content_present

Constructor Details

This class inherits a constructor from ActiveFedora::Datastream

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveFedora::RDFDatastream

Class Method Details

.default_attributesObject



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

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

Instance Method Details

#serialization_formatObject



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

def serialization_format
  :rdfxml 
end