Class Notation3Formatter
Formatter for formatting as Notation 3.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, 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, IUriFactory)
Creates a new Notation 3 Formatter using the given Namespace Map.
Declaration
public Notation3Formatter(INamespaceMapper nsmap, IUriFactory uriFactory = null)
Parameters
| Type | Name | Description |
|---|---|---|
| INamespaceMapper | nsmap | Namespace Map. |
| IUriFactory | uriFactory | The factory to use when creating new Uri instances. |
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. |
Notation3Formatter(IUriFactory)
Creates a new Notation 3 Formatter.
Declaration
public Notation3Formatter(IUriFactory uriFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IUriFactory | uriFactory | The factory to use when creating new Uri instances. |
Methods
| Improve this Doc View SourceFormatGraphLiteralNode(IGraphLiteralNode, 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. |
| TripleSegment? | segment | Triple Segment. |
Returns
| Type | Description |
|---|---|
| string |
Overrides
| Improve this Doc View SourceFormatVariableNode(IVariableNode, TripleSegment?)
Formats a Variable Node for Notation 3.
Declaration
protected override string FormatVariableNode(IVariableNode v, TripleSegment? segment)
Parameters
| Type | Name | Description |
|---|---|---|
| IVariableNode | v | Variable. |
| TripleSegment? | segment | Triple Segment. |
Returns
| Type | Description |
|---|---|
| string |