C# Class System.Xml.Serialization.XmlSerializationReaderInterpreter

Inheritance: XmlSerializationReader
Show file Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
ReadRoot ( ) : object
XmlSerializationReaderInterpreter ( XmlMapping typeMap ) : System

Protected Methods

Method Description
GetTypeMap ( Type type ) : XmlTypeMapping
InitCallbacks ( ) : void
InitIDs ( ) : void
ProcessUnknownAttribute ( object target ) : void
ProcessUnknownElement ( object target ) : void
ReadClassInstance ( XmlTypeMapping typeMap, bool isNullable, bool checkType ) : object
ReadClassInstanceMembers ( XmlTypeMapping typeMap, object ob ) : void
ReadMessage ( XmlMembersMapping typeMap ) : object
ReadObject ( XmlTypeMapping typeMap, bool isNullable, bool checkType ) : object

Private Methods

Method Description
AddListValue ( TypeData listType, object &list, int index, object value, bool canCreateInstance ) : void
CopyEnumerableList ( object source, object dest ) : void
CreateInstance ( Type type ) : object
CreateList ( Type listType ) : object
FillList ( object list, object items ) : void
FixupMembers ( ClassMap map, object obfixup, bool isValueList ) : void
GetEnumValue ( XmlTypeMapping typeMap, string val ) : object
GetMemberValue ( System.Xml.Serialization.XmlTypeMapMember member, object ob, bool isValueList ) : object
GetValueFromXmlString ( string value, TypeData typeData, XmlTypeMapping typeMap ) : object
InitializeList ( TypeData listType ) : object
IsReadOnly ( System.Xml.Serialization.XmlTypeMapMember member, TypeData memType, object ob, bool isValueList ) : bool
ReadAttributeMembers ( ClassMap map, object ob, bool isValueList ) : void
ReadEncodedObject ( XmlTypeMapping typeMap ) : object
ReadEnumElement ( XmlTypeMapping typeMap, bool isNullable ) : object
ReadListElement ( XmlTypeMapping typeMap, bool isNullable, object list, bool canCreateInstance ) : object
ReadListString ( XmlTypeMapping typeMap, string values ) : object
ReadMembers ( ClassMap map, object ob, bool isValueList, bool readByOrder ) : void
ReadObjectElement ( System.Xml.Serialization.XmlTypeMapElementInfo elem ) : object
ReadPrimitiveElement ( XmlTypeMapping typeMap, bool isNullable ) : object
ReadPrimitiveValue ( System.Xml.Serialization.XmlTypeMapElementInfo elem ) : object
ReadRoot ( XmlTypeMapping rootMap ) : object
ReadXmlNode ( TypeData type, bool wrapped ) : object
ReadXmlNodeElement ( XmlTypeMapping typeMap, bool isNullable ) : object
ReadXmlSerializableElement ( XmlTypeMapping typeMap, bool isNullable ) : object
SetListMembersDefaults ( ClassMap map, object ob, bool isValueList ) : void
SetMemberValue ( System.Xml.Serialization.XmlTypeMapMember member, object ob, object value, bool isValueList ) : void
SetMemberValueFromAttr ( System.Xml.Serialization.XmlTypeMapMember member, object ob, object value, bool isValueList ) : void

Method Details

GetTypeMap() protected method

protected GetTypeMap ( Type type ) : XmlTypeMapping
type System.Type
return XmlTypeMapping

InitCallbacks() protected method

protected InitCallbacks ( ) : void
return void

InitIDs() protected method

protected InitIDs ( ) : void
return void

ProcessUnknownAttribute() protected method

protected ProcessUnknownAttribute ( object target ) : void
target object
return void

ProcessUnknownElement() protected method

protected ProcessUnknownElement ( object target ) : void
target object
return void

ReadClassInstance() protected method

protected ReadClassInstance ( XmlTypeMapping typeMap, bool isNullable, bool checkType ) : object
typeMap XmlTypeMapping
isNullable bool
checkType bool
return object

ReadClassInstanceMembers() protected method

protected ReadClassInstanceMembers ( XmlTypeMapping typeMap, object ob ) : void
typeMap XmlTypeMapping
ob object
return void

ReadMessage() protected method

protected ReadMessage ( XmlMembersMapping typeMap ) : object
typeMap XmlMembersMapping
return object

ReadObject() protected method

protected ReadObject ( XmlTypeMapping typeMap, bool isNullable, bool checkType ) : object
typeMap XmlTypeMapping
isNullable bool
checkType bool
return object

ReadRoot() public method

public ReadRoot ( ) : object
return object

XmlSerializationReaderInterpreter() public method

public XmlSerializationReaderInterpreter ( XmlMapping typeMap ) : System
typeMap XmlMapping
return System