Show / Hide Table of Contents

Class HtmlTextWriter

Custom implementation of System.Web.UI.HtmlTextWriter to replace it in builds where System.Web is not available.

Inheritance
System.Object
System.MarshalByRefObject
System.IO.TextWriter
HtmlTextWriter
Implements
System.IDisposable
Inherited Members
System.IO.TextWriter.CoreNewLine
System.IO.TextWriter.Null
System.IO.TextWriter.Dispose()
System.IO.TextWriter.Dispose(bool)
System.IO.TextWriter.FlushAsync()
System.IO.TextWriter.Synchronized(System.IO.TextWriter)
System.IO.TextWriter.Write(string, object, object, object)
System.IO.TextWriter.WriteAsync(char)
System.IO.TextWriter.WriteAsync(char[])
System.IO.TextWriter.WriteAsync(char[], int, int)
System.IO.TextWriter.WriteAsync(string)
System.IO.TextWriter.WriteLine(string, object, object, object)
System.IO.TextWriter.WriteLineAsync()
System.IO.TextWriter.WriteLineAsync(char)
System.IO.TextWriter.WriteLineAsync(char[])
System.IO.TextWriter.WriteLineAsync(char[], int, int)
System.IO.TextWriter.WriteLineAsync(string)
System.IO.TextWriter.FormatProvider
System.IO.TextWriter.NewLine
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: System.Web.UI
Assembly: dotNetRdf.dll
Syntax
public class HtmlTextWriter : TextWriter, IDisposable
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

Constructors

| Improve this Doc View Source

HtmlTextWriter(TextWriter)

Creates a new HTML Text Writer.

Declaration
public HtmlTextWriter(TextWriter writer)
Parameters
Type Name Description
System.IO.TextWriter writer

Text Writer.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

Properties

| Improve this Doc View Source

Encoding

Gets the encoding of the Inner Writer.

Declaration
public override Encoding Encoding { get; }
Property Value
Type Description
System.Text.Encoding
Overrides
System.IO.TextWriter.Encoding
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Indent

Gets/Sets the current Indent.

Declaration
public int Indent { get; set; }
Property Value
Type Description
int
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

InnerWriter

Gets the Inner Writer.

Declaration
public TextWriter InnerWriter { get; }
Property Value
Type Description
System.IO.TextWriter
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

Methods

| Improve this Doc View Source

AddAttribute(string, string, bool)

Adds an attribute to the next element to be written.

Declaration
public void AddAttribute(string name, string value, bool fEncode)
Parameters
Type Name Description
string name

Attribute Name.

string value

Value.

System.Boolean fEncode

Whether to encode the attribute value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

AddAttribute(string, string)

Adds an attribute to the next element to be written.

Declaration
public void AddAttribute(string name, string value)
Parameters
Type Name Description
string name

Attribute Name.

string value

Value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

AddAttribute(HtmlTextWriterAttribute, string, bool)

Adds an attribute to the next element to be written.

Declaration
public void AddAttribute(HtmlTextWriterAttribute key, string value, bool fEncode)
Parameters
Type Name Description
HtmlTextWriterAttribute key

Attribute.

string value

Value.

System.Boolean fEncode

Whether to encode the attribute value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

AddAttribute(HtmlTextWriterAttribute, string)

Adds an attribute to the next element to be written.

Declaration
public void AddAttribute(HtmlTextWriterAttribute key, string value)
Parameters
Type Name Description
HtmlTextWriterAttribute key

Attribute.

string value

Value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

AddStyleAttribute(string, string)

Adds a CSS style that will be used in the style attribute of the next element to be written.

Declaration
public void AddStyleAttribute(string name, string value)
Parameters
Type Name Description
string name

CSS Attribute Name.

string value

Value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

AddStyleAttribute(HtmlTextWriterStyle, string)

Adds a CSS style that will be used in the style attribute of the next element to be written.

Declaration
public void AddStyleAttribute(HtmlTextWriterStyle key, string value)
Parameters
Type Name Description
HtmlTextWriterStyle key

CSS Attribute.

string value

Value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Close()

Close the writer.

Declaration
public override void Close()
Overrides
System.IO.TextWriter.Close()
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Flush()

Flush the writer.

