C# 클래스 System.Xml.XmlReader

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddLineInfo string
CalcBufferSize int
CanReadContentAs bool
CanReadContentAs bool
CheckElement void
CreateReadContentAsException System.Exception
CreateReadContentAsException System.Exception
CreateReadElementContentAsException System.Exception
CreateReadElementContentAsException System.Exception
CreateSqlReader XmlReader
CreateWriterForInnerOuterXml XmlWriter
FinishReadElementContentAsXxx void
GetEncoding System.Text.Encoding
GetV1ConformanceLevel ConformanceLevel
GetXmlTextReaderImpl XmlTextReaderImpl
HasValueInternal bool
InternalReadContentAsString string
IsTextualNode bool
ReadElementString string
ReadElementString string
ReadElementString string
ReadString string
SetNamespacesFlag void
SetupReadElementContentAsXxx bool
SkipSubtree bool
WriteAttributeValue void
WriteNode void

공개 메소드들

메소드 설명
Close ( ) : void
Create ( Stream input ) : XmlReader
Create ( Stream input, XmlReaderSettings settings ) : XmlReader
Create ( Stream input, XmlReaderSettings settings, String baseUri ) : XmlReader
Create ( Stream input, XmlReaderSettings settings, XmlParserContext inputContext ) : XmlReader
Create ( String inputUri, XmlReaderSettings settings, XmlParserContext inputContext ) : XmlReader
Create ( TextReader input ) : XmlReader
Create ( TextReader input, XmlReaderSettings settings ) : XmlReader
Create ( TextReader input, XmlReaderSettings settings, String baseUri ) : XmlReader
Create ( TextReader input, XmlReaderSettings settings, XmlParserContext inputContext ) : XmlReader
Create ( XmlReader reader, XmlReaderSettings settings ) : XmlReader
Create ( string inputUri ) : XmlReader
Create ( string inputUri, XmlReaderSettings settings ) : XmlReader
Dispose ( ) : void
GetAttribute ( int i ) : string
GetAttribute ( string name ) : string
GetAttribute ( string name, string namespaceURI ) : string
IsName ( string str ) : bool
IsNameToken ( string str ) : bool
IsStartElement ( ) : bool
IsStartElement ( string name ) : bool
IsStartElement ( string localname, string ns ) : bool
LookupNamespace ( string prefix ) : string
MoveToAttribute ( string name ) : bool
MoveToAttribute ( string name, string ns ) : bool
MoveToAttribute ( int i ) : void
MoveToContent ( ) : System.Xml.XmlNodeType
MoveToElement ( ) : bool
MoveToFirstAttribute ( ) : bool
MoveToNextAttribute ( ) : bool
Read ( ) : bool
ReadAttributeValue ( ) : bool
ReadContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
ReadContentAsBase64 ( byte buffer, int index, int count ) : int
ReadContentAsBinHex ( byte buffer, int index, int count ) : int
ReadContentAsBoolean ( ) : bool
ReadContentAsDateTime ( ) : System.DateTime
ReadContentAsDateTimeOffset ( ) : DateTimeOffset
ReadContentAsDecimal ( ) : decimal
ReadContentAsDouble ( ) : double
ReadContentAsFloat ( ) : float
ReadContentAsInt ( ) : int
ReadContentAsLong ( ) : long
ReadContentAsObject ( ) : object
ReadContentAsString ( ) : string
ReadElementContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
ReadElementContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver, string localName, string namespaceURI ) : object
ReadElementContentAsBase64 ( byte buffer, int index, int count ) : int
ReadElementContentAsBinHex ( byte buffer, int index, int count ) : int
ReadElementContentAsBoolean ( ) : bool
ReadElementContentAsBoolean ( string localName, string namespaceURI ) : bool
ReadElementContentAsDateTime ( ) : System.DateTime
ReadElementContentAsDateTime ( string localName, string namespaceURI ) : System.DateTime
ReadElementContentAsDecimal ( ) : decimal
ReadElementContentAsDecimal ( string localName, string namespaceURI ) : decimal
ReadElementContentAsDouble ( ) : double
ReadElementContentAsDouble ( string localName, string namespaceURI ) : double
ReadElementContentAsFloat ( ) : float
ReadElementContentAsFloat ( string localName, string namespaceURI ) : float
ReadElementContentAsInt ( ) : int
ReadElementContentAsInt ( string localName, string namespaceURI ) : int
ReadElementContentAsLong ( ) : long
ReadElementContentAsLong ( string localName, string namespaceURI ) : long
ReadElementContentAsObject ( ) : object
ReadElementContentAsObject ( string localName, string namespaceURI ) : object
ReadElementContentAsString ( ) : string
ReadElementContentAsString ( string localName, string namespaceURI ) : string
ReadEndElement ( ) : void
ReadInnerXml ( ) : string
ReadOuterXml ( ) : string
ReadStartElement ( ) : void
ReadStartElement ( string name ) : void
ReadStartElement ( string localname, string ns ) : void
ReadSubtree ( ) : XmlReader
ReadToDescendant ( string name ) : bool
ReadToDescendant ( string localName, string namespaceURI ) : bool
ReadToFollowing ( string name ) : bool
ReadToFollowing ( string localName, string namespaceURI ) : bool
ReadToNextSibling ( string name ) : bool
ReadToNextSibling ( string localName, string namespaceURI ) : bool
ReadValueChunk ( char buffer, int index, int count ) : int
ResolveEntity ( ) : void
Skip ( ) : void
this ( int i ) : string
this ( string name ) : string
this ( string name, string namespaceURI ) : string

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
AddLineInfo ( string message, IXmlLineInfo lineInfo ) : string
CalcBufferSize ( Stream input ) : int
CanReadContentAs ( ) : bool
CanReadContentAs ( System.Xml.XmlNodeType nodeType ) : bool
CheckElement ( string localName, string namespaceURI ) : void
CreateReadContentAsException ( string methodName ) : Exception
CreateReadContentAsException ( string methodName, System.Xml.XmlNodeType nodeType, IXmlLineInfo lineInfo ) : Exception
CreateReadElementContentAsException ( string methodName ) : Exception
CreateReadElementContentAsException ( string methodName, System.Xml.XmlNodeType nodeType, IXmlLineInfo lineInfo ) : Exception
CreateSqlReader ( Stream input, XmlReaderSettings settings, XmlParserContext inputContext ) : XmlReader
CreateWriterForInnerOuterXml ( StringWriter sw ) : XmlWriter
FinishReadElementContentAsXxx ( ) : void
GetEncoding ( XmlReader reader ) : Encoding
GetV1ConformanceLevel ( XmlReader reader ) : ConformanceLevel
GetXmlTextReaderImpl ( XmlReader reader ) : XmlTextReaderImpl
HasValueInternal ( System.Xml.XmlNodeType nodeType ) : bool
InternalReadContentAsString ( ) : string
IsTextualNode ( System.Xml.XmlNodeType nodeType ) : bool
ReadElementString ( ) : string
ReadElementString ( string name ) : string
ReadElementString ( string localname, string ns ) : string
ReadString ( ) : string
SetNamespacesFlag ( XmlTextWriter xtw ) : void
SetupReadElementContentAsXxx ( string methodName ) : bool
SkipSubtree ( ) : bool
WriteAttributeValue ( XmlWriter xtw ) : void
WriteNode ( XmlWriter xtw, bool defattr ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Create() 공개 정적인 메소드

public static Create ( Stream input ) : XmlReader
input Stream
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( Stream input, XmlReaderSettings settings ) : XmlReader
input Stream
settings XmlReaderSettings
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( Stream input, XmlReaderSettings settings, String baseUri ) : XmlReader
input Stream
settings XmlReaderSettings
baseUri String
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( Stream input, XmlReaderSettings settings, XmlParserContext inputContext ) : XmlReader
input Stream
settings XmlReaderSettings
inputContext XmlParserContext
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( String inputUri, XmlReaderSettings settings, XmlParserContext inputContext ) : XmlReader
inputUri String
settings XmlReaderSettings
inputContext XmlParserContext
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( TextReader input ) : XmlReader
input TextReader
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( TextReader input, XmlReaderSettings settings ) : XmlReader
input TextReader
settings XmlReaderSettings
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( TextReader input, XmlReaderSettings settings, String baseUri ) : XmlReader
input TextReader
settings XmlReaderSettings
baseUri String
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( TextReader input, XmlReaderSettings settings, XmlParserContext inputContext ) : XmlReader
input TextReader
settings XmlReaderSettings
inputContext XmlParserContext
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( XmlReader reader, XmlReaderSettings settings ) : XmlReader
reader XmlReader
settings XmlReaderSettings
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( string inputUri ) : XmlReader
inputUri string
리턴 XmlReader

Create() 공개 정적인 메소드

public static Create ( string inputUri, XmlReaderSettings settings ) : XmlReader
inputUri string
settings XmlReaderSettings
리턴 XmlReader

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetAttribute() 공개 추상적인 메소드

public abstract GetAttribute ( int i ) : string
i int
리턴 string

GetAttribute() 공개 추상적인 메소드

public abstract GetAttribute ( string name ) : string
name string
리턴 string

GetAttribute() 공개 추상적인 메소드

public abstract GetAttribute ( string name, string namespaceURI ) : string
name string
namespaceURI string
리턴 string

IsName() 공개 정적인 메소드

public static IsName ( string str ) : bool
str string
리턴 bool

IsNameToken() 공개 정적인 메소드

public static IsNameToken ( string str ) : bool
str string
리턴 bool

IsStartElement() 공개 메소드

public IsStartElement ( ) : bool
리턴 bool

IsStartElement() 공개 메소드

public IsStartElement ( string name ) : bool
name string
리턴 bool

IsStartElement() 공개 메소드

public IsStartElement ( string localname, string ns ) : bool
localname string
ns string
리턴 bool

LookupNamespace() 공개 추상적인 메소드

public abstract LookupNamespace ( string prefix ) : string
prefix string
리턴 string

MoveToAttribute() 공개 추상적인 메소드

public abstract MoveToAttribute ( string name ) : bool
name string
리턴 bool

MoveToAttribute() 공개 추상적인 메소드

public abstract MoveToAttribute ( string name, string ns ) : bool
name string
ns string
리턴 bool

MoveToAttribute() 공개 메소드

public MoveToAttribute ( int i ) : void
i int
리턴 void

MoveToContent() 공개 메소드

public MoveToContent ( ) : System.Xml.XmlNodeType
리턴 System.Xml.XmlNodeType

MoveToElement() 공개 추상적인 메소드

public abstract MoveToElement ( ) : bool
리턴 bool

MoveToFirstAttribute() 공개 추상적인 메소드

public abstract MoveToFirstAttribute ( ) : bool
리턴 bool

MoveToNextAttribute() 공개 추상적인 메소드

public abstract MoveToNextAttribute ( ) : bool
리턴 bool

Read() 공개 추상적인 메소드

public abstract Read ( ) : bool
리턴 bool

ReadAttributeValue() 공개 추상적인 메소드

public abstract ReadAttributeValue ( ) : bool
리턴 bool

ReadContentAs() 공개 메소드

public ReadContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
returnType System.Type
namespaceResolver IXmlNamespaceResolver
리턴 object

ReadContentAsBase64() 공개 메소드

public ReadContentAsBase64 ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
리턴 int

ReadContentAsBinHex() 공개 메소드

public ReadContentAsBinHex ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
리턴 int

ReadContentAsBoolean() 공개 메소드

public ReadContentAsBoolean ( ) : bool
리턴 bool

ReadContentAsDateTime() 공개 메소드

public ReadContentAsDateTime ( ) : System.DateTime
리턴 System.DateTime

ReadContentAsDateTimeOffset() 공개 메소드

public ReadContentAsDateTimeOffset ( ) : DateTimeOffset
리턴 DateTimeOffset

ReadContentAsDecimal() 공개 메소드

public ReadContentAsDecimal ( ) : decimal
리턴 decimal

ReadContentAsDouble() 공개 메소드

public ReadContentAsDouble ( ) : double
리턴 double

ReadContentAsFloat() 공개 메소드

public ReadContentAsFloat ( ) : float
리턴 float

ReadContentAsInt() 공개 메소드

public ReadContentAsInt ( ) : int
리턴 int

ReadContentAsLong() 공개 메소드

public ReadContentAsLong ( ) : long
리턴 long

ReadContentAsObject() 공개 메소드

public ReadContentAsObject ( ) : object
리턴 object

ReadContentAsString() 공개 메소드

public ReadContentAsString ( ) : string
리턴 string

ReadElementContentAs() 공개 메소드

public ReadElementContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver ) : object
returnType System.Type
namespaceResolver IXmlNamespaceResolver
리턴 object

