C# Class CookComputing.XmlRpc.XmlRpcSerializer

Mostrar archivo Open project: bricel/DrutNet Class Usage Examples

Private Properties

Property Type Description
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

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

DeserializeRequest() public method

public DeserializeRequest ( Stream stm, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
stm Stream
svcType System.Type
return CookComputing.XmlRpc.XmlRpcRequest

DeserializeRequest() public method

public DeserializeRequest ( TextReader txtrdr, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
txtrdr TextReader
svcType System.Type
return CookComputing.XmlRpc.XmlRpcRequest

DeserializeRequest() public method

public DeserializeRequest ( XmlDocument xdoc, Type svcType ) : CookComputing.XmlRpc.XmlRpcRequest
xdoc System.Xml.XmlDocument
svcType System.Type
return CookComputing.XmlRpc.XmlRpcRequest

DeserializeResponse() public method

public DeserializeResponse ( Stream stm, Type svcType ) : CookComputing.XmlRpc.XmlRpcResponse
stm Stream
svcType System.Type
return CookComputing.XmlRpc.XmlRpcResponse

DeserializeResponse() public method

public DeserializeResponse ( TextReader txtrdr, Type svcType ) : CookComputing.XmlRpc.XmlRpcResponse
txtrdr TextReader
svcType System.Type
return CookComputing.XmlRpc.XmlRpcResponse

DeserializeResponse() public method

public DeserializeResponse ( XmlDocument xdoc, Type returnType ) : CookComputing.XmlRpc.XmlRpcResponse
xdoc System.Xml.XmlDocument
returnType System.Type
return CookComputing.XmlRpc.XmlRpcResponse

ParseValue() public method

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
return Object

Serialize() public method

public Serialize ( XmlTextWriter xtw, Object o, MappingAction mappingAction ) : void
xtw System.Xml.XmlTextWriter
o Object
mappingAction MappingAction
return void

Serialize() public method

public Serialize ( XmlTextWriter xtw, Object o, MappingAction mappingAction, ArrayList nestedObjs ) : void
xtw System.Xml.XmlTextWriter
o Object
mappingAction MappingAction
nestedObjs System.Collections.ArrayList
return void

SerializeFaultResponse() public method

public SerializeFaultResponse ( Stream stm, XmlRpcFaultException faultEx ) : void
stm Stream
faultEx XmlRpcFaultException
return void

SerializeRequest() public method

public SerializeRequest ( Stream stm, CookComputing.XmlRpc.XmlRpcRequest request ) : void
stm Stream
request CookComputing.XmlRpc.XmlRpcRequest
return void

SerializeResponse() public method

public SerializeResponse ( Stream stm, CookComputing.XmlRpc.XmlRpcResponse response ) : void
stm Stream
response CookComputing.XmlRpc.XmlRpcResponse
return void