Declaration
public override void Flush()
Overrides
System.IO.TextWriter.Flush()
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

RenderBeginTag(string)

Writes the begin tag for an element.

Declaration
public void RenderBeginTag(string tagName)
Parameters
Type Name Description
string tagName

Tag Name.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

RenderBeginTag(HtmlTextWriterTag)

Writes the begin tag for an element.

Declaration
public void RenderBeginTag(HtmlTextWriterTag tagKey)
Parameters
Type Name Description
HtmlTextWriterTag tagKey

Tag.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

RenderEndTag()

Writes the end tag for an element.

Declaration
public void RenderEndTag()
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(bool)

Writes a boolean.

Declaration
public override void Write(bool value)
Parameters
Type Name Description
System.Boolean value

Boolean.

Overrides
System.IO.TextWriter.Write(bool)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(char)

Writes a character.

Declaration
public override void Write(char value)
Parameters
Type Name Description
char value

Character.

Overrides
System.IO.TextWriter.Write(char)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(char[], int, int)

Writes some portion of the given characters.

Declaration
public override void Write(char[] buffer, int index, int count)
Parameters
Type Name Description
char[] buffer

Characters.

int index

Index to start at.

int count

Number of characters to write.

Overrides
System.IO.TextWriter.Write(char[], int, int)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(char[])

Writes some characters.

Declaration
public override void Write(char[] buffer)
Parameters
Type Name Description
char[] buffer

Characters.

Overrides
System.IO.TextWriter.Write(char[])
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(decimal)

Writes a decimal.

Declaration
public override void Write(decimal value)
Parameters
Type Name Description
decimal value

Decimal.

Overrides
System.IO.TextWriter.Write(decimal)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(double)

Writes a double.

Declaration
public override void Write(double value)
Parameters
Type Name Description
double value

Double.

Overrides
System.IO.TextWriter.Write(double)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(int)

Writes an integer.

Declaration
public override void Write(int value)
Parameters
Type Name Description
int value

Integer.

Overrides
System.IO.TextWriter.Write(int)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(long)

Writes a long integer.

Declaration
public override void Write(long value)
Parameters
Type Name Description
long value

Long Integer.

Overrides
System.IO.TextWriter.Write(long)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(object)

Writes an object.

Declaration
public override void Write(object value)
Parameters
Type Name Description
System.Object value

Object.

Overrides
System.IO.TextWriter.Write(object)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(float)

Writes a float.

Declaration
public override void Write(float value)
Parameters
Type Name Description
float value

Float.

Overrides
System.IO.TextWriter.Write(float)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(string, object, object)

Writes a formatted string.

Declaration
public override void Write(string format, object arg0, object arg1)
Parameters
Type Name Description
string format

String with format.

System.Object arg0

Argument to insert into string.

System.Object arg1

Argument to insert into string.

Overrides
System.IO.TextWriter.Write(string, object, object)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(string, object)

Writes a formatted string.

Declaration
public override void Write(string format, object arg0)
Parameters
Type Name Description
string format

String with format.

System.Object arg0

Argument to insert into string.

Overrides
System.IO.TextWriter.Write(string, object)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(string, params object[])

Writes a formatted string.

Declaration
public override void Write(string format, params object[] arg)
Parameters
Type Name Description
string format

String with format.

System.Object[] arg

Arguments to insert into string.

Overrides
System.IO.TextWriter.Write(string, params object[])
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(string)

Writes a string.

Declaration
public override void Write(string value)
Parameters
Type Name Description
string value

String.

Overrides
System.IO.TextWriter.Write(string)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(uint)

Writes an unsigned integer.

Declaration
public override void Write(uint value)
Parameters
Type Name Description
uint value

Unsigned Integer.

Overrides
System.IO.TextWriter.Write(uint)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

Write(ulong)

Writes an unsigned long integer.

Declaration
public override void Write(ulong value)
Parameters
Type Name Description
ulong value

Unsigned Long Integer.

Overrides
System.IO.TextWriter.Write(ulong)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteAttribute(string, string, bool)

Writes an attribute.

Declaration
public void WriteAttribute(string name, string value, bool fEncode)
Parameters
Type Name Description
string name

Attribute Name.

