Class Notation3Formatter
Formatter for formatting as Notation 3.
Implements
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.Formatting
Assembly: dotNetRDF.dll
Syntax
public class Notation3Formatter : TurtleFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter, INamespaceFormatter, IBaseUriFormatter
Constructors
| Improve this Doc View SourceNotation3Formatter()
Creates a new Notation 3 Formatter.
Declaration
public Notation3Formatter()
Notation3Formatter(IGraph)
Creates a new Notation 3 Formatter using the given Graph.
Declaration
public Notation3Formatter(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
Notation3Formatter(INamespaceMapper)
Creates a new Notation 3 Formatter using the given Namespace Map.
Declaration
public Notation3Formatter(INamespaceMapper nsmap)
Parameters
Type | Name | Description |
---|---|---|
INamespaceMapper | nsmap | Namespace Map. |
Methods
| Improve this Doc View SourceFormatGraphLiteralNode(IGraphLiteralNode, Nullable<TripleSegment>)
Formats a Graph Literal Node for Notation 3.
Declaration
protected override string FormatGraphLiteralNode(IGraphLiteralNode glit, TripleSegment? segment)
Parameters
Type | Name | Description |
---|---|---|
IGraphLiteralNode | glit | Graph Literal. |
System.Nullable<TripleSegment> | segment | Triple Segment. |
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceFormatVariableNode(IVariableNode, Nullable<TripleSegment>)
Formats a Variable Node for Notation 3.
Declaration
protected override string FormatVariableNode(IVariableNode v, TripleSegment? segment)
Parameters
Type | Name | Description |
---|---|---|
IVariableNode | v | Variable. |
System.Nullable<TripleSegment> | segment | Triple Segment. |
Returns
Type | Description |
---|---|
System.String |