Show / Hide Table of Contents

Class TurtleW3CFormatter

Formatter which formats Turtle with QName compression using the newer W3C syntax which permits a wider range of valid QNames.
Inheritance
System.Object
BaseFormatter
QNameFormatter
TurtleFormatter
TurtleW3CFormatter
Implements
INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
INamespaceFormatter
IBaseUriFormatter
Inherited Members
TurtleFormatter._longLitMustEscape
TurtleFormatter._litMustEscape
TurtleFormatter.FormatLiteralNode(ILiteralNode, Nullable<TripleSegment>)
TurtleFormatter.FormatBlankNode(IBlankNode, Nullable<TripleSegment>)
TurtleFormatter.FormatNamespace(String, Uri)
TurtleFormatter.FormatBaseUri(Uri)
QNameFormatter._qnameMapper
QNameFormatter.FormatUriNode(IUriNode, Nullable<TripleSegment>)
BaseFormatter.FormatName
BaseFormatter.Format(INode, Nullable<TripleSegment>)
BaseFormatter.Format(INode)
BaseFormatter.Format(Triple)
BaseFormatter.FormatUri(String)
BaseFormatter.FormatUri(Uri)
BaseFormatter.FormatVariableNode(IVariableNode, Nullable<TripleSegment>)
BaseFormatter.FormatGraphLiteralNode(IGraphLiteralNode, Nullable<TripleSegment>)
BaseFormatter.FormatChar(Char)
BaseFormatter.FormatChar(Char[])
BaseFormatter.Format(SparqlResult)
BaseFormatter.FormatBooleanResult(Boolean)
BaseFormatter.Escape(String, List<String[]>)
BaseFormatter.ToString()
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 TurtleW3CFormatter : TurtleFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter, INamespaceFormatter, IBaseUriFormatter

Constructors

| Improve this Doc View Source

TurtleW3CFormatter()

Creates a new Turtle Formatter.
Declaration
public TurtleW3CFormatter()
| Improve this Doc View Source

TurtleW3CFormatter(String)

Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName)
Parameters
Type Name Description
System.String formatName Format Name.
| Improve this Doc View Source

TurtleW3CFormatter(String, IGraph)

Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName, IGraph g)
Parameters
Type Name Description
System.String formatName Format Name.
IGraph g Graph.
| Improve this Doc View Source

TurtleW3CFormatter(String, INamespaceMapper)

Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName, INamespaceMapper nsmap)
Parameters
Type Name Description
System.String formatName Format Name.
INamespaceMapper nsmap Namespace Map.
| Improve this Doc View Source

TurtleW3CFormatter(String, QNameOutputMapper)

Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName, QNameOutputMapper qnameMapper)
Parameters
Type Name Description
System.String formatName Format Name.
QNameOutputMapper qnameMapper QName Map.
| Improve this Doc View Source

TurtleW3CFormatter(IGraph)

Creates a new Turtle Formatter for the given Graph.
Declaration
public TurtleW3CFormatter(IGraph g)
Parameters
Type Name Description
IGraph g Graph.
| Improve this Doc View Source

TurtleW3CFormatter(INamespaceMapper)

Creates a new Turtle Formatter for the given Namespace Map.
Declaration
public TurtleW3CFormatter(INamespaceMapper nsmap)
Parameters
Type Name Description
INamespaceMapper nsmap Namespace Map.
| Improve this Doc View Source

TurtleW3CFormatter(QNameOutputMapper)

Creates a new Turtle Formatter that uses the given QName mapper.
Declaration
public TurtleW3CFormatter(QNameOutputMapper qnameMapper)
Parameters
Type Name Description
QNameOutputMapper qnameMapper QName Mapper.

Methods

| Improve this Doc View Source

IsValidQName(String)

Gets whether a QName is valid in Turtle as specified by the W3C.
Declaration
protected override bool IsValidQName(string value)
Parameters
Type Name Description
System.String value QName.
Returns
Type Description
System.Boolean
Overrides
QNameFormatter.IsValidQName(String)

Implements

INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
INamespaceFormatter
IBaseUriFormatter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • TurtleW3CFormatter()
    • TurtleW3CFormatter(String)
    • TurtleW3CFormatter(String, IGraph)
    • TurtleW3CFormatter(String, INamespaceMapper)
    • TurtleW3CFormatter(String, QNameOutputMapper)
    • TurtleW3CFormatter(IGraph)
    • TurtleW3CFormatter(INamespaceMapper)
    • TurtleW3CFormatter(QNameOutputMapper)
  • Methods
    • IsValidQName(String)
  • Implements
  • Extension Methods
Back to top Generated by DocFX