Class: ActiveFedora::NokogiriDatastream
- Inherits:
-
OmDatastream
- Object
- Rubydora::Datastream
- Datastream
- OmDatastream
- ActiveFedora::NokogiriDatastream
- Extended by:
- Deprecation
- Defined in:
- lib/active_fedora/nokogiri_datastream.rb
Instance Attribute Summary
Attributes inherited from OmDatastream
Attributes inherited from Datastream
#digital_object, #last_modified
Instance Method Summary collapse
-
#initialize(digital_object = nil, dsid = nil, options = {}) ⇒ NokogiriDatastream
constructor
A new instance of NokogiriDatastream.
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, ={}) Deprecation.warn(self.class, "NokogiriDatastream is deprecated and will be removed in hydra-head 7.0. Use OmDatastream insead.", caller(2)) super end |