C# Class System.Xml.XmlBaseReader

Inheritance: XmlDictionaryReader
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddAttribute XmlAttributeNode
CheckAttributes void
CheckDeclAttribute bool
CheckStandalone bool
GetAttributeNode XmlAttributeNode
GetAttributeNode XmlAttributeNode
GetAttributeNode XmlAttributeNode
GetAttributeNode XmlAttributeNode
GetCharBuffer char[]
ProcessAttributes void
ReadBytes int
SkipValue void

Public Methods

Method Description
Close ( ) : void
GetAttribute ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : string
GetAttribute ( int index ) : string
GetAttribute ( string name ) : string
GetAttribute ( string localName, string namespaceUri ) : string
GetOpenElements ( ) : string
IndexOfLocalName ( XmlDictionaryString localNames, XmlDictionaryString namespaceUri ) : int
IndexOfLocalName ( string localNames, string namespaceUri ) : int
IsLocalName ( XmlDictionaryString localName ) : bool
IsLocalName ( string localName ) : bool
IsNamespaceUri ( XmlDictionaryString namespaceUri ) : bool
IsNamespaceUri ( string namespaceUri ) : bool
IsStartElement ( ) : bool
IsStartElement ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : bool
IsStartElement ( string name ) : bool
IsStartElement ( string localName, string namespaceUri ) : bool
LookupNamespace ( string prefix ) : string
MoveToAttribute ( string name ) : bool
MoveToAttribute ( string localName, string namespaceUri ) : bool
MoveToAttribute ( int index ) : void
MoveToContent ( ) : System.Xml.XmlNodeType
MoveToElement ( ) : bool
MoveToFirstAttribute ( ) : bool
MoveToNextAttribute ( ) : bool
ReadAttributeValue ( ) : bool
ReadContentAs ( Type type, IXmlNamespaceResolver namespaceResolver ) : object
ReadContentAsBase64 ( ) : byte[]
ReadContentAsBase64 ( byte buffer, int offset, int count ) : int
ReadContentAsBoolean ( ) : System.Boolean
ReadContentAsDateTime ( ) : System.DateTime
ReadContentAsDecimal ( ) : Decimal
ReadContentAsDouble ( ) : Double
ReadContentAsFloat ( ) : System.Single
ReadContentAsGuid ( ) : System.Guid
ReadContentAsInt ( ) : Int32
ReadContentAsLong ( ) : System.Int64
ReadContentAsObject ( ) : object
ReadContentAsString ( ) : string
ReadContentAsTimeSpan ( ) : System.TimeSpan
ReadContentAsUniqueId ( ) : UniqueId
ReadDateTimeArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.DateTime[]
ReadDateTimeArray ( string localName, string namespaceUri ) : System.DateTime[]
ReadDecimalArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : decimal[]
ReadDecimalArray ( string localName, string namespaceUri ) : decimal[]
ReadDoubleArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : double[]
ReadDoubleArray ( string localName, string namespaceUri ) : double[]
ReadElementContentAsBase64 ( byte buffer, int offset, int count ) : int
ReadElementContentAsString ( ) : string
ReadEndElement ( ) : void
ReadGuidArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Guid[]
ReadGuidArray ( string localName, string namespaceUri ) : System.Guid[]
ReadInt16Array ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Int16[]
ReadInt16Array ( string localName, string namespaceUri ) : System.Int16[]
ReadInt32Array ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Int32[]
ReadInt32Array ( string localName, string namespaceUri ) : System.Int32[]
ReadInt64Array ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Int64[]
ReadInt64Array ( string localName, string namespaceUri ) : System.Int64[]
ReadSingleArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : float[]
ReadSingleArray ( string localName, string namespaceUri ) : float[]
ReadStartElement ( ) : void
ReadStartElement ( string name ) : void
ReadStartElement ( string localName, string namespaceUri ) : void
ReadTimeSpanArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.TimeSpan[]
ReadTimeSpanArray ( string localName, string namespaceUri ) : System.TimeSpan[]
ReadValueAsBase64 ( byte buffer, int offset, int count ) : int
ReadValueChunk ( char chars, int offset, int count ) : int
ResolveEntity ( ) : void
Skip ( ) : void
TryGetBase64ContentLength ( int &length ) : bool
TryGetLocalNameAsDictionaryString ( XmlDictionaryString &localName ) : bool
TryGetNamespaceUriAsDictionaryString ( XmlDictionaryString &localName ) : bool
TryGetValueAsDictionaryString ( XmlDictionaryString &value ) : bool
this ( int index ) : string
this ( string name ) : string
this ( string localName, string namespaceUri ) : string

