RDF.NTriples.Encoder behaviour (RDF.ex v0.9.2) View Source
An encoder for N-Triples serializations of RDF.ex data structures.
As for all encoders of RDF.Serialization.Format
s, you normally won't use these
functions directly, but via one of the write_
functions on the RDF.NTriples
format module or the generic RDF.Serialization
module.
Link to this section Summary
Link to this section Functions
Specs
iolist_statement(RDF.Triple.t()) :: iolist()
Specs
iolist_term(RDF.Term.t()) :: String.t()
Specs
statement(RDF.Triple.t()) :: String.t()
Specs
term(RDF.Term.t()) :: String.t()
Link to this section Callbacks
Specs
encode(RDF.Data.t(), keyword()) :: {:ok, String.t()} | {:error, any()}