C# Class System.Xml.XPath.XPathNavigatorReader

Inheritance: System.Xml.XmlReader, IXmlNamespaceResolver
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Protected Properties

Свойство Type Description
lineInfo IXmlLineInfo
schemaInfo IXmlSchemaInfo

Private Properties

Свойство Type Description
GetElemNav XPathNavigator
GetElemNav XPathNavigator
GetNamespaceByIndex string
IXmlNamespaceResolver string>.IDictionary
IXmlNamespaceResolver string
MoveToAttr void
SetEOF void
ToXmlNodeType System.Xml.XmlNodeType

Méthodes publiques

Méthode Description
Close ( ) : void

End reading by transitioning into the Closed state.

Create ( XPathNavigator navToRead ) : XPathNavigatorReader
GetAttribute ( int index ) : string
GetAttribute ( string name ) : string
GetAttribute ( string localName, string namespaceURI ) : string
LookupNamespace ( string prefix ) : string
MoveToAttribute ( string name ) : bool
MoveToAttribute ( string localName, string namespaceName ) : bool
MoveToElement ( ) : bool
MoveToFirstAttribute ( ) : bool
MoveToNextAttribute ( ) : bool
Read ( ) : bool

Move to the next reader state. Return false if that is ReaderState.Closed.

ReadAttributeValue ( ) : bool
ReadContentAsBase64 ( byte buffer, int index, int count ) : int
ReadContentAsBinHex ( byte buffer, int index, int count ) : int
ReadElementContentAsBase64 ( byte buffer, int index, int count ) : int
ReadElementContentAsBinHex ( byte buffer, int index, int count ) : int
ResolveEntity ( ) : void

Méthodes protégées

Méthode Description
XPathNavigatorReader ( XPathNavigator navToRead, IXmlLineInfo xli, IXmlSchemaInfo xsi ) : System.IO

Private Methods

Méthode Description
GetElemNav ( ) : XPathNavigator
GetElemNav ( int &depth ) : XPathNavigator
GetNamespaceByIndex ( XPathNavigator nav, int index, int &count ) : string
IXmlNamespaceResolver ( XmlNamespaceScope scope ) : string>.IDictionary
IXmlNamespaceResolver ( string prefix ) : string
MoveToAttr ( XPathNavigator nav, int depth ) : void
SetEOF ( ) : void

set reader to EOF state

ToXmlNodeType ( XPathNodeType typ ) : System.Xml.XmlNodeType

Translates an XPathNodeType value into the corresponding XmlNodeType value. XPathNodeType.Whitespace and XPathNodeType.SignificantWhitespace are mapped into XmlNodeType.Text.

Method Details

Close() public méthode

End reading by transitioning into the Closed state.
public Close ( ) : void
Résultat void

Create() static public méthode

static public Create ( XPathNavigator navToRead ) : XPathNavigatorReader
navToRead XPathNavigator
Résultat XPathNavigatorReader

GetAttribute() public méthode

public GetAttribute ( int index ) : string
index int
Résultat string

GetAttribute() public méthode

public GetAttribute ( string name ) : string
name string
Résultat string

GetAttribute() public méthode

public GetAttribute ( string localName, string namespaceURI ) : string
localName string
namespaceURI string
Résultat string

LookupNamespace() public méthode

public LookupNamespace ( string prefix ) : string
prefix string
Résultat string

MoveToAttribute() public méthode

public MoveToAttribute ( string name ) : bool
name string
Résultat bool

MoveToAttribute() public méthode

public MoveToAttribute ( string localName, string namespaceName ) : bool
localName string
namespaceName string
Résultat bool

MoveToElement() public méthode

public MoveToElement ( ) : bool
Résultat bool

MoveToFirstAttribute() public méthode

public MoveToFirstAttribute ( ) : bool
Résultat bool

MoveToNextAttribute() public méthode

public MoveToNextAttribute ( ) : bool
Résultat bool

Read() public méthode

Move to the next reader state. Return false if that is ReaderState.Closed.
public Read ( ) : bool
Résultat bool

ReadAttributeValue() public méthode

public ReadAttributeValue ( ) : bool
Résultat bool

ReadContentAsBase64() public méthode

public ReadContentAsBase64 ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
Résultat int

ReadContentAsBinHex() public méthode

public ReadContentAsBinHex ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
Résultat int

ReadElementContentAsBase64() public méthode

public ReadElementContentAsBase64 ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
Résultat int

ReadElementContentAsBinHex() public méthode

public ReadElementContentAsBinHex ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
Résultat int

ResolveEntity() public méthode

public ResolveEntity ( ) : void
Résultat void

XPathNavigatorReader() protected méthode

protected XPathNavigatorReader ( XPathNavigator navToRead, IXmlLineInfo xli, IXmlSchemaInfo xsi ) : System.IO
navToRead XPathNavigator
xli IXmlLineInfo
xsi IXmlSchemaInfo
Résultat System.IO

Property Details

lineInfo protected_oe property

protected IXmlLineInfo lineInfo
Résultat IXmlLineInfo

schemaInfo protected_oe property

protected IXmlSchemaInfo schemaInfo
Résultat IXmlSchemaInfo