string value

Value.

System.Boolean fEncode

Whether to encode the value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteAttribute(string, string)

Writes an attribute.

Declaration
public void WriteAttribute(string name, string value)
Parameters
Type Name Description
string name

Attribute Name.

string value

Value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteBeginTag(string)

Writes a begin tag but does not terminate it so that methods like WriteAttribute(string, string) may be used.

Declaration
public void WriteBeginTag(string tagName)
Parameters
Type Name Description
string tagName

Tag Name.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteBreak()

Writes a line break.

Declaration
public void WriteBreak()
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteEncodedText(string)

Writes encoded text.

Declaration
public void WriteEncodedText(string text)
Parameters
Type Name Description
string text

Text.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteEncodedUrl(string)

Writes an encoded URL.

Declaration
public void WriteEncodedUrl(string url)
Parameters
Type Name Description
string url

URL.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteEncodedUrlParameter(string)

Writes an encoded URL parameter.

Declaration
public void WriteEncodedUrlParameter(string urlText)
Parameters
Type Name Description
string urlText

URL parameter.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteEndTag(string)

Writes an end tag.

Declaration
public void WriteEndTag(string tagName)
Parameters
Type Name Description
string tagName

Tag Name.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteFullBeginTag(string)

Writes a begin tag with the terminating <, use WriteBeginTag(string) instead if you need to add attributes afterwards.

Declaration
public void WriteFullBeginTag(string tagName)
Parameters
Type Name Description
string tagName

Tag Name.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine()

Writes a new line.

Declaration
public override void WriteLine()
Overrides
System.IO.TextWriter.WriteLine()
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(bool)

Writes a boolean followed by a new line.

Declaration
public override void WriteLine(bool value)
Parameters
Type Name Description
System.Boolean value

Boolean.

Overrides
System.IO.TextWriter.WriteLine(bool)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(char)

Writes a character followed by a new line.

Declaration
public override void WriteLine(char value)
Parameters
Type Name Description
char value

Character.

Overrides
System.IO.TextWriter.WriteLine(char)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(char[], int, int)

Writes some portion of the characters followed by a new line.

Declaration
public override void WriteLine(char[] buffer, int index, int count)
Parameters
Type Name Description
char[] buffer

Characters.

int index

Index to start at.

int count

Number of characters to write.

Overrides
System.IO.TextWriter.WriteLine(char[], int, int)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(char[])

Writes some characters followed by a new line.

Declaration
public override void WriteLine(char[] buffer)
Parameters
Type Name Description
char[] buffer

Characters.

Overrides
System.IO.TextWriter.WriteLine(char[])
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(decimal)

Writes a decimal followed by a new line.

Declaration
public override void WriteLine(decimal value)
Parameters
Type Name Description
decimal value

Decimal.

Overrides
System.IO.TextWriter.WriteLine(decimal)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(double)

Writes a double followed by a new line.

Declaration
public override void WriteLine(double value)
Parameters
Type Name Description
double value

Double.

Overrides
System.IO.TextWriter.WriteLine(double)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(int)

Writes an integer followed by a new line.

Declaration
public override void WriteLine(int value)
Parameters
Type Name Description
int value

Integer.

Overrides
System.IO.TextWriter.WriteLine(int)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(long)

Writes a long integer followed by a new line.

Declaration
public override void WriteLine(long value)
Parameters
Type Name Description
long value

Long Integer.

Overrides
System.IO.TextWriter.WriteLine(long)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(object)

Writes an object followed by a new line.

Declaration
public override void WriteLine(object value)
Parameters
Type Name Description
System.Object value

Object.

Overrides
System.IO.TextWriter.WriteLine(object)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(float)

Writes a float followed by a new line.

Declaration
public override void WriteLine(float value)
Parameters
Type Name Description
float value

Float.

Overrides
System.IO.TextWriter.WriteLine(float)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(string, object, object)

Writes a formatted string followed by a new line.

Declaration
public override void WriteLine(string format, object arg0, object arg1)
Parameters
Type Name Description
string format

String.

System.Object arg0

Argument to insert into string.

System.Object arg1

Argument to insert into string.

Overrides
System.IO.TextWriter.WriteLine(string, object, object)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(string, object)

