Class: ActiveFedora::RDFXMLDatastream

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

Constant Summary

Constants included from AttributeMethods

AttributeMethods::AttrNames

Instance Method Summary collapse

Methods inherited from RDFDatastream

#content, #content=, #content_changed?, #deserialize, #empty_or_blank_subject?, #freeze, #metadata?, #parent_uri, parent_uri, rdf_subject, #refresh_attributes, #resource, resource_class, #serialize, #term_values, #update_indexed_attributes, #uri=

Methods included from ActiveFedora::RDF::DatastreamIndexing

#primary_solr_name, #to_solr

Methods inherited from File

#attribute_will_change!, #changed?, #check_fixity, #content_changed?, #datastream_will_change!, #default_attributes, default_attributes, #default_attributes=, #described_by, #digest, #dirty_size, #empty?, #exists!, #freeze, #frozen?, #has_content?, #initialize, #inspect, #ldp_connection, #ldp_source, #metadata, #metadata?, #new_record?, #original_name, #original_name=, #persisted_size, #reload, #remote_content, #reset, #serialize!, #size, #to_solr, #uri, #uri=

Methods included from Versionable

#create_version, #has_versions?, #model_type, #restore_version, #versions

Methods included from File::Streaming

#authorization_key, #headers, #stream

Methods included from File::Persistence

#content, #content=, #retrieve_content, #save

Methods included from AttributeMethods

#[], #[]=, #attribute_names, #attributes

Constructor Details

This class inherits a constructor from ActiveFedora::File

Instance Method Details

#mime_typeObject



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

def mime_type 
  'text/xml'
end

#serialization_formatObject



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

def serialization_format
  :rdfxml 
end