C# Class System.Xml.XmlUtf8RawTextWriter

Inheritance: XmlRawWriter
Mostrar archivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Protected Properties

Property Type Description
attrEndPos int
autoXmlDeclaration bool
bufBytes byte[]
bufLen int
bufPos int
cdataPos int
checkCharacters bool
closeOutput bool
contentPos int
encoding Encoding
hadDoubleBracket bool
inAttributeValue bool
mergeCDataSections bool
newLineChars string
newLineHandling NewLineHandling
omitXmlDeclaration bool
outputMethod XmlOutputMethod
standalone XmlStandalone
stream Stream
textPos int
writeToNull bool
xmlCharType XmlCharType

Public Methods

Method Description
Close ( ) : void
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
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
WriteString ( string text ) : void
WriteSurrogateCharEntity ( char lowChar, char highChar ) : void
WriteWhitespace ( string ws ) : void
XmlUtf8RawTextWriter ( Stream stream, Encoding encoding, XmlWriterSettings settings, bool closeOutput ) : System

Protected Methods

Method Description
AmpEntity ( byte pDst ) : byte*
CarriageReturnEntity ( byte pDst ) : byte*
FlushBuffer ( ) : void
GtEntity ( byte pDst ) : byte*
LineFeedEntity ( byte pDst ) : byte*
LtEntity ( byte pDst ) : byte*
QuoteEntity ( byte pDst ) : byte*
RawEndCData ( byte pDst ) : byte*
RawStartCData ( byte pDst ) : byte*
RawText ( char pSrcBegin, char pSrcEnd ) : void
RawText ( string s ) : void
TabEntity ( byte pDst ) : byte*
ValidateContentChars ( string chars, string propertyName, bool allowOnlyWhitespace ) : void
WriteAttributeTextBlock ( char pSrc, char pSrcEnd ) : void
WriteCDataSection ( string text ) : void
WriteCommentOrPi ( string text, int stopChar ) : void
WriteElementTextBlock ( char pSrc, char pSrcEnd ) : void
WriteNewLine ( byte pDst ) : byte*
WriteRawWithCharChecking ( char pSrcBegin, char pSrcEnd ) : void
XmlUtf8RawTextWriter ( XmlWriterSettings settings, bool closeOutput ) : System

Private Methods

Method Description
CharEntity ( byte pDst, char ch ) : byte*
CharToUTF8 ( char &pSrc, char pSrcEnd, byte &pDst ) : void
EncodeChar ( char &pSrc, char pSrcEnd, byte &pDst ) : void
EncodeMultibyteUTF8 ( int ch, byte pDst ) : byte*
EncodeSurrogate ( char pSrc, char pSrcEnd, byte pDst ) : byte*
FlushEncoder ( ) : void
InRange ( int ch, int start, int end ) : bool
InvalidXmlChar ( int ch, byte pDst, bool entitize ) : byte*
IsSurrogateByte ( byte b ) : bool
StartElementContent ( ) : void
WriteEndElement ( string prefix, string localName, string ns ) : void
WriteFullEndElement ( string prefix, string localName, string ns ) : void
WriteNamespaceDeclaration ( string prefix, string namespaceName ) : void
WriteXmlDeclaration ( XmlStandalone standalone ) : void
WriteXmlDeclaration ( string xmldecl ) : void

Method Details

AmpEntity() protected static method

protected static AmpEntity ( byte pDst ) : byte*
pDst byte
return byte*

CarriageReturnEntity() protected static method

protected static CarriageReturnEntity ( byte pDst ) : byte*
pDst byte
return byte*

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

FlushBuffer() protected method

protected FlushBuffer ( ) : void
return void

GtEntity() protected static method

protected static GtEntity ( byte pDst ) : byte*
pDst byte
return byte*

LineFeedEntity() protected static method

protected static LineFeedEntity ( byte pDst ) : byte*
pDst byte
return byte*

LtEntity() protected static method

protected static LtEntity ( byte pDst ) : byte*
pDst byte
return byte*

QuoteEntity() protected static method