Writes a formatted string followed by a new line.

Declaration
public override void WriteLine(string format, object arg0)
Parameters
Type Name Description
string format

String.

System.Object arg0

Argument to insert into string.

Overrides
System.IO.TextWriter.WriteLine(string, object)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(string, params object[])

Writes a formatted string followed by a new line.

Declaration
public override void WriteLine(string format, params object[] arg)
Parameters
Type Name Description
string format

String.

System.Object[] arg

Arguments to insert into string.

Overrides
System.IO.TextWriter.WriteLine(string, params object[])
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(string)

Writes a string followed by a new line.

Declaration
public override void WriteLine(string value)
Parameters
Type Name Description
string value

String.

Overrides
System.IO.TextWriter.WriteLine(string)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(uint)

Writes an unsigned integer followed by a new line.

Declaration
public override void WriteLine(uint value)
Parameters
Type Name Description
uint value

Unsigned Integer.

Overrides
System.IO.TextWriter.WriteLine(uint)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLine(ulong)

Writes an unsigned long integer followed by a new line.

Declaration
public override void WriteLine(ulong value)
Parameters
Type Name Description
ulong value

Unsigned Long Integer.

Overrides
System.IO.TextWriter.WriteLine(ulong)
Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteLineNoTabs(string)

Writes a string on a line with no tabs.

Declaration
public void WriteLineNoTabs(string s)
Parameters
Type Name Description
string s

String.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteStyleAttribute(string, string, bool)

Writes a style attribute.

Declaration
public void WriteStyleAttribute(string name, string value, bool fEncode)
Parameters
Type Name Description
string name

Attribute Name.

string value

Value.

System.Boolean fEncode

Whether to encode the value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

| Improve this Doc View Source

WriteStyleAttribute(string, string)

Writes a style attribute.

Declaration
public void WriteStyleAttribute(string name, string value)
Parameters
Type Name Description
string name

Attribute Name.

string value

Value.

Remarks

Note that this is not a full implementation of HtmlTextWriter as per the original class, it simply emulates all the functionality that dotNetRDF requires for it's HTML outputting.

Implements

System.IDisposable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • HtmlTextWriter(TextWriter)
  • Properties
    • Encoding
    • Indent
    • InnerWriter
  • Methods
    • AddAttribute(string, string, bool)
    • AddAttribute(string, string)
    • AddAttribute(HtmlTextWriterAttribute, string, bool)
    • AddAttribute(HtmlTextWriterAttribute, string)
    • AddStyleAttribute(string, string)
    • AddStyleAttribute(HtmlTextWriterStyle, string)
    • Close()
    • Flush()
    • RenderBeginTag(string)
    • RenderBeginTag(HtmlTextWriterTag)
    • RenderEndTag()
    • Write(bool)
    • Write(char)
    • Write(char[], int, int)
    • Write(char[])
    • Write(decimal)
    • Write(double)
    • Write(int)
    • Write(long)
    • Write(object)
    • Write(float)
    • Write(string, object, object)
    • Write(string, object)
    • Write(string, params object[])
    • Write(string)
    • Write(uint)
    • Write(ulong)
    • WriteAttribute(string, string, bool)
    • WriteAttribute(string, string)
    • WriteBeginTag(string)
    • WriteBreak()
    • WriteEncodedText(string)
    • WriteEncodedUrl(string)
    • WriteEncodedUrlParameter(string)
    • WriteEndTag(string)
    • WriteFullBeginTag(string)
    • WriteLine()
    • WriteLine(bool)
    • WriteLine(char)
    • WriteLine(char[], int, int)
    • WriteLine(char[])
    • WriteLine(decimal)
    • WriteLine(double)
    • WriteLine(int)
    • WriteLine(long)
    • WriteLine(object)
    • WriteLine(float)
    • WriteLine(string, object, object)
    • WriteLine(string, object)
    • WriteLine(string, params object[])
    • WriteLine(string)
    • WriteLine(uint)
    • WriteLine(ulong)
    • WriteLineNoTabs(string)
    • WriteStyleAttribute(string, string, bool)
    • WriteStyleAttribute(string, string)
  • Implements
  • Extension Methods
Back to top Generated by DocFX