Click or drag to resize

NTriplesFormatter Class

Formatter for formatting as NTriples.
Inheritance Hierarchy

Namespace:  VDS.RDF.Writing.Formatting
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class NTriplesFormatter : BaseFormatter

The NTriplesFormatter type exposes the following members.

Constructors
  NameDescription
Public methodNTriplesFormatter()
Creates a new NTriples Formatter.
Protected methodNTriplesFormatter(String)
Creates a new NTriples Formatter.
Public methodNTriplesFormatter(NTriplesSyntax)
Creates a new NTriples Formatter.
Public methodNTriplesFormatter(NTriplesSyntax, String)
Creates a new NTriples formatter.
Top
Properties
  NameDescription
Public propertyFormatName
Gets the Format Name.
(Inherited from BaseFormatter.)
Public propertySyntax
Gets the NTriples syntax being used.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodEscape
Applies escapes to the given value.
(Inherited from BaseFormatter.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormat(INode)
Formats a Node as a String.
(Inherited from BaseFormatter.)
Public methodFormat(SparqlResult)
Formats a SPARQL Result for the given format.
(Inherited from BaseFormatter.)
Public methodFormat(Triple)
Formats a Triple as a String.
(Inherited from BaseFormatter.)
Public methodFormat(INode, Nullable<TripleSegment>)
Formats a Node as a String.
(Inherited from BaseFormatter.)
Protected methodFormatBlankNode
Formats a Blank Node.
(Overrides BaseFormatter.FormatBlankNode(IBlankNode, Nullable<TripleSegment>).)
Public methodFormatBooleanResult
Formats a SPARQL Boolean Result for the given format.
(Inherited from BaseFormatter.)
Public methodFormatChar(Char) Obsolete.
Formats a Character.
(Overrides BaseFormatter.FormatChar(Char).)
Public methodFormatChar(Char[])
Formats a sequence of characters as a String.
(Overrides BaseFormatter.FormatChar(Char[]).)
Protected methodFormatGraphLiteralNode
Formats a Graph Literal Node as a String for the given Format.
(Inherited from BaseFormatter.)
Protected methodFormatLiteralNode
Formats a Literal Node.
(Overrides BaseFormatter.FormatLiteralNode(ILiteralNode, Nullable<TripleSegment>).)
Public methodFormatUri(String)
Formats a URI as a String for full Output.
(Overrides BaseFormatter.FormatUri(String).)
Public methodFormatUri(Uri)
Formats a URI as a String for full Output.
(Overrides BaseFormatter.FormatUri(Uri).)
Protected methodFormatUriNode
Formats a URI Node.
(Overrides BaseFormatter.FormatUriNode(IUriNode, Nullable<TripleSegment>).)
Protected methodFormatVariableNode
Formats a Variable Node as a String for the given Format.
(Inherited from BaseFormatter.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets the Name of the Format this Format uses.
(Inherited from BaseFormatter.)
Top
See Also