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

add_attribute_indexing_config, #content, #content=, #content_changed?, #deserialize, #empty_or_blank_subject?, #freeze, #metadata?, #parent_uri, parent_uri, property, 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, #content=, #content_changed?, #datastream_will_change!, #described_by, #exists!, #freeze, #frozen?, #initialize, #inspect, #ldp_connection, #ldp_source, #metadata, #metadata?, #new_record?, #readonly?, #refresh, #reload, #remote_content, #serialize!, #to_solr, #uri=

Methods included from Querying

#default_sort_params, extended

Methods included from Identifiable

#id, #id=, #pid, #uri

Methods included from AttributeMethods

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

Methods included from Versionable

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

Methods included from Persistence

#delete, #destroy, #destroyed?, #eradicate, #new_record?, #persisted?, #save, #save!, #update

Methods included from File::Streaming

#headers, #stream

Methods included from File::Attributes

#digest, #dirty_size, #empty?, #has_content?, #original_name, #original_name=, #persisted_size, #size

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