blob: 2d91c742cbf00af731eba00da6cae0cac080a47e [file] [log] [blame]
csharptest2b868842011-06-10 14:41:47 -05001using System;
2
3namespace Google.ProtocolBuffers.Serialization
4{
5 /// <summary>
6 /// Options available for the xml writer output
7 /// </summary>
8 [Flags]
9 public enum XmlWriterOptions
10 {
11 /// <summary> Simple xml formatting with no attributes </summary>
12 None,
13 /// <summary> Writes the 'value' attribute on all enumerations with the numeric identifier </summary>
14 OutputEnumValues = 0x1,
15 /// <summary> Embeds array items into child &lt;item> elements </summary>
16 OutputNestedArrays = 0x4,
17 /// <summary> Outputs the 'type' attribute for compatibility with the <see cref="System.Runtime.Serialization.Json.JsonReaderWriterFactory">JsonReaderWriterFactory</see> </summary>
18 /// <remarks> This option must, by nessessity, also enable NestedArrayItems </remarks>
19 OutputJsonTypes = 0x8,
20 }
21}