The base class of types that write statements to a stream.
|
See Also: Inherited members from object.
RdfWriter
() The protected no-arg constructor used by derived classes. |
BaseUri
|
string . Gets or sets the base URI for the output document. |
Namespaces
[read-only]
abstract |
NamespaceManager . The NamespaceManager that manages namespace URIs and their prefixes. |
abstract |
Add
(Statement) Writes a statement to the stream. |
Close
() Completes writing the data and closes the stream. |
|
static |
Create
(string, System.IO.TextWriter) Creates a new RdfWriter whose type is specified by a string constant. |
static |
Create
(string, string) Creates a new RdfWriter whose type is specified by a string constant. |
Write
(StatementSource) Writes out the contents of the StatementSource. |
The protected no-arg constructor used by derived classes.
Writes a statement to the stream.
Completes writing the data and closes the stream.
The NamespaceManager that manages namespace URIs and their prefixes.
Gets or sets the base URI for the output document.
See SemWeb.Store.GetResourceKey(SemWeb.Resource).
See SemWeb.Store.SetResourceKey(SemWeb.Resource).
Writes out the contents of the StatementSource.
Creates a new RdfWriter whose type is specified by a string constant.
type | Reader |
---|---|
"xml", "text/xml", "application/xml", "application/rdf+xml" | SemWeb.RdfXmlWriter |
"n3", "text/n3", "application/n3", "application/turtle", "application/x-turtle" | SemWeb.N3Writer |
Creates a new RdfWriter whose type is specified by a string constant.