Protected Methods

Method Description
AddAttribute ( ) : XmlAttributeNode
AddNamespace ( ) : Namespace
AddXmlAttribute ( ) : XmlAttributeNode
AddXmlnsAttribute ( Namespace ns ) : XmlAttributeNode
EnterScope ( ) : XmlElementNode
ExitScope ( ) : void
FixXmlAttribute ( XmlAttributeNode attributeNode ) : void
LookupNamespace ( System.Xml.PrefixHandle prefix ) : Namespace
LookupNamespace ( PrefixHandleType prefix ) : Namespace
MoveToAtomicText ( ) : XmlAtomicTextNode
MoveToCData ( ) : XmlCDataNode
MoveToComment ( ) : XmlCommentNode
MoveToComplexText ( ) : XmlComplexTextNode
MoveToDeclaration ( ) : XmlDeclarationNode
MoveToEndElement ( ) : void
MoveToEndOfFile ( ) : void
MoveToInitial ( XmlDictionaryReaderQuotas quotas ) : void
MoveToNode ( XmlNode node ) : void
MoveToWhitespaceText ( ) : XmlTextNode
ProcessAttributes ( ) : void
XmlBaseReader ( ) : System

Private Methods

Method Description
AddAttribute ( QNameType qnameType, bool isAtomicValue ) : XmlAttributeNode
CheckAttributes ( XmlAttributeNode attributeNodes, int attributeCount ) : void
CheckDeclAttribute ( int index, string localName, string value, bool checkLower, string valueSR ) : bool
CheckStandalone ( int attr ) : bool
GetAttributeNode ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : XmlAttributeNode
GetAttributeNode ( int index ) : XmlAttributeNode
GetAttributeNode ( string name ) : XmlAttributeNode
GetAttributeNode ( string localName, string namespaceUri ) : XmlAttributeNode
GetCharBuffer ( int count ) : char[]
ProcessAttributes ( XmlAttributeNode attributeNodes, int attributeCount ) : void
ReadBytes ( Encoding encoding, int byteBlock, int charBlock, byte buffer, int offset, int byteCount, bool readContent ) : int
SkipValue ( XmlNode node ) : void

Method Details

AddAttribute() protected method

protected AddAttribute ( ) : XmlAttributeNode
return XmlAttributeNode

AddNamespace() protected method

protected AddNamespace ( ) : Namespace
return Namespace

AddXmlAttribute() protected method

protected AddXmlAttribute ( ) : XmlAttributeNode
return XmlAttributeNode

AddXmlnsAttribute() protected method

protected AddXmlnsAttribute ( Namespace ns ) : XmlAttributeNode
ns Namespace
return XmlAttributeNode

Close() public method

public Close ( ) : void
return void

EnterScope() protected method

protected EnterScope ( ) : XmlElementNode
return XmlElementNode

ExitScope() protected method

protected ExitScope ( ) : void
return void

FixXmlAttribute() protected method

protected FixXmlAttribute ( XmlAttributeNode attributeNode ) : void
attributeNode XmlAttributeNode
return void

GetAttribute() public method

public GetAttribute ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : string
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return string

GetAttribute() public method

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

GetAttribute() public method

public GetAttribute ( string name ) : string
name string
return string

GetAttribute() public method

public GetAttribute ( string localName, string namespaceUri ) : string
localName string
namespaceUri string
return string

GetOpenElements() public method

public GetOpenElements ( ) : string
return string

IndexOfLocalName() public method

public IndexOfLocalName ( XmlDictionaryString localNames, XmlDictionaryString namespaceUri ) : int
localNames XmlDictionaryString
namespaceUri XmlDictionaryString
return int

IndexOfLocalName() public method

public IndexOfLocalName ( string localNames, string namespaceUri ) : int
localNames string
namespaceUri string
return int

IsLocalName() public method

public IsLocalName ( XmlDictionaryString localName ) : bool
localName XmlDictionaryString
return bool

IsLocalName() public method

public IsLocalName ( string localName ) : bool
localName string
return bool

IsNamespaceUri() public method

public IsNamespaceUri ( XmlDictionaryString namespaceUri ) : bool
namespaceUri XmlDictionaryString
return bool

