Show / Hide Table of Contents

Class Notation3Formatter

Formatter for formatting as Notation 3.

Inheritance
System.Object
BaseFormatter
QNameFormatter
TurtleFormatter
Notation3Formatter
Implements
INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
INamespaceFormatter
IBaseUriFormatter
Inherited Members
TurtleFormatter._longLitMustEscape
TurtleFormatter._litMustEscape
TurtleFormatter.FormatLiteralNode(ILiteralNode, TripleSegment?)
TurtleFormatter.FormatBlankNode(IBlankNode, TripleSegment?)
TurtleFormatter.FormatNamespace(string, Uri)
TurtleFormatter.FormatBaseUri(Uri)
QNameFormatter._qnameMapper
QNameFormatter.IsValidQName(string)
QNameFormatter.FormatUriNode(IUriNode, TripleSegment?)
BaseFormatter.FormatName
BaseFormatter.Format(INode, TripleSegment?)
BaseFormatter.Format(INode)
BaseFormatter.Format(Triple)
BaseFormatter.Format(Triple, IRefNode)
BaseFormatter.FormatUri(string)
BaseFormatter.FormatUri(Uri)
BaseFormatter.FormatTripleNode(ITripleNode, TripleSegment?)
BaseFormatter.FormatChar(char)
BaseFormatter.FormatChar(char[])
BaseFormatter.Format(ISparqlResult)
BaseFormatter.FormatBooleanResult(bool)
BaseFormatter.Escape(string, List<string[]>)
BaseFormatter.ToString()
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 Source

Notation3Formatter()

Creates a new Notation 3 Formatter.

Declaration
public Notation3Formatter()
| Improve this Doc View Source

Notation3Formatter(IGraph)

Creates a new Notation 3 Formatter using the given Graph.

Declaration
public Notation3Formatter(IGraph g)
Parameters
Type Name Description
IGraph g

Graph.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

FormatGraphLiteralNode(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
BaseFormatter.FormatGraphLiteralNode(IGraphLiteralNode, TripleSegment?)
| Improve this Doc View Source

FormatVariableNode(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
Overrides
BaseFormatter.FormatVariableNode(IVariableNode, TripleSegment?)

Implements

INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
INamespaceFormatter
IBaseUriFormatter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • Notation3Formatter()
    • Notation3Formatter(IGraph)
    • Notation3Formatter(INamespaceMapper, IUriFactory)
    • Notation3Formatter(INamespaceMapper)
    • Notation3Formatter(IUriFactory)
  • Methods
    • FormatGraphLiteralNode(IGraphLiteralNode, TripleSegment?)
    • FormatVariableNode(IVariableNode, TripleSegment?)
  • Implements
  • Extension Methods
Back to top Generated by DocFX