C# Class System.Xml.XmlWellFormedWriter

Inheritance: XmlWriter
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddAttribute void
AddNamespace void
AddToAttrHashTable void
AddToNamespaceHashtable void
AdvanceState void
CheckNCName void
DupAttrException XmlException
GeneratePrefix string
GetStateName string
InvalidCharsException System.Exception
LookupLocalNamespace string
LookupNamespace string
LookupNamespaceIndex int
PopNamespaces void
PushNamespaceExplicit bool
PushNamespaceImplicit void
SetSpecialAttribute void
StartElementContent void
StartFragment void
ThrowInvalidStateTransition void
WriteStartDocumentImpl void
XmlWellFormedWriter System

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
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 namespaceName ) : 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
WriteValue ( System.DateTime value ) : void
WriteValue ( DateTimeOffset value ) : void
WriteValue ( bool value ) : void
WriteValue ( decimal value ) : void
WriteValue ( double value ) : void
WriteValue ( float value ) : void
WriteValue ( int value ) : void
WriteValue ( long value ) : void
WriteValue ( object value ) : void
WriteValue ( string value ) : void
WriteWhitespace ( string ws ) : void

Private Methods

Method Description
AddAttribute ( string prefix, string localName, string namespaceName ) : void
AddNamespace ( string prefix, string ns, NamespaceKind kind ) : void
AddToAttrHashTable ( int attributeIndex ) : void
AddToNamespaceHashtable ( int namespaceIndex ) : void
AdvanceState ( Token token ) : void
CheckNCName ( string ncname ) : void
DupAttrException ( string prefix, string localName ) : XmlException
GeneratePrefix ( ) : string
GetStateName ( State state ) : string
InvalidCharsException ( string name, int badCharIndex ) : Exception
LookupLocalNamespace ( string prefix ) : string
LookupNamespace ( string prefix ) : string
LookupNamespaceIndex ( string prefix ) : int
PopNamespaces ( int indexFrom, int indexTo ) : void
PushNamespaceExplicit ( string prefix, string ns ) : bool
PushNamespaceImplicit ( string prefix, string ns ) : void
SetSpecialAttribute ( SpecialAttribute special ) : void
StartElementContent ( ) : void
StartFragment ( ) : void
ThrowInvalidStateTransition ( Token token, State currentState ) : void
WriteStartDocumentImpl ( XmlStandalone standalone ) : void
XmlWellFormedWriter ( XmlWriter writer, XmlWriterSettings settings ) : 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

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 namespaceName ) : void
prefix string
localName string
namespaceName 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

WriteValue() public method

public WriteValue ( System.DateTime value ) : void
value System.DateTime
return void

WriteValue() public method

public WriteValue ( DateTimeOffset value ) : void
value DateTimeOffset
return void

WriteValue() public method

public WriteValue ( bool value ) : void
value bool
return void

WriteValue() public method

public WriteValue ( decimal value ) : void
value decimal
return void

WriteValue() public method

public WriteValue ( double value ) : void
value double
return void

WriteValue() public method

public WriteValue ( float value ) : void
value float
return void

WriteValue() public method

public WriteValue ( int value ) : void
value int
return void

WriteValue() public method

public WriteValue ( long value ) : void
value long
return void

WriteValue() public method

public WriteValue ( object value ) : void
value object
return void

WriteValue() public method

public WriteValue ( string value ) : void
value string
return void

WriteWhitespace() public method

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