Class: RDF::TriX::Format

Inherits:
Format show all
Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/rdf-trix-4b113f65db0e/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 collapse

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, uri, uris, writer, writer_symbols, writer_types