C# Class System.Runtime.Serialization.Json.JsonWriter

Inheritance: System.Xml.XmlDictionaryWriter, IXmlJsonWriterInitializer
Datei anzeigen Open project: kumpera/mono

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
JsonWriter ( Stream stream, Encoding encoding, bool closeOutput ) : System
LookupPrefix ( string ns ) : string
SetOutput ( Stream stream, Encoding encoding, bool ownsStream ) : void
WriteBase64 ( byte bytes, int start, int length ) : void
WriteCData ( string text ) : void
WriteCharEntity ( char entity ) : void
WriteChars ( char chars, int start, int length ) : void
WriteComment ( string text ) : void
WriteDocType ( string name, string pubid, string sysid, string intSubset ) : void
WriteEndAttribute ( ) : void
WriteEndDocument ( ) : void
WriteEndElement ( ) : void
WriteEntityRef ( string text ) : void
WriteFullEndElement ( ) : void
WriteProcessingInstruction ( string target, string data ) : void
WriteRaw ( char chars, int start, int length ) : void
WriteRaw ( string text ) : 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 high, char low ) : void
WriteWhitespace ( string text ) : void

Private Methods

Method Description
AppendBuffer ( StringBuilder &sb, string input, int start, int i, string append ) : void
CheckState ( ) : void
CloseStartElement ( ) : void
EscapeStringLiteral ( string input ) : string
OutputAsciiChar ( char c ) : void
OutputString ( string s ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

JsonWriter() public method

public JsonWriter ( Stream stream, Encoding encoding, bool closeOutput ) : System
stream Stream
encoding System.Text.Encoding
closeOutput bool
return System

LookupPrefix() public method

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

SetOutput() public method

public SetOutput ( Stream stream, Encoding encoding, bool ownsStream ) : void
stream Stream
encoding System.Text.Encoding
ownsStream bool
return void

WriteBase64() public method

public WriteBase64 ( byte bytes, int start, int length ) : void
bytes byte
start int
length int
return void

WriteCData() public method

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

WriteCharEntity() public method

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

WriteChars() public method

public WriteChars ( char chars, int start, int length ) : void
chars char
start int
length 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 intSubset ) : void
name string
pubid string
sysid string
intSubset 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 text ) : void
text string
return void

WriteFullEndElement() public method

public WriteFullEndElement ( ) : void
return void

WriteProcessingInstruction() public method

public WriteProcessingInstruction ( string target, string data ) : void
target string
data string
return void

WriteRaw() public method

public WriteRaw ( char chars, int start, int length ) : void
chars char
start int
length int
return void

WriteRaw() public method

public WriteRaw ( string text ) : void
text 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 high, char low ) : void
high char
low char
return void

WriteWhitespace() public method

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