Show / Hide Table of Contents

Class HtmlFormatter

Formatter for formatting as HTML.

Inheritance
object
HtmlFormatter
Implements
IUriFormatter
ICommentFormatter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public class HtmlFormatter : IUriFormatter, ICommentFormatter

Methods

| Edit this page View Source

FormatComment(string)

Formats comments in HTML.

Declaration
public string FormatComment(string text)
Parameters
Type Name Description
string text

Comment text.

Returns
Type Description
string
| Edit this page View Source

FormatUri(string)

Formats URIs using HTML encoding.

Declaration
public string FormatUri(string u)
Parameters
Type Name Description
string u

URI.

Returns
Type Description
string
| Edit this page View Source

FormatUri(Uri)

Formats URIs using HTML encoding.

Declaration
public string FormatUri(Uri u)
Parameters
Type Name Description
Uri u

URI.

Returns
Type Description
string

Implements

IUriFormatter
ICommentFormatter

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • FormatComment(string)
    • FormatUri(string)
    • FormatUri(Uri)
  • Implements
  • Extension Methods
Back to top Generated by DocFX