Class GraphMLWriter
Class for serializing a graph in GraphML format.
Inherited Members
Namespace: VDS.RDF.Writing
Assembly: dotNetRdf.dll
Syntax
public class GraphMLWriter : BaseStoreWriter, IStoreWriter, ICollapseLiteralsWriter
Properties
| Edit this page View SourceCollapseLiterals
Controls whether to collapse distinct literals.
Declaration
public bool CollapseLiterals { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page 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. |
TextWriter | output | The target text writer. |
bool | leaveOpen | Boolean flag indicating if the output writer should be left open by the writer when it completes. |
Overrides
| Edit this page 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. |
XmlWriter | output | The target XML writer. |
Events
| Edit this page 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