2017-04-16 21:13:39 +00:00
|
|
|
defmodule RDF.String do
|
|
|
|
use RDF.Datatype, id: RDF.Datatype.NS.XSD.string
|
|
|
|
|
2017-04-23 21:41:29 +00:00
|
|
|
|
|
|
|
def build_literal_by_lexical(lexical, opts) do
|
|
|
|
build_literal(lexical, nil, opts)
|
|
|
|
end
|
|
|
|
|
2017-04-26 00:48:49 +00:00
|
|
|
|
|
|
|
def convert(value, _), do: to_string(value)
|
|
|
|
|
|
|
|
|
2017-04-16 21:13:39 +00:00
|
|
|
end
|