C# Class System.Xml.DocumentXmlWriter

Inheritance: XmlRawWriter, IXmlNamespaceResolver
显示文件 Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Close ( ) : void
DocumentXmlWriter ( DocumentXmlWriterType type, XmlNode start, XmlDocument document ) : System
Flush ( ) : 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
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 lowCh, char highCh ) : void
WriteWhitespace ( string text ) : void

Private Methods

Method Description
AddAttribute ( XmlAttribute attr, XmlNode parent ) : void
AddChild ( XmlNode node, XmlNode parent ) : void
Close ( WriteState currentState ) : void
CloseWithAppendAttribute ( ) : void
CloseWithReplaceToFollowingSibling ( ) : void
IXmlNamespaceResolver ( XmlNamespaceScope scope ) : string>.IDictionary
IXmlNamespaceResolver ( string prefix ) : string
SetSettings ( XmlWriterSettings value ) : void
StartElementContent ( ) : void
StartState ( ) : State
VerifyState ( Method method ) : void
WriteEndElement ( string prefix, string localName, string ns ) : void
WriteFullEndElement ( string prefix, string localName, string ns ) : void
WriteNamespaceDeclaration ( string prefix, string ns ) : void
WriteXmlDeclaration ( XmlStandalone standalone ) : void
WriteXmlDeclaration ( string xmldecl ) : void

Method Details

Close() public method

public Close ( ) : void
return void

DocumentXmlWriter() public method

public DocumentXmlWriter ( DocumentXmlWriterType type, XmlNode start, XmlDocument document ) : System
type DocumentXmlWriterType
start XmlNode
document XmlDocument
return System

Flush() public method

public Flush ( ) : void
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

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 lowCh, char highCh ) : void
lowCh char
highCh char
return void

WriteWhitespace() public method

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