C# Класс CookComputing.XmlRpc.XmlRpcSerializer

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BuildArrayXml void
ConfigureXmlFormat void
CreateArrayInstance object
GetParamsPos int
GetStructName string
MemberMappingAction MappingAction
ParseArray Object
ParseBase64 Object
ParseBoolean Object
ParseDateTime Object
ParseDouble Object
ParseFault XmlRpcFaultException
ParseHashtable Object
ParseInt Object
ParseMultiDimArray Object
ParseMultiDimElements void
ParseString Object
ParseStruct Object
ParseValue Object
ReportMissingMembers void
SelectNodes System.Xml.XmlNode[]
SelectSingleNode System.Xml.XmlNode
SelectTwoNodes void
SelectValueNode System.Xml.XmlNode
StackDump string
StructMappingAction MappingAction

Открытые методы

Метод Описание
DeserializeRequest ( Stream stm, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
DeserializeRequest ( TextReader txtrdr, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
DeserializeRequest ( XmlDocument xdoc, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
DeserializeResponse ( Stream stm, Type svcType ) : CookComputing.XmlRpc.XmlRpcResponse
DeserializeResponse ( TextReader txtrdr, Type svcType ) : CookComputing.XmlRpc.XmlRpcResponse
DeserializeResponse ( XmlDocument xdoc, Type returnType ) : CookComputing.XmlRpc.XmlRpcResponse
ParseValue ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction, Type &ParsedType, Type &ParsedArrayType ) : Object
Serialize ( XmlTextWriter xtw, Object o, MappingAction mappingAction ) : void
Serialize ( XmlTextWriter xtw, Object o, MappingAction mappingAction, ArrayList nestedObjs ) : void
SerializeFaultResponse ( Stream stm, XmlRpcFaultException faultEx ) : void
SerializeRequest ( Stream stm, CookComputing.XmlRpc.XmlRpcRequest request ) : void
SerializeResponse ( Stream stm, CookComputing.XmlRpc.XmlRpcResponse response ) : void

Приватные методы

Метод Описание
BuildArrayXml ( XmlTextWriter xtw, Array ary, int CurRank, int indices, MappingAction mappingAction, ArrayList nestedObjs ) : void
ConfigureXmlFormat ( XmlTextWriter xtw ) : void
CreateArrayInstance ( Type type, object args ) : object
GetParamsPos ( ParameterInfo pis ) : int
GetStructName ( Type ValueType, string XmlRpcName ) : string
MemberMappingAction ( Type type, string memberName, MappingAction currentAction ) : MappingAction
ParseArray ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseBase64 ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseBoolean ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseDateTime ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseDouble ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseFault ( XmlNode faultNode, ParseStack parseStack, MappingAction mappingAction ) : XmlRpcFaultException
ParseHashtable ( XmlNode node, Type valueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseInt ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseMultiDimArray ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseMultiDimElements ( XmlNode node, int Rank, int CurRank, Type elemType, ArrayList elements, int dimLengths, ParseStack parseStack, MappingAction mappingAction ) : void
ParseString ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseStruct ( XmlNode node, Type valueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ParseValue ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction ) : Object
ReportMissingMembers ( Type valueType, Hashtable names, ParseStack parseStack ) : void
SelectNodes ( XmlNode node, string name ) : System.Xml.XmlNode[]
SelectSingleNode ( XmlNode node, string name ) : XmlNode
SelectTwoNodes ( XmlNode node, string name1, XmlNode &node1, bool &dup1, string name2, XmlNode &node2, bool &dup2 ) : void
SelectValueNode ( XmlNode valueNode ) : XmlNode
StackDump ( ParseStack parseStack ) : string
StructMappingAction ( Type type, MappingAction currentAction ) : MappingAction

Описание методов

DeserializeRequest() публичный Метод

public DeserializeRequest ( Stream stm, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
stm Stream
svcType System.Type
Результат CookComputing.XmlRpc.XmlRpcRequest

DeserializeRequest() публичный Метод

public DeserializeRequest ( TextReader txtrdr, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
txtrdr TextReader
svcType System.Type
Результат CookComputing.XmlRpc.XmlRpcRequest

DeserializeRequest() публичный Метод

public DeserializeRequest ( XmlDocument xdoc, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
xdoc System.Xml.XmlDocument
svcType System.Type
Результат CookComputing.XmlRpc.XmlRpcRequest

DeserializeResponse() публичный Метод

public DeserializeResponse ( Stream stm, Type svcType ) : CookComputing.XmlRpc.XmlRpcResponse
stm Stream
svcType System.Type
Результат CookComputing.XmlRpc.XmlRpcResponse

DeserializeResponse() публичный Метод

public DeserializeResponse ( TextReader txtrdr, Type svcType ) : CookComputing.XmlRpc.XmlRpcResponse
txtrdr TextReader
svcType System.Type
Результат CookComputing.XmlRpc.XmlRpcResponse

DeserializeResponse() публичный Метод

public DeserializeResponse ( XmlDocument xdoc, Type returnType ) : CookComputing.XmlRpc.XmlRpcResponse
xdoc System.Xml.XmlDocument
returnType System.Type
Результат CookComputing.XmlRpc.XmlRpcResponse

ParseValue() публичный Метод

public ParseValue ( XmlNode node, Type ValueType, ParseStack parseStack, MappingAction mappingAction, Type &ParsedType, Type &ParsedArrayType ) : Object
node System.Xml.XmlNode
ValueType System.Type
parseStack ParseStack
mappingAction MappingAction
ParsedType System.Type
ParsedArrayType System.Type
Результат Object

Serialize() публичный Метод

public Serialize ( XmlTextWriter xtw, Object o, MappingAction mappingAction ) : void
xtw System.Xml.XmlTextWriter
o Object
mappingAction MappingAction
Результат void

Serialize() публичный Метод

public Serialize ( XmlTextWriter xtw, Object o, MappingAction mappingAction, ArrayList nestedObjs ) : void
xtw System.Xml.XmlTextWriter
o Object
mappingAction MappingAction
nestedObjs System.Collections.ArrayList
Результат void

SerializeFaultResponse() публичный Метод

public SerializeFaultResponse ( Stream stm, XmlRpcFaultException faultEx ) : void
stm Stream
faultEx XmlRpcFaultException
Результат void

SerializeRequest() публичный Метод

public SerializeRequest ( Stream stm, CookComputing.XmlRpc.XmlRpcRequest request ) : void
stm Stream
request CookComputing.XmlRpc.XmlRpcRequest
Результат void

SerializeResponse() публичный Метод

public SerializeResponse ( Stream stm, CookComputing.XmlRpc.XmlRpcResponse response ) : void
stm Stream
response CookComputing.XmlRpc.XmlRpcResponse
Результат void