Sha256: 2f4b0afe7ea90bb45a50b4566d5edadc91c51f3ec1b537cfadb6356dfc821708
Contents?: true
Size: 749 Bytes
Versions: 3
Compression:
Stored size: 749 Bytes
Contents
module RDF::TriX ## # TriX format specification. # # @example Loading TriX format support # require 'rdf/trix' # # @example Obtaining a TriX format class # RDF::Format.for(:trix) #=> RDF::TriX::Format # RDF::Format.for("etc/doap.xml") # RDF::Format.for(:file_name => "etc/doap.xml") # RDF::Format.for(:file_extension => "xml") # RDF::Format.for(:content_type => "application/trix") # # @see https://www.w3.org/2004/03/trix/ class Format < RDF::Format content_type 'application/trix', :extension => :xml content_encoding 'utf-8' reader { RDF::TriX::Reader } writer { RDF::TriX::Writer } XMLNS = 'http://www.w3.org/2004/03/trix/trix-1/' end # Format end # RDF::TriX
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rdf-trix-3.3.0 | lib/rdf/trix/format.rb |
rdf-trix-3.2.0 | lib/rdf/trix/format.rb |
rdf-trix-3.1.1 | lib/rdf/trix/format.rb |