Interface IGraphFormatter
Interface for formatters designed to format entire RDF Graphs.
Inherited Members
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public interface IGraphFormatter : ITripleFormatter
Methods
| Edit this page View SourceFormatGraphFooter()
Generates the footer section.
Declaration
string FormatGraphFooter()
Returns
Type | Description |
---|---|
string |
FormatGraphHeader()
Generates a generic header section.
Declaration
string FormatGraphHeader()
Returns
Type | Description |
---|---|
string |
FormatGraphHeader(IGraph)
Generates the header section for the Graph.
Declaration
string FormatGraphHeader(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
Returns
Type | Description |
---|---|
string |
FormatGraphHeader(INamespaceMapper, IUriFactory)
Generates the header section for the Graph.
Declaration
string FormatGraphHeader(INamespaceMapper namespaces, IUriFactory uriFactory = null)
Parameters
Type | Name | Description |
---|---|---|
INamespaceMapper | namespaces | Namespaces. |
IUriFactory | uriFactory | UriFactory to use when creating new Uri instances. |
Returns
Type | Description |
---|---|
string |