Class: RDF::TriX::Format

Inherits:
Format show all
Defined in:
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-trix-7d61d2cef93b/lib/rdf/trix/format.rb

Overview

TriX format specification.

Examples:

Loading TriX format support

require 'rdf/trix'

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 Also:

Constant Summary

XMLNS =
'http://www.w3.org/2004/03/trix/trix-1/'

Method Summary

Methods inherited from Format

accept_type, accept_types, cli_commands, content_encoding, content_type, content_types, detect, each, file_extension, file_extensions, for, name, reader, reader_symbols, reader_types, require, symbols, to_sym, writer, writer_symbols, writer_types