C# Class System.Xml.Serialization.XmlSerializationReader

Inheritance: XmlSerializationGeneratedCode
ファイルを表示 Open project: dotnet/corefx Class Usage Examples

Protected Methods

Method Description
AddFixup ( CollectionFixup fixup ) : void
AddFixup ( Fixup fixup ) : void
AddReadCallback ( string name, string ns, Type type, XmlSerializationReadCallback read ) : void
AddTarget ( string id, object o ) : void
CheckReaderCount ( int &whileIterations, int &readerCount ) : void
CollapseWhitespace ( string value ) : string
CreateAbstractTypeException ( string name, string ns ) : Exception
CreateBadDerivationException ( string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase ) : Exception
CreateCtorHasSecurityException ( string typeName ) : Exception
CreateInaccessibleConstructorException ( string typeName ) : Exception
CreateInvalidCastException ( Type type, object value ) : Exception
CreateInvalidCastException ( Type type, object value, string id ) : Exception
CreateMissingIXmlSerializableType ( string name, string ns, string clrType ) : Exception
CreateReadOnlyCollectionException ( string name ) : Exception
CreateUnknownConstantException ( string value, Type enumType ) : Exception
CreateUnknownNodeException ( ) : Exception
CreateUnknownTypeException ( XmlQualifiedName type ) : Exception
EnsureArrayIndex ( Array a, int index, Type elementType ) : Array
FixupArrayRefs ( object fixup ) : void
GetArrayLength ( string name, string ns ) : int
GetNullAttr ( ) : bool
GetTarget ( string id ) : object
GetXsiType ( ) : XmlQualifiedName
InitCallbacks ( ) : void
InitIDs ( ) : void
IsXmlnsAttribute ( string name ) : bool
ParseWsdlArrayType ( XmlAttribute attr ) : void
ReadElementQualifiedName ( ) : XmlQualifiedName
ReadEndElement ( ) : void
ReadNull ( ) : bool
ReadNullableQualifiedName ( ) : XmlQualifiedName
ReadNullableString ( ) : string
ReadReference ( string &fixupReference ) : bool
ReadReferencedElement ( ) : object
ReadReferencedElement ( string name, string ns ) : object
ReadReferencedElements ( ) : void
ReadReferencingElement ( string &fixupReference ) : object
ReadReferencingElement ( string name, string ns, bool elementCanBeType, string &fixupReference ) : object
ReadReferencingElement ( string name, string ns, string &fixupReference ) : object
ReadSerializable ( IXmlSerializable serializable ) : IXmlSerializable
ReadSerializable ( IXmlSerializable serializable, bool wrappedAny ) : IXmlSerializable
ReadString ( ) : string
ReadString ( string value ) : string
ReadString ( string value, bool trim ) : string
ReadTypedNull ( XmlQualifiedName type ) : object
ReadTypedPrimitive ( XmlQualifiedName type ) : object
ReadXmlDocument ( bool wrapped ) : XmlDocument
ReadXmlNode ( bool wrapped ) : XmlNode
Referenced ( object o ) : void
ResolveDynamicAssembly ( string assemblyFullName ) : Assembly
ShrinkArray ( Array a, int length, Type elementType, bool isNullable ) : Array
ToByteArrayBase64 ( bool isNull ) : byte[]
ToByteArrayBase64 ( string value ) : byte[]
ToByteArrayHex ( bool isNull ) : byte[]
ToByteArrayHex ( string value ) : byte[]
ToChar ( string value ) : char
ToDate ( string value ) : DateTime
ToDateTime ( string value ) : DateTime
ToEnum ( string value, Hashtable h, string typeName ) : long
ToTime ( string value ) : DateTime
ToXmlNCName ( string value ) : string
ToXmlName ( string value ) : string
ToXmlNmToken ( string value ) : string
ToXmlNmTokens ( string value ) : string
ToXmlQualifiedName ( string value ) : XmlQualifiedName
UnknownAttribute ( object o, XmlAttribute attr ) : void
UnknownAttribute ( object o, XmlAttribute attr, string qnames ) : void
UnknownElement ( object o, XmlElement elem ) : void
UnknownElement ( object o, XmlElement elem, string qnames ) : void
UnknownNode ( object o ) : void
UnknownNode ( object o, string qnames ) : void
UnreferencedObject ( string id, object o ) : void

Private Methods

