Class HtmlFormatter
Formatter for formatting as HTML.
Inherited Members
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRdf.dll
Syntax
public class HtmlFormatter : IUriFormatter, ICommentFormatter
Methods
| Edit this page View SourceFormatComment(string)
Formats comments in HTML.
Declaration
public string FormatComment(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Comment text. |
Returns
| Type | Description |
|---|---|
| string |
FormatUri(string)
Formats URIs using HTML encoding.
Declaration
public string FormatUri(string u)
Parameters
| Type | Name | Description |
|---|---|---|
| string | u | URI. |
Returns
| Type | Description |
|---|---|
| string |
FormatUri(Uri)
Formats URIs using HTML encoding.
Declaration
public string FormatUri(Uri u)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | u | URI. |
Returns
| Type | Description |
|---|---|
| string |