IsNamespaceUri() public method

public IsNamespaceUri ( string namespaceUri ) : bool
namespaceUri string
return bool

IsStartElement() public final method

public final IsStartElement ( ) : bool
return bool

IsStartElement() public method

public IsStartElement ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : bool
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return bool

IsStartElement() public method

public IsStartElement ( string name ) : bool
name string
return bool

IsStartElement() public method

public IsStartElement ( string localName, string namespaceUri ) : bool
localName string
namespaceUri string
return bool

LookupNamespace() protected method

protected LookupNamespace ( System.Xml.PrefixHandle prefix ) : Namespace
prefix System.Xml.PrefixHandle
return Namespace

LookupNamespace() protected method

protected LookupNamespace ( PrefixHandleType prefix ) : Namespace
prefix PrefixHandleType
return Namespace

LookupNamespace() public method

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

MoveToAtomicText() protected method

protected MoveToAtomicText ( ) : XmlAtomicTextNode
return XmlAtomicTextNode

MoveToAttribute() public method

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

MoveToAttribute() public method

public MoveToAttribute ( string localName, string namespaceUri ) : bool
localName string
namespaceUri string
return bool

MoveToAttribute() public method

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

MoveToCData() protected method

protected MoveToCData ( ) : XmlCDataNode
return XmlCDataNode

MoveToComment() protected method

protected MoveToComment ( ) : XmlCommentNode
return XmlCommentNode

MoveToComplexText() protected method

protected MoveToComplexText ( ) : XmlComplexTextNode
return XmlComplexTextNode

MoveToContent() public method

public MoveToContent ( ) : System.Xml.XmlNodeType
return System.Xml.XmlNodeType

MoveToDeclaration() protected method

protected MoveToDeclaration ( ) : XmlDeclarationNode
return XmlDeclarationNode

MoveToElement() public method

public MoveToElement ( ) : bool
return bool

MoveToEndElement() protected method

protected MoveToEndElement ( ) : void
return void

MoveToEndOfFile() protected method

protected MoveToEndOfFile ( ) : void
return void

MoveToFirstAttribute() public method

public MoveToFirstAttribute ( ) : bool
return bool

MoveToInitial() protected method

protected MoveToInitial ( XmlDictionaryReaderQuotas quotas ) : void
quotas XmlDictionaryReaderQuotas
return void

MoveToNextAttribute() public method

public MoveToNextAttribute ( ) : bool
return bool

MoveToNode() protected method

protected MoveToNode ( XmlNode node ) : void
node XmlNode
return void

MoveToWhitespaceText() protected method

protected MoveToWhitespaceText ( ) : XmlTextNode
return XmlTextNode

ProcessAttributes() protected method

protected ProcessAttributes ( ) : void
return void

ReadAttributeValue() public method

public ReadAttributeValue ( ) : bool
return bool

ReadContentAs() public method

public ReadContentAs ( Type type, IXmlNamespaceResolver namespaceResolver ) : object
type System.Type
namespaceResolver IXmlNamespaceResolver
return object

ReadContentAsBase64() public method

public ReadContentAsBase64 ( ) : byte[]
return byte[]

ReadContentAsBase64() public method

public ReadContentAsBase64 ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadContentAsBoolean() public method

public ReadContentAsBoolean ( ) : System.Boolean
return System.Boolean

ReadContentAsDateTime() public method

public ReadContentAsDateTime ( ) : System.DateTime
return System.DateTime

ReadContentAsDecimal() public method

public ReadContentAsDecimal ( ) : Decimal
return Decimal

ReadContentAsDouble() public method

public ReadContentAsDouble ( ) : Double
return Double

ReadContentAsFloat() public method

public ReadContentAsFloat ( ) : System.Single
return System.Single

ReadContentAsGuid() public method

public ReadContentAsGuid ( ) : System.Guid
return System.Guid

ReadContentAsInt() public method

public ReadContentAsInt ( ) : Int32
return System.Int32

ReadContentAsLong() public method

public ReadContentAsLong ( ) : System.Int64
return System.Int64

ReadContentAsObject() public method

public ReadContentAsObject ( ) : object
return object

ReadContentAsString() public method

public ReadContentAsString ( ) : string
return string

ReadContentAsTimeSpan() public method

public ReadContentAsTimeSpan ( ) : System.TimeSpan
return System.TimeSpan