ReadElementContentAs() 공개 메소드

public ReadElementContentAs ( Type returnType, IXmlNamespaceResolver namespaceResolver, string localName, string namespaceURI ) : object
returnType System.Type
namespaceResolver IXmlNamespaceResolver
localName string
namespaceURI string
리턴 object

ReadElementContentAsBase64() 공개 메소드

public ReadElementContentAsBase64 ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
리턴 int

ReadElementContentAsBinHex() 공개 메소드

public ReadElementContentAsBinHex ( byte buffer, int index, int count ) : int
buffer byte
index int
count int
리턴 int

ReadElementContentAsBoolean() 공개 메소드

public ReadElementContentAsBoolean ( ) : bool
리턴 bool

ReadElementContentAsBoolean() 공개 메소드

public ReadElementContentAsBoolean ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
리턴 bool

ReadElementContentAsDateTime() 공개 메소드

public ReadElementContentAsDateTime ( ) : System.DateTime
리턴 System.DateTime

ReadElementContentAsDateTime() 공개 메소드

public ReadElementContentAsDateTime ( string localName, string namespaceURI ) : System.DateTime
localName string
namespaceURI string
리턴 System.DateTime

ReadElementContentAsDecimal() 공개 메소드

public ReadElementContentAsDecimal ( ) : decimal
리턴 decimal