Method Description
CurrentTag ( ) : string
DoFixups ( ) : void
GetCurrentPosition ( int &lineNumber, int &linePosition ) : void
GetPrimitiveType ( XmlQualifiedName typeName, bool throwOnUnknown ) : Type
HandleUnreferencedObjects ( ) : void
Init ( XmlReader r, XmlDeserializationEvents events, string encodingStyle, TempAssembly tempAssembly ) : void
Init ( XmlReader r, string encodingStyle ) : void
InitPrimitiveIDs ( ) : void
IsPrimitiveNamespace ( string ns ) : bool
IsTextualNode ( XmlNodeType nodeType ) : bool
ParseArrayType ( string value ) : SoapArrayInfo
ParseSoap12ArrayType ( string itemType, string arraySize ) : SoapArrayInfo
ReadArray ( string typeName, string typeNs ) : object
ReadByteArray ( bool isBase64 ) : byte[]
ReadStringValue ( ) : string
ReadTypedPrimitive ( XmlQualifiedName type, bool elementCanBeType ) : object
ReadXmlNodes ( bool elementCanBeType ) : object
ReadXmlQualifiedName ( ) : XmlQualifiedName
ToXmlQualifiedName ( string value, bool decodeName ) : XmlQualifiedName
UnknownNode ( XmlNode unknownNode, object o, string qnames ) : void

Method Details

AddFixup() protected method

protected AddFixup ( CollectionFixup fixup ) : void
fixup CollectionFixup
return void

AddFixup() protected method

protected AddFixup ( Fixup fixup ) : void
fixup Fixup
return void

AddReadCallback() protected method

protected AddReadCallback ( string name, string ns, Type type, XmlSerializationReadCallback read ) : void
name string
ns string
type Type
read XmlSerializationReadCallback
return void

AddTarget() protected method

protected AddTarget ( string id, object o ) : void
id string
o object
return void

CheckReaderCount() protected method

protected CheckReaderCount ( int &whileIterations, int &readerCount ) : void
whileIterations int
readerCount int
return void

CollapseWhitespace() protected method

protected CollapseWhitespace ( string value ) : string
value string
return string

CreateAbstractTypeException() protected method

protected CreateAbstractTypeException ( string name, string ns ) : Exception
name string
ns string
return Exception

CreateBadDerivationException() protected method

protected CreateBadDerivationException ( string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase ) : Exception
xsdDerived string
nsDerived string
xsdBase string
nsBase string
clrDerived string
clrBase string
return Exception

CreateCtorHasSecurityException() protected method

protected CreateCtorHasSecurityException ( string typeName ) : Exception
typeName string
return Exception

CreateInaccessibleConstructorException() protected method

protected CreateInaccessibleConstructorException ( string typeName ) : Exception
typeName string
return Exception

CreateInvalidCastException() protected method

protected CreateInvalidCastException ( Type type, object value ) : Exception
type Type
value object
return Exception

CreateInvalidCastException() protected method

protected CreateInvalidCastException ( Type type, object value, string id ) : Exception
type Type
value object
id string
return Exception

CreateMissingIXmlSerializableType() protected method

protected CreateMissingIXmlSerializableType ( string name, string ns, string clrType ) : Exception
name string
ns string
clrType string
return Exception

CreateReadOnlyCollectionException() protected method

protected CreateReadOnlyCollectionException ( string name ) : Exception
name string
return Exception

CreateUnknownConstantException() protected method

protected CreateUnknownConstantException ( string value, Type enumType ) : Exception
value string
enumType Type
return Exception

CreateUnknownNodeException() protected method

protected CreateUnknownNodeException ( ) : Exception
return Exception

CreateUnknownTypeException() protected method

protected CreateUnknownTypeException ( XmlQualifiedName type ) : Exception
type XmlQualifiedName
return Exception

EnsureArrayIndex() protected method

protected EnsureArrayIndex ( Array a, int index, Type elementType ) : Array
a Array
index int
elementType Type
return Array

FixupArrayRefs() protected method

protected FixupArrayRefs ( object fixup ) : void
fixup object
return void

GetArrayLength() protected method

protected GetArrayLength ( string name, string ns ) : int
name string
ns string
return int

GetNullAttr() protected method

protected GetNullAttr ( ) : bool
return bool

GetTarget() protected method

protected GetTarget ( string id ) : object
id string
return object

GetXsiType() protected method

protected GetXsiType ( ) : XmlQualifiedName
return XmlQualifiedName

InitCallbacks() protected abstract method

protected abstract InitCallbacks ( ) : void
return void

InitIDs() protected abstract method

protected abstract InitIDs ( ) : void
return void

IsXmlnsAttribute() protected method

protected IsXmlnsAttribute ( string name ) : bool
name string
return bool

ParseWsdlArrayType() protected method

protected ParseWsdlArrayType ( XmlAttribute attr ) : void
attr XmlAttribute
return void

ReadElementQualifiedName() protected method

protected ReadElementQualifiedName ( ) : XmlQualifiedName
return XmlQualifiedName

ReadEndElement() protected method

protected ReadEndElement ( ) : void
return void

ReadNull() protected method

protected ReadNull ( ) : bool
return bool

ReadNullableQualifiedName() protected method

protected ReadNullableQualifiedName ( ) : XmlQualifiedName
return XmlQualifiedName

ReadNullableString() protected method

protected ReadNullableString ( ) : string
return string

ReadReference() protected method

protected ReadReference ( string &fixupReference ) : bool
fixupReference string
return bool

