C# 클래스 System.Xml.QueryOutputWriter

This writer wraps an XmlRawWriter and inserts additional lexical information into the resulting Xml 1.0 document: 1. CData sections 2. DocType declaration It also performs well-formed document checks if standalone="yes" and/or a doc-type-decl is output.
상속: XmlRawWriter
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

Private Properties

프로퍼티 타입 설명
EndCDataSection void
StartCDataSection bool
StartElementContent void
WriteEndElement void
WriteFullEndElement void
WriteNamespaceDeclaration void
WriteXmlDeclaration void
WriteXmlDeclaration void

공개 메소드들

메소드 설명
Close ( ) : void
Flush ( ) : void
QueryOutputWriter ( XmlRawWriter writer, XmlWriterSettings settings ) : System
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

Suppress this explicit call to WriteDocType if information was provided by XmlWriterSettings.

WriteEndAttribute ( ) : void
WriteEntityRef ( string name ) : 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
WriteStartElement ( string prefix, string localName, string ns ) : void

Check well-formedness, possibly output doc-type-decl, and determine whether this element is a CData section element.

WriteString ( string text ) : void
WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
WriteWhitespace ( string ws ) : void

비공개 메소드들

메소드 설명
EndCDataSection ( ) : void

No longer write CData text.

StartCDataSection ( ) : bool

Write CData text if element is a CData element. Return true if text should be written within a CData section.

StartElementContent ( ) : 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

Write the xml declaration. This must be the first call.

WriteXmlDeclaration ( string xmldecl ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

QueryOutputWriter() 공개 메소드

public QueryOutputWriter ( XmlRawWriter writer, XmlWriterSettings settings ) : System
writer XmlRawWriter
settings XmlWriterSettings
리턴 System

WriteCData() 공개 메소드

public WriteCData ( string text ) : void
text string
리턴 void

WriteCharEntity() 공개 메소드

public WriteCharEntity ( char ch ) : void
ch char
리턴 void

WriteChars() 공개 메소드

public WriteChars ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

WriteComment() 공개 메소드

public WriteComment ( string text ) : void
text string
리턴 void

WriteDocType() 공개 메소드

Suppress this explicit call to WriteDocType if information was provided by XmlWriterSettings.
public WriteDocType ( string name, string pubid, string sysid, string subset ) : void
name string
pubid string
sysid string
subset string
리턴 void

WriteEndAttribute() 공개 메소드

public WriteEndAttribute ( ) : void
리턴 void

WriteEntityRef() 공개 메소드

public WriteEntityRef ( string name ) : void
name string
리턴 void

WriteProcessingInstruction() 공개 메소드

public WriteProcessingInstruction ( string name, string text ) : void
name string
text string
리턴 void

WriteRaw() 공개 메소드

public WriteRaw ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

WriteRaw() 공개 메소드

public WriteRaw ( string data ) : void
data string
리턴 void

WriteStartAttribute() 공개 메소드

public WriteStartAttribute ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
리턴 void

WriteStartElement() 공개 메소드

Check well-formedness, possibly output doc-type-decl, and determine whether this element is a CData section element.
public WriteStartElement ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
리턴 void

WriteString() 공개 메소드

public WriteString ( string text ) : void
text string
리턴 void

WriteSurrogateCharEntity() 공개 메소드

public WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
lowChar char
highChar char
리턴 void

WriteWhitespace() 공개 메소드

public WriteWhitespace ( string ws ) : void
ws string
리턴 void