ReadElementContentAsDecimal() 공개 메소드

public ReadElementContentAsDecimal ( string localName, string namespaceURI ) : decimal
localName string
namespaceURI string
리턴 decimal

ReadElementContentAsDouble() 공개 메소드

public ReadElementContentAsDouble ( ) : double
리턴 double

ReadElementContentAsDouble() 공개 메소드

public ReadElementContentAsDouble ( string localName, string namespaceURI ) : double
localName string
namespaceURI string
리턴 double

ReadElementContentAsFloat() 공개 메소드

public ReadElementContentAsFloat ( ) : float
리턴 float

ReadElementContentAsFloat() 공개 메소드

public ReadElementContentAsFloat ( string localName, string namespaceURI ) : float
localName string
namespaceURI string
리턴 float

ReadElementContentAsInt() 공개 메소드

public ReadElementContentAsInt ( ) : int
리턴 int

ReadElementContentAsInt() 공개 메소드

public ReadElementContentAsInt ( string localName, string namespaceURI ) : int
localName string
namespaceURI string
리턴 int

ReadElementContentAsLong() 공개 메소드

public ReadElementContentAsLong ( ) : long
리턴 long

ReadElementContentAsLong() 공개 메소드

public ReadElementContentAsLong ( string localName, string namespaceURI ) : long
localName string
namespaceURI string
리턴 long