ReadContentAsUniqueId() public method

public ReadContentAsUniqueId ( ) : UniqueId
return UniqueId

ReadDateTimeArray() public method

public ReadDateTimeArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.DateTime[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return System.DateTime[]

ReadDateTimeArray() public method

public ReadDateTimeArray ( string localName, string namespaceUri ) : System.DateTime[]
localName string
namespaceUri string
return System.DateTime[]

ReadDecimalArray() public method

public ReadDecimalArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : decimal[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return decimal[]

ReadDecimalArray() public method

public ReadDecimalArray ( string localName, string namespaceUri ) : decimal[]
localName string
namespaceUri string
return decimal[]

ReadDoubleArray() public method

public ReadDoubleArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : double[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return double[]

ReadDoubleArray() public method

public ReadDoubleArray ( string localName, string namespaceUri ) : double[]
localName string
namespaceUri string
return double[]

ReadElementContentAsBase64() public method

public ReadElementContentAsBase64 ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadElementContentAsString() public method

public ReadElementContentAsString ( ) : string
return string

ReadEndElement() public method

public ReadEndElement ( ) : void
return void

ReadGuidArray() public method

public ReadGuidArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Guid[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return System.Guid[]

ReadGuidArray() public method

public ReadGuidArray ( string localName, string namespaceUri ) : System.Guid[]
localName string
namespaceUri string
return System.Guid[]

ReadInt16Array() public method

public ReadInt16Array ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Int16[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return System.Int16[]

ReadInt16Array() public method

public ReadInt16Array ( string localName, string namespaceUri ) : System.Int16[]
localName string
namespaceUri string
return System.Int16[]

ReadInt32Array() public method

public ReadInt32Array ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Int32[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return System.Int32[]

ReadInt32Array() public method

public ReadInt32Array ( string localName, string namespaceUri ) : System.Int32[]
localName string
namespaceUri string
return System.Int32[]

ReadInt64Array() public method

public ReadInt64Array ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.Int64[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return System.Int64[]

ReadInt64Array() public method

public ReadInt64Array ( string localName, string namespaceUri ) : System.Int64[]
localName string
namespaceUri string
return System.Int64[]

ReadSingleArray() public method

public ReadSingleArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : float[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return float[]

ReadSingleArray() public method

public ReadSingleArray ( string localName, string namespaceUri ) : float[]
localName string
namespaceUri string
return float[]

ReadStartElement() public method

public ReadStartElement ( ) : void
return void

ReadStartElement() public method

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

ReadStartElement() public method

public ReadStartElement ( string localName, string namespaceUri ) : void
localName string
namespaceUri string
return void

ReadTimeSpanArray() public method

public ReadTimeSpanArray ( XmlDictionaryString localName, XmlDictionaryString namespaceUri ) : System.TimeSpan[]
localName XmlDictionaryString
namespaceUri XmlDictionaryString
return System.TimeSpan[]

ReadTimeSpanArray() public method

public ReadTimeSpanArray ( string localName, string namespaceUri ) : System.TimeSpan[]
localName string
namespaceUri string
return System.TimeSpan[]

ReadValueAsBase64() public method

public ReadValueAsBase64 ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadValueChunk() public method

public ReadValueChunk ( char chars, int offset, int count ) : int
chars char
offset int
count int
return int

ResolveEntity() public method

public ResolveEntity ( ) : void
return void

Skip() public method

public Skip ( ) : void
return void

TryGetBase64ContentLength() public method

public TryGetBase64ContentLength ( int &length ) : bool
length int
return bool

TryGetLocalNameAsDictionaryString() public method

public TryGetLocalNameAsDictionaryString ( XmlDictionaryString &localName ) : bool
localName XmlDictionaryString
return bool

TryGetNamespaceUriAsDictionaryString() public method

public TryGetNamespaceUriAsDictionaryString ( XmlDictionaryString &localName ) : bool
localName XmlDictionaryString
return bool

TryGetValueAsDictionaryString() public method

public TryGetValueAsDictionaryString ( XmlDictionaryString &value ) : bool
value XmlDictionaryString
return bool

XmlBaseReader() protected method

protected XmlBaseReader ( ) : System
return System

this() public method

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

this() public method

public this ( string name ) : string
name string
return string

this() public method

public this ( string localName, string namespaceUri ) : string
localName string
namespaceUri string
return string