C# Class Mvp.Xml.XInclude.TextIncludingReader

Custom XmlReader, handler for parse="text" case.
Allows to read specified resource as a text node.
Inheritance: XmlReader
Datei anzeigen Open project: Monobjc/monobjc-tools

Public Methods

Method Description
Close ( ) : void
GetAttribute ( int index ) : string
GetAttribute ( string qname ) : string
GetAttribute ( string localname, string nsuri ) : string
LookupNamespace ( string prefix ) : string
MoveToAttribute ( string qname ) : bool
MoveToAttribute ( string localname, string nsuri ) : bool
MoveToAttribute ( int index ) : void
MoveToElement ( ) : bool
MoveToFirstAttribute ( ) : bool
MoveToNextAttribute ( ) : bool
Read ( ) : bool
ReadAttributeValue ( ) : bool
ReadInnerXml ( ) : string
ReadOuterXml ( ) : string
ReadString ( ) : string
ResolveEntity ( ) : void
TextIncludingReader ( Uri includeLocation, string encoding, string accept, string acceptLanguage, bool exposeCDATA ) : System
TextIncludingReader ( string value, bool exposeCDATA ) : System
this ( int index ) : string
this ( string qname ) : string
this ( string localname, string nsuri ) : string

Private Methods

Method Description
GetEncodingFromXMLDecl ( string href ) : Encoding

Reads encoding from the XML declarartion.

Method Details

Close() public method

public Close ( ) : void
return void

GetAttribute() public method

public GetAttribute ( int index ) : string
index int
return string

GetAttribute() public method

public GetAttribute ( string qname ) : string
qname string
return string

GetAttribute() public method

public GetAttribute ( string localname, string nsuri ) : string
localname string
nsuri string
return string

LookupNamespace() public method

public LookupNamespace ( string prefix ) : string
prefix string
return string

MoveToAttribute() public method

public MoveToAttribute ( string qname ) : bool
qname string
return bool

MoveToAttribute() public method

public MoveToAttribute ( string localname, string nsuri ) : bool
localname string
nsuri string
return bool

MoveToAttribute() public method

public MoveToAttribute ( int index ) : void
index int
return void

MoveToElement() public method

public MoveToElement ( ) : bool
return bool

MoveToFirstAttribute() public method

public MoveToFirstAttribute ( ) : bool
return bool

MoveToNextAttribute() public method

public MoveToNextAttribute ( ) : bool
return bool

Read() public method

public Read ( ) : bool
return bool

ReadAttributeValue() public method

public ReadAttributeValue ( ) : bool
return bool

ReadInnerXml() public method

public ReadInnerXml ( ) : string
return string

ReadOuterXml() public method

public ReadOuterXml ( ) : string
return string

ReadString() public method

public ReadString ( ) : string
return string

ResolveEntity() public method

public ResolveEntity ( ) : void
return void

TextIncludingReader() public method

public TextIncludingReader ( Uri includeLocation, string encoding, string accept, string acceptLanguage, bool exposeCDATA ) : System
includeLocation System.Uri
encoding string
accept string
acceptLanguage string
exposeCDATA bool
return System

TextIncludingReader() public method

public TextIncludingReader ( string value, bool exposeCDATA ) : System
value string
exposeCDATA bool
return System

this() public method

public this ( int index ) : string
index int
return string

this() public method

public this ( string qname ) : string
qname string
return string

this() public method

public this ( string localname, string nsuri ) : string
localname string
nsuri string
return string