Show / Hide Table of Contents

Class DeliminatedLineFormatter

Abstract Base Class for formatters where things are formatted as lines of plain text deliminated by specific characters.
Inheritance
System.Object
BaseFormatter
DeliminatedLineFormatter
TsvFormatter
Implements
INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter
Inherited Members
BaseFormatter.FormatName
BaseFormatter.Format(INode, Nullable<TripleSegment>)
BaseFormatter.Format(INode)
BaseFormatter.FormatUri(Uri)
BaseFormatter.FormatBlankNode(IBlankNode, Nullable<TripleSegment>)
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 abstract class DeliminatedLineFormatter : BaseFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter

Constructors

| Improve this Doc View Source

DeliminatedLineFormatter(String, Char, Char, Nullable<Char>, Nullable<Char>, Nullable<Char>, Nullable<Char>, Nullable<Char>, Boolean)

Creates a new Deliminated Line Formatter.
Declaration
public DeliminatedLineFormatter(string formatName, char deliminator, char escape, char? uriStartChar, char? uriEndChar, char? literalWrapperChar, char? longLiteralWrapperChar, char? lineEndChar, bool fullLiteralOutput)
Parameters
Type Name Description
System.String formatName Format Name.
System.Char deliminator Item Deliminator Character.
System.Char escape Escape Character.
System.Nullable<System.Char> uriStartChar Character to start URIs (may be null).
System.Nullable<System.Char> uriEndChar Character to end URIs (may be null).
System.Nullable<System.Char> literalWrapperChar Character to wrap Literals in (may be null).
System.Nullable<System.Char> longLiteralWrapperChar Character to wrap Long Literals in (may be null).
System.Nullable<System.Char> lineEndChar Character to add at end of line (may be null).
System.Boolean fullLiteralOutput Whether Literals are output with Language/Datatype information.

Methods

| Improve this Doc View Source

Format(Triple)

Formats a Triple.
Declaration
public override string Format(Triple t)
Parameters
Type Name Description
Triple t Triple.
Returns
Type Description
System.String
Overrides
BaseFormatter.Format(Triple)
| Improve this Doc View Source

FormatLiteralNode(ILiteralNode, Nullable<TripleSegment>)

Formats a Literal Node.
Declaration
protected override string FormatLiteralNode(ILiteralNode lit, TripleSegment? segment)
Parameters
Type Name Description
ILiteralNode lit Literal Node.
System.Nullable<TripleSegment> segment Triple Segment.
Returns
Type Description
System.String
Overrides
BaseFormatter.FormatLiteralNode(ILiteralNode, Nullable<TripleSegment>)
| Improve this Doc View Source

FormatUri(String)

Formats URIs.
Declaration
public override string FormatUri(string u)
Parameters
Type Name Description
System.String u
Returns
Type Description
System.String
Overrides
BaseFormatter.FormatUri(String)
| Improve this Doc View Source

FormatUriNode(IUriNode, Nullable<TripleSegment>)

Formats a URI Node.
Declaration
protected override string FormatUriNode(IUriNode u, TripleSegment? segment)
Parameters
Type Name Description
IUriNode u URI Node.
System.Nullable<TripleSegment> segment Triple Segment.
Returns
Type Description
System.String
Overrides
BaseFormatter.FormatUriNode(IUriNode, Nullable<TripleSegment>)

Implements

INodeFormatter
ITripleFormatter
IUriFormatter
ICharFormatter
IResultFormatter

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • DeliminatedLineFormatter(String, Char, Char, Nullable<Char>, Nullable<Char>, Nullable<Char>, Nullable<Char>, Nullable<Char>, Boolean)
  • Methods
    • Format(Triple)
    • FormatLiteralNode(ILiteralNode, Nullable<TripleSegment>)
    • FormatUri(String)
    • FormatUriNode(IUriNode, Nullable<TripleSegment>)
  • Implements
  • Extension Methods
Back to top Generated by DocFX