C# Class System.Xml.XmlTextWriter

Inheritance: XmlWriter
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
LookupPrefix ( string ns ) : string
WriteBase64 ( byte buffer, int index, int count ) : void
WriteBinHex ( byte buffer, int index, int count ) : void
WriteCData ( string text ) : void
WriteCharEntity ( char ch ) : void
WriteChars ( Char buffer, int index, int count ) : void
WriteComment ( string text ) : void
WriteDocType ( string name, string pubid, string sysid, string subset ) : void
WriteEndAttribute ( ) : void
WriteEndDocument ( ) : void
WriteEndElement ( ) : void
WriteEntityRef ( string name ) : void
WriteFullEndElement ( ) : void
WriteName ( string name ) : void
WriteNmToken ( string name ) : void
WriteProcessingInstruction ( string name, string text ) : void
WriteQualifiedName ( string localName, string ns ) : void
WriteRaw ( Char buffer, int index, int count ) : void
WriteRaw ( String data ) : void
WriteStartAttribute ( string prefix, string localName, string ns ) : void
WriteStartDocument ( ) : void
WriteStartDocument ( bool standalone ) : void
WriteStartElement ( string prefix, string localName, string ns ) : void
WriteString ( string text ) : void
WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
WriteWhitespace ( string ws ) : void
XmlTextWriter ( Stream w, Encoding encoding ) : System
XmlTextWriter ( String filename, Encoding encoding ) : System
XmlTextWriter ( TextWriter w ) : System

Private Methods

Method Description
AddNamespace ( string prefix, string ns, bool declared ) : void
AddToNamespaceHashtable ( int namespaceIndex ) : void
AutoComplete ( Token token ) : void
AutoCompleteAll ( ) : void
FindPrefix ( string ns ) : string
FlushEncoders ( ) : void
GeneratePrefix ( ) : string
HandleSpecialAttribute ( ) : void
Indent ( bool beforeEndElement ) : void
InternalWriteEndElement ( bool longFormat ) : void
InternalWriteName ( string name, bool NCName ) : void
InternalWriteProcessingInstruction ( string name, string text ) : void
LookupNamespace ( string prefix ) : int
LookupNamespaceInCurrentScope ( string prefix ) : int
PopNamespaces ( int indexFrom, int indexTo ) : void
PushNamespace ( string prefix, string ns, bool declared ) : void
PushStack ( ) : void
StartDocument ( int standalone ) : void
ValidateName ( string name, bool NCName ) : void
VerifyPrefixXml ( string prefix, string ns ) : void
WriteEndAttributeQuote ( ) : void
WriteEndStartTag ( bool empty ) : void
XmlTextWriter ( ) : System

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

LookupPrefix() public method

public LookupPrefix ( string ns ) : string
ns string
return string

WriteBase64() public method

public WriteBase64 ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
return void

WriteBinHex() public method

public WriteBinHex ( byte buffer, int index, int count ) : void
buffer byte
index int
count int
return void

WriteCData() public method

public WriteCData ( string text ) : void
text string
return void

WriteCharEntity() public method

public WriteCharEntity ( char ch ) : void
ch char
return void

WriteChars() public method

public WriteChars ( Char buffer, int index, int count ) : void
buffer Char
index int
count int
return void

WriteComment() public method

public WriteComment ( string text ) : void
text string
return void

WriteDocType() public method

public WriteDocType ( string name, string pubid, string sysid, string subset ) : void
name string
pubid string
sysid string
subset string
return void

WriteEndAttribute() public method

public WriteEndAttribute ( ) : void
return void

WriteEndDocument() public method

public WriteEndDocument ( ) : void
return void

WriteEndElement() public method

public WriteEndElement ( ) : void
return void

WriteEntityRef() public method

public WriteEntityRef ( string name ) : void
name string
return void

WriteFullEndElement() public method

public WriteFullEndElement ( ) : void
return void

WriteName() public method

public WriteName ( string name ) : void
name string
return void

WriteNmToken() public method

public WriteNmToken ( string name ) : void
name string
return void

WriteProcessingInstruction() public method

public WriteProcessingInstruction ( string name, string text ) : void
name string
text string
return void

WriteQualifiedName() public method

public WriteQualifiedName ( string localName, string ns ) : void
localName string
ns string
return void

WriteRaw() public method

public WriteRaw ( Char buffer, int index, int count ) : void
buffer Char
index int
count int
return void

WriteRaw() public method

public WriteRaw ( String data ) : void
data String
return void

WriteStartAttribute() public method

public WriteStartAttribute ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
return void

WriteStartDocument() public method

public WriteStartDocument ( ) : void
return void

WriteStartDocument() public method

public WriteStartDocument ( bool standalone ) : void
standalone bool
return void

WriteStartElement() public method

public WriteStartElement ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
return void

WriteString() public method

public WriteString ( string text ) : void
text string
return void

WriteSurrogateCharEntity() public method

public WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
lowChar char
highChar char
return void

WriteWhitespace() public method

public WriteWhitespace ( string ws ) : void
ws string
return void

XmlTextWriter() public method

public XmlTextWriter ( Stream w, Encoding encoding ) : System
w Stream
encoding System.Text.Encoding
return System

XmlTextWriter() public method

public XmlTextWriter ( String filename, Encoding encoding ) : System
filename String
encoding System.Text.Encoding
return System

XmlTextWriter() public method

public XmlTextWriter ( TextWriter w ) : System
w System.IO.TextWriter
return System