Show / Hide Table of Contents

Class TriXWriter

Class for serializing Triple Stores in the TriX format.

Inheritance
object
BaseStoreWriter
TriXWriter
Implements
IStoreWriter
Inherited Members
BaseStoreWriter.Save(ITripleStore, string)
BaseStoreWriter.Save(ITripleStore, string, Encoding)
BaseStoreWriter.Save(ITripleStore, TextWriter)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Writing
Assembly: dotNetRdf.dll
Syntax
public class TriXWriter : BaseStoreWriter, IStoreWriter

Methods

| Edit this page View Source

Save(ITripleStore, TextWriter, bool)

Saves a Store in TriX format.

Declaration
public override void Save(ITripleStore store, TextWriter output, bool leaveOpen)
Parameters
Type Name Description
ITripleStore store

Store to save.

TextWriter output

Writer to save to.

bool leaveOpen

Boolean flag indicating if output should be closed after the store is saved.

Overrides
BaseStoreWriter.Save(ITripleStore, TextWriter, bool)
| Edit this page 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
string
Overrides
object.ToString()

Events

| Edit this page 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 override event StoreWriterWarning Warning
Event Type
Type Description
StoreWriterWarning
Overrides
BaseStoreWriter.Warning

Implements

IStoreWriter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • Save(ITripleStore, TextWriter, bool)
    • ToString()
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX