WOX2
Diff Revisions
13
vs
14
for /trunk/CSharp/src/wox/serial/SimpleWriter.cs
|
@@ -2,21 +2,34 @@ |
2 |
2 |
|
using System.Collections; |
3 |
3 |
|
using System.Reflection; |
4 |
4 |
|
|
5 |
|
- |
/** |
6 |
|
- |
* This is a simple object to XML serializer. The SimpleWriter class |
7 |
|
- |
* extends WoxWriter. It takes a C# object and a XMLwriter object. |
8 |
|
- |
* It writes (converts) an object to XML, and writes it using the XMLwriter |
9 |
|
- |
* to the specified storage media. The object is represented in standard XML |
10 |
|
- |
* defined by WOX. For more information about the XML representation |
11 |
|
- |
* please visit: http://woxserializer.sourceforge.net/ |
12 |
|
- |
* |
13 |
|
- |
* Authors: Carlos R. Jaimez Gonzalez |
14 |
|
- |
* Simon M. Lucas |
15 |
|
- |
* Version: SimpleWriter.cs - 1.0 |
16 |
|
- |
*/ |
|
5 |
+ |
/// <header> |
|
6 |
+ |
/// <wox> |
|
7 |
+ |
/// <version>1.0</version> |
|
8 |
+ |
/// <author>Carlos R. Jaimez Gonzalez</author> |
|
9 |
+ |
/// <author>Simon M. Lucas</author> |
|
10 |
+ |
/// <site>http://woxserializer.sourceforge.net/</site> |
|
11 |
+ |
/// </wox> |
|
12 |
+ |
/// <wox> |
|
13 |
+ |
/// <version>1.5</version> |
|
14 |
+ |
/// <author>Steven M Lewis</author> |
|
15 |
+ |
/// </wox> |
|
16 |
+ |
/// <wox> |
|
17 |
+ |
/// <version>2.0</version> |
|
18 |
+ |
/// <author>George A Smith</author> |
|
19 |
+ |
/// <svn>http://woxserializer.sourceforge.net/</svn> |
|
20 |
+ |
/// <note>XML form for vs 2 is more compact and therefor incompatible with vs 1</note> |
|
21 |
+ |
/// </wox> |
|
22 |
+ |
/// </header> |
17 |
23 |
|
|
18 |
24 |
|
namespace wox.serial |
19 |
25 |
|
{ |
|
26 |
+ |
/// <summary> |
|
27 |
+ |
/// This is a simple object to XML serializer. The SimpleWriter class |
|
28 |
+ |
/// extends WoxWriter. It takes a C# object and a XMLwriter object. |
|
29 |
+ |
/// It writes (converts) an object to XML, and writes it using the XMLwriter |
|
30 |
+ |
/// to the specified storage media. |
|
31 |
+ |
/// </summary> |
|
32 |
+ |
|
20 |
33 |
|
public class SimpleWriter : Serial, WoxWriter |
21 |
34 |
|
{ |
22 |
35 |
|
private readonly Hashtable mInstanceToIDs = new Hashtable(); |
|
@@ -79,4 +92,4 @@ |
79 |
92 |
|
|
80 |
93 |
|
#endregion |
81 |
94 |
|
} |
82 |
|
- |
} |
|
95 |
+ |
} |