Sha256: f22deb746d139720ff15de9a5cf6b7047c03bb572fd6303c2095d95a72f6d267

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

module RDF::TriX
  ##
  # TriX format specification.
  #
  # @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 http://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 # class Format
end # module RDF::TriX

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdf-trix-0.2.0 lib/rdf/trix/format.rb