Class TriXWriter
Class for serialzing Triple Stores in the TriX format.
Inheritance
System.Object
TriXWriter
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRDF.dll
Syntax
public class TriXWriter : IStoreWriter
Methods
| Improve this Doc View SourceSave(ITripleStore, TextWriter)
Saves a Store in TriX format.
Declaration
public void Save(ITripleStore store, TextWriter output)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Store to save. |
System.IO.TextWriter | output | Writer to save to. |
Save(ITripleStore, TextWriter, Boolean)
Saves a Store in TriX format.
Declaration
public void Save(ITripleStore store, TextWriter output, bool leaveOpen)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Store to save. |
System.IO.TextWriter | output | Writer to save to. |
System.Boolean | leaveOpen | Boolean flag indicating if output should be closed after the store is saved. |
Save(ITripleStore, String)
Saves a Store in TriX format.
Declaration
public void Save(ITripleStore store, string filename)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | Store to save. |
System.String | filename | File to save to. |
ToString()
Gets the String representation of the writer which is a description of the syntax it produces.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Events
| Improve this Doc View SourceWarning
Event which is raised when there is an issue with the Graphs being serialized that doesn't prevent serialization but the user should be aware of
Declaration
public event StoreWriterWarning Warning
Event Type
Type | Description |
---|---|
StoreWriterWarning |