Class: ActiveFedora::NokogiriDatastream

Inherits:
OmDatastream show all
Extended by:
Deprecation
Defined in:
lib/active_fedora/nokogiri_datastream.rb

Instance Attribute Summary

Attributes inherited from OmDatastream

#internal_solr_doc

Attributes inherited from Datastream

#digital_object, #last_modified

Instance Method Summary collapse

Methods inherited from OmDatastream

#autocreate?, #content=, #content_changed?, #datastream_content, default_attributes, #find_by_terms, #from_solr, from_xml, #generate_solr_symbol, #get_values, #get_values_from_solr, #has_solr_name?, #is_hierarchical_term_pointer?, #local_or_remote_content, #metadata?, #ng_xml, #ng_xml=, #ng_xml_changed?, #ng_xml_doesnt_change!, #ng_xml_will_change!, #om_term_values, #om_update_values, #term_values, #to_xml, #update_indexed_attributes, #update_values, #xml_loaded, xml_template

Methods inherited from Datastream

#create, #inspect, #label, #metadata?, #profile_from_hash, #realLabel, #save, #serialize!, #solrize_profile, #to_param, #to_solr, #validate_content_present

Constructor Details

#initialize(digital_object = nil, dsid = nil, options = {}) ⇒ NokogiriDatastream

Returns a new instance of NokogiriDatastream.



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

def initialize(digital_object=nil, dsid=nil, options={})
  Deprecation.warn(self.class, "NokogiriDatastream is deprecated and will be removed in hydra-head 7.0. Use OmDatastream insead.", caller(2))
  super
end