Class: ActiveFedora::RDFXMLDatastream
- Inherits:
-
RDFDatastream
- Object
- File
- RDFDatastream
- ActiveFedora::RDFXMLDatastream
- Defined in:
- lib/active_fedora/rdf/rdfxml_datastream.rb
Constant Summary
Constants included from AttributeMethods
AttributeMethods::AttrNames, AttributeMethods::BLACKLISTED_CLASS_METHODS
Constants included from Callbacks
Instance Method Summary collapse
Methods inherited from RDFDatastream
#content, #content=, #content_changed?, #deprecation_warning, #deserialize, #empty_or_blank_subject?, #freeze, #initialize, #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
Methods inherited from File
#attribute_will_change!, #changed?, #check_fixity, #checksum, #content, #content=, #content_changed?, #datastream_will_change!, #described_by, #exists!, #initialize, #inspect, #ldp_connection, #metadata, #metadata?, #metadata_changed?, #new_record?, #refresh, #reload, #remote_content, #serialize!, #to_solr, #uri=
Methods included from Querying
#default_sort_params, extended
Methods included from Scoping
#initialize_internals_callback, #populate_with_current_scope_attributes
Methods included from Identifiable
Methods included from AttributeMethods
#[], #[]=, #attribute_for_inspect, #attribute_names, #attribute_present?, #attributes, #has_attribute?
Methods included from Callbacks
Methods included from Versionable
#create_version, #has_versions?, #model_type, #restore_version, #versions
Methods included from Persistence
#base_path_for_resource=, #delete, #destroy, #destroy!, #destroyed?, #eradicate, #new_record?, #persisted?, #save, #save!, #update
Methods included from File::Streaming
Methods included from File::Attributes
#assign_attributes, #create_date, #digest, #dirty_size, #empty?, #has_content?, #original_name, #original_name=, #persisted_size, #size
Methods included from Common
#<=>, #==, #freeze, #frozen?, #ldp_source, #readonly!, #readonly?
Constructor Details
This class inherits a constructor from ActiveFedora::RDFDatastream
Instance Method Details
#mime_type ⇒ Object
9 10 11 |
# File 'lib/active_fedora/rdf/rdfxml_datastream.rb', line 9 def mime_type 'text/xml' end |
#serialization_format ⇒ Object
5 6 7 |
# File 'lib/active_fedora/rdf/rdfxml_datastream.rb', line 5 def serialization_format :rdfxml end |