ReadReferencedElement() protected method

protected ReadReferencedElement ( ) : object
return object

ReadReferencedElement() protected method

protected ReadReferencedElement ( string name, string ns ) : object
name string
ns string
return object

ReadReferencedElements() protected method

protected ReadReferencedElements ( ) : void
return void

ReadReferencingElement() protected method

protected ReadReferencingElement ( string &fixupReference ) : object
fixupReference string
return object

ReadReferencingElement() protected method

protected ReadReferencingElement ( string name, string ns, bool elementCanBeType, string &fixupReference ) : object
name string
ns string
elementCanBeType bool
fixupReference string
return object

ReadReferencingElement() protected method

protected ReadReferencingElement ( string name, string ns, string &fixupReference ) : object
name string
ns string
fixupReference string
return object

ReadSerializable() protected method

protected ReadSerializable ( IXmlSerializable serializable ) : IXmlSerializable
serializable IXmlSerializable
return IXmlSerializable

ReadSerializable() protected method

protected ReadSerializable ( IXmlSerializable serializable, bool wrappedAny ) : IXmlSerializable
serializable IXmlSerializable
wrappedAny bool
return IXmlSerializable

ReadString() protected method

protected ReadString ( ) : string
return string

ReadString() protected method

protected ReadString ( string value ) : string
value string
return string

ReadString() protected method

protected ReadString ( string value, bool trim ) : string
value string
trim bool
return string

ReadTypedNull() protected method

protected ReadTypedNull ( XmlQualifiedName type ) : object
type XmlQualifiedName
return object

ReadTypedPrimitive() protected method

protected ReadTypedPrimitive ( XmlQualifiedName type ) : object
type XmlQualifiedName
return object

ReadXmlDocument() protected method

protected ReadXmlDocument ( bool wrapped ) : XmlDocument
wrapped bool
return XmlDocument

ReadXmlNode() protected method

protected ReadXmlNode ( bool wrapped ) : XmlNode
wrapped bool
return XmlNode

Referenced() protected method

protected Referenced ( object o ) : void
o object
return void

ResolveDynamicAssembly() protected static method

protected static ResolveDynamicAssembly ( string assemblyFullName ) : Assembly
assemblyFullName string
return Assembly

ShrinkArray() protected method

protected ShrinkArray ( Array a, int length, Type elementType, bool isNullable ) : Array
a Array
length int
elementType Type
isNullable bool
return Array

ToByteArrayBase64() protected method

protected ToByteArrayBase64 ( bool isNull ) : byte[]
isNull bool
return byte[]

ToByteArrayBase64() protected static method

protected static ToByteArrayBase64 ( string value ) : byte[]
value string
return byte[]

ToByteArrayHex() protected method

protected ToByteArrayHex ( bool isNull ) : byte[]
isNull bool
return byte[]

ToByteArrayHex() protected static method

protected static ToByteArrayHex ( string value ) : byte[]
value string
return byte[]

ToChar() protected static method

protected static ToChar ( string value ) : char
value string
return char

ToDate() protected static method

protected static ToDate ( string value ) : DateTime
value string
return DateTime

ToDateTime() protected static method

protected static ToDateTime ( string value ) : DateTime
value string
return DateTime

ToEnum() protected static method

protected static ToEnum ( string value, Hashtable h, string typeName ) : long
value string
h Hashtable
typeName string
return long

ToTime() protected static method

protected static ToTime ( string value ) : DateTime
value string
return DateTime

ToXmlNCName() protected static method

protected static ToXmlNCName ( string value ) : string
value string
return string

ToXmlName() protected static method

protected static ToXmlName ( string value ) : string
value string
return string

ToXmlNmToken() protected static method

protected static ToXmlNmToken ( string value ) : string
value string
return string

ToXmlNmTokens() protected static method

protected static ToXmlNmTokens ( string value ) : string
value string
return string

ToXmlQualifiedName() protected method

protected ToXmlQualifiedName ( string value ) : XmlQualifiedName
value string
return XmlQualifiedName

UnknownAttribute() protected method

protected UnknownAttribute ( object o, XmlAttribute attr ) : void
o object
attr XmlAttribute
return void

UnknownAttribute() protected method

protected UnknownAttribute ( object o, XmlAttribute attr, string qnames ) : void
o object
attr XmlAttribute
qnames string
return void

UnknownElement() protected method

protected UnknownElement ( object o, XmlElement elem ) : void
o object
elem XmlElement
return void

UnknownElement() protected method

protected UnknownElement ( object o, XmlElement elem, string qnames ) : void
o object
elem XmlElement
qnames string
return void

UnknownNode() protected method

protected UnknownNode ( object o ) : void
o object
return void

UnknownNode() protected method

protected UnknownNode ( object o, string qnames ) : void
o object
qnames string
return void

UnreferencedObject() protected method

protected UnreferencedObject ( string id, object o ) : void
id string
o object
return void