Show / Hide Table of Contents

Class TriXWriter

Class for serialzing Triple Stores in the TriX format.
Inheritance
System.Object
TriXWriter
Implements
IStoreWriter
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 Source

Save(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.
| Improve this Doc View Source

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.
| Improve this Doc View Source

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.
| Improve this Doc View Source

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 Source

Warning

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

Implements

IStoreWriter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Save(ITripleStore, TextWriter)
    • Save(ITripleStore, TextWriter, Boolean)
    • Save(ITripleStore, String)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX