Sha256: 57e07501ec88001999240ec490a2639d61dde849f69cf081e9e1b83f28f15dbd

Contents?: true

Size: 273 Bytes

Versions: 21

Compression:

Stored size: 273 Bytes

Contents

require 'rdf/ntriples'

module ActiveFedora
  class NtriplesRDFDatastream < RDFDatastream
    def self.default_attributes
      super.merge(:controlGroup => 'M', :mimeType => 'application/n-triples')
    end

    def serialization_format
      :ntriples
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
active-fedora-8.7.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.6.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.5.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.4.2 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.4.1 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-7.3.1 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-7.3.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.4.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.3.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.2.2 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.2.1 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.2.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-7.2.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.1.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.0.1 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.0.0 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.0.0.rc3 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.0.0.rc2 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-8.0.0.rc1 lib/active_fedora/rdf/ntriples_rdf_datastream.rb
active-fedora-7.1.2 lib/active_fedora/rdf/ntriples_rdf_datastream.rb