ReadElementContentAsObject() 공개 메소드

public ReadElementContentAsObject ( ) : object
리턴 object

ReadElementContentAsObject() 공개 메소드

public ReadElementContentAsObject ( string localName, string namespaceURI ) : object
localName string
namespaceURI string
리턴 object

ReadElementContentAsString() 공개 메소드

public ReadElementContentAsString ( ) : string
리턴 string

ReadElementContentAsString() 공개 메소드

public ReadElementContentAsString ( string localName, string namespaceURI ) : string
localName string
namespaceURI string
리턴 string

ReadEndElement() 공개 메소드

public ReadEndElement ( ) : void
리턴 void

ReadInnerXml() 공개 메소드

public ReadInnerXml ( ) : string
리턴 string

ReadOuterXml() 공개 메소드

public ReadOuterXml ( ) : string
리턴 string

ReadStartElement() 공개 메소드

public ReadStartElement ( ) : void
리턴 void

ReadStartElement() 공개 메소드

public ReadStartElement ( string name ) : void
name string
리턴 void

ReadStartElement() 공개 메소드

public ReadStartElement ( string localname, string ns ) : void
localname string
ns string
리턴 void

ReadSubtree() 공개 메소드

public ReadSubtree ( ) : XmlReader
리턴 XmlReader

ReadToDescendant() 공개 메소드

public ReadToDescendant ( string name ) : bool
name string
리턴 bool

ReadToDescendant() 공개 메소드

public ReadToDescendant ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
리턴 bool

ReadToFollowing() 공개 메소드

public ReadToFollowing ( string name ) : bool
name string
리턴 bool

ReadToFollowing() 공개 메소드

public ReadToFollowing ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
리턴 bool

ReadToNextSibling() 공개 메소드

public ReadToNextSibling ( string name ) : bool
name string
리턴 bool

ReadToNextSibling() 공개 메소드

public ReadToNextSibling ( string localName, string namespaceURI ) : bool
localName string
namespaceURI string
리턴 bool

ReadValueChunk() 공개 메소드

public ReadValueChunk ( char buffer, int index, int count ) : int
buffer char
index int
count int
리턴 int

ResolveEntity() 공개 추상적인 메소드

public abstract ResolveEntity ( ) : void
리턴 void

Skip() 공개 메소드

public Skip ( ) : void
리턴 void

this() 공개 메소드

public this ( int i ) : string
i int
리턴 string

this() 공개 메소드

public this ( string name ) : string
name string
리턴 string

this() 공개 메소드

public this ( string name, string namespaceURI ) : string
name string
namespaceURI string
리턴 string