Class GraphMLWriter
Class for serializing a graph in GraphML format.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Writing
Assembly: dotNetRdf.dll
Syntax
public class GraphMLWriter : BaseStoreWriter, IStoreWriter, ICollapseLiteralsWriter
Properties
| Improve this Doc View SourceCollapseLiterals
Controls whether to collapse distinct literals.
Declaration
public bool CollapseLiterals { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceSave(ITripleStore, TextWriter, bool)
Saves a triple store to a text writer in GraphML format.
Declaration
public override void Save(ITripleStore store, TextWriter output, bool leaveOpen)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | The source triple store. |
System.IO.TextWriter | output | The target text writer. |
System.Boolean | leaveOpen | Boolean flag indicating if the output writer should be left open by the writer when it completes. |
Overrides
| Improve this Doc View SourceSave(ITripleStore, XmlWriter)
Saves a triple store to an XML writer in GraphML format.
Declaration
public void Save(ITripleStore store, XmlWriter output)
Parameters
Type | Name | Description |
---|---|---|
ITripleStore | store | The source triple store. |
System.Xml.XmlWriter | output | The target XML writer. |
Events
| Improve this Doc View SourceWarning
Event raised when there is ambiguity in the syntax being producing
Declaration
public override event StoreWriterWarning Warning
Event Type
Type | Description |
---|---|
StoreWriterWarning |
Overrides
Remarks
This class doesn't raise this event