protected static QuoteEntity ( byte pDst ) : byte*
pDst byte
return byte*

RawEndCData() protected static method

protected static RawEndCData ( byte pDst ) : byte*
pDst byte
return byte*

RawStartCData() protected static method

protected static RawStartCData ( byte pDst ) : byte*
pDst byte
return byte*

RawText() protected method

protected RawText ( char pSrcBegin, char pSrcEnd ) : void
pSrcBegin char
pSrcEnd char
return void

RawText() protected method

protected RawText ( string s ) : void
s string
return void

TabEntity() protected static method

protected static TabEntity ( byte pDst ) : byte*
pDst byte
return byte*

ValidateContentChars() protected method

protected ValidateContentChars ( string chars, string propertyName, bool allowOnlyWhitespace ) : void
chars string
propertyName string
allowOnlyWhitespace bool
return void

WriteAttributeTextBlock() protected method

protected WriteAttributeTextBlock ( char pSrc, char pSrcEnd ) : void
pSrc char
pSrcEnd char
return void

WriteCData() public method

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

WriteCDataSection() protected method

protected WriteCDataSection ( 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

WriteCommentOrPi() protected method

protected WriteCommentOrPi ( string text, int stopChar ) : void
text string
stopChar int
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

WriteElementTextBlock() protected method

protected WriteElementTextBlock ( char pSrc, char pSrcEnd ) : void
pSrc char
pSrcEnd char
return void

WriteEndAttribute() public method

public WriteEndAttribute ( ) : void
return void

WriteEntityRef() public method

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

WriteNewLine() protected method

protected WriteNewLine ( byte pDst ) : byte*
pDst byte
return byte*

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

WriteRawWithCharChecking() protected method

protected WriteRawWithCharChecking ( char pSrcBegin, char pSrcEnd ) : void
pSrcBegin char
pSrcEnd char
return void

WriteStartAttribute() public method

public WriteStartAttribute ( string prefix, string localName, string ns ) : void
prefix string
localName string
ns string
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

XmlUtf8RawTextWriter() public method

public XmlUtf8RawTextWriter ( Stream stream, Encoding encoding, XmlWriterSettings settings, bool closeOutput ) : System
stream Stream
encoding Encoding
settings XmlWriterSettings
closeOutput bool
return System

XmlUtf8RawTextWriter() protected method

protected XmlUtf8RawTextWriter ( XmlWriterSettings settings, bool closeOutput ) : System
settings XmlWriterSettings
closeOutput bool
return System

Property Details

attrEndPos protected_oe property

protected int attrEndPos
return int

autoXmlDeclaration protected_oe property

protected bool autoXmlDeclaration
return bool

bufBytes protected_oe property

protected byte[] bufBytes
return byte[]

bufLen protected_oe property

protected int bufLen
return int

bufPos protected_oe property

protected int bufPos
return int

cdataPos protected_oe property

protected int cdataPos
return int

checkCharacters protected_oe property

protected bool checkCharacters
return bool

closeOutput protected_oe property

protected bool closeOutput
return bool

contentPos protected_oe property

protected int contentPos
return int

encoding protected_oe property

protected Encoding encoding
return Encoding

hadDoubleBracket protected_oe property

protected bool hadDoubleBracket
return bool

inAttributeValue protected_oe property

protected bool inAttributeValue
return bool

mergeCDataSections protected_oe property

protected bool mergeCDataSections
return bool

newLineChars protected_oe property

protected string newLineChars
return string

newLineHandling protected_oe property

protected NewLineHandling newLineHandling
return NewLineHandling

omitXmlDeclaration protected_oe property

protected bool omitXmlDeclaration
return bool

outputMethod protected_oe property

protected XmlOutputMethod outputMethod
return XmlOutputMethod

standalone protected_oe property

protected XmlStandalone standalone
return XmlStandalone

stream protected_oe property

protected Stream stream
return Stream

textPos protected_oe property

protected int textPos
return int

writeToNull protected_oe property

protected bool writeToNull
return bool

xmlCharType protected_oe property

protected XmlCharType xmlCharType
return XmlCharType