C# Class ServerNetworkConnections.Protocol.XMLMessageParser

Utility class that helps parse AbstractMessages from a given XML String.
Inheritance: AbstractMessageParser
Datei anzeigen Open project: bakacaptain/istalkapp

Public Methods

Method Description
Parse ( String xml ) : AbstractMessage

Static method that takes in an xml String and converts it to an AbstractMessage. Will throw an XmlException if the xml String was in an unrecognized format.

Method Details

Parse() public method

Static method that takes in an xml String and converts it to an AbstractMessage. Will throw an XmlException if the xml String was in an unrecognized format.
public Parse ( String xml ) : AbstractMessage
xml String A String with xml representing an AbstractMessage
return AbstractMessage