Click or drag to resize

BaseFormatter Class

Abstract Base Class for Formatters.
Inheritance Hierarchy

Namespace:  VDS.RDF.Writing.Formatting
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public abstract class BaseFormatter : INodeFormatter, 
	ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter

The BaseFormatter type exposes the following members.

Constructors
  NameDescription
Public methodBaseFormatter
Creates a new Formatter.
Top
Properties
  NameDescription
Public propertyFormatName
Gets the Format Name.
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.
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.
Public methodFormat(SparqlResult)
Formats a SPARQL Result for the given format.
Public methodFormat(Triple)
Formats a Triple as a String.
Public methodFormat(INode, NullableTripleSegment)
Formats a Node as a String.
Protected methodFormatBlankNode
Formats a Blank Node as a String for the given Format.
Public methodFormatBooleanResult
Formats a SPARQL Boolean Result for the given format.
Public methodFormatChar(Char) Obsolete.
Formats a Character for the given Format.
Public methodFormatChar(Char)
Formats a sequence of characters as a String.
Protected methodFormatGraphLiteralNode
Formats a Graph Literal Node as a String for the given Format.
Protected methodFormatLiteralNode
Formats a Literal Node as a String for the given Format.
Public methodFormatUri(String)
Formats a URI as a String for full Output.
Public methodFormatUri(Uri)
Formats a URI as a String for full Output.
Protected methodFormatUriNode
Formats a URI Node as a String for the given Format.
Protected methodFormatVariableNode
Formats a Variable Node as a String for the given Format.
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.
(Overrides ObjectToString.)
Top
See Also