View Source RDF.NTriples.Encoder behaviour (RDF.ex v1.0.0)
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 Callbacks
@callback encode( RDF.Data.t(), keyword() ) :: {:ok, String.t()} | {:error, any()}
Link to this section Functions
@spec iolist_statement(RDF.Triple.t()) :: iolist()
@spec iolist_term(RDF.Term.t()) :: String.t()
@spec statement(RDF.Triple.t()) :: String.t()
@spec term(RDF.Term.t()) :: String.t()