2005-09-22 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / System.Runtime.Serialization / System.Xml / XmlDictionaryWriter.cs
1 #if NET_2_0
2 using System;
3 using System.IO;
4
5 namespace System.Xml
6 {
7         public abstract class XmlDictionaryWriter : XmlShimWriter
8         {
9                 protected XmlDictionaryWriter ()
10                 {
11                 }
12
13                 public bool CanCanonicalize {
14                         get { return false; }
15                 }
16
17                 public bool CanFragment {
18                         get { return false; }
19                 }
20
21                 // FIXME: add a bunch of factory methods
22
23                 public void EndCanonicalization ()
24                 {
25                         throw new NotSupportedException ();
26                 }
27
28                 public void EndFragment ()
29                 {
30                         throw new NotSupportedException ();
31                 }
32
33                 public void StartCanonicalization (XmlCanonicalWriter writer)
34                 {
35                         throw new NotSupportedException ();
36                 }
37
38                 public void StartFragment (Stream stream)
39                 {
40                         throw new NotSupportedException ();
41                 }
42
43                 // FIXME: add Write*Array() overloads.
44
45                 public void WriteAttributeString (
46                         XmlDictionaryString localName,
47                         XmlDictionaryString namespaceUri,
48                         string value)
49                 {
50                         throw new NotSupportedException ();
51                 }
52
53                 public void WriteAttributeString (string prefix,
54                         XmlDictionaryString localName,
55                         XmlDictionaryString namespaceUri,
56                         string value)
57                 {
58                         throw new NotSupportedException ();
59                 }
60
61                 public void WriteElementString (
62                         XmlDictionaryString localName,
63                         XmlDictionaryString namespaceUri,
64                         string value)
65                 {
66                         throw new NotSupportedException ();
67                 }
68
69                 public void WriteElementString (string prefix,
70                         XmlDictionaryString localName,
71                         XmlDictionaryString namespaceUri,
72                         string value)
73                 {
74                         throw new NotSupportedException ();
75                 }
76
77                 public void WriteFragment (byte [] buffer, int offset,
78                         int count)
79                 {
80                         throw new NotSupportedException ();
81                 }
82
83                 public void WriteNode (XmlDictionaryReader reader,
84                         bool defattr)
85                 {
86                         throw new NotSupportedException ();
87                 }
88
89                 public void WriteQualifiedName (
90                         XmlDictionaryString localName,
91                         XmlDictionaryString namespaceUri)
92                 {
93                         throw new NotSupportedException ();
94                 }
95
96                 public void WriteStartAttribute (
97                         XmlDictionaryString localName,
98                         XmlDictionaryString namespaceUri)
99                 {
100                         throw new NotSupportedException ();
101                 }
102
103                 public void WriteStartAttribute (string prefix,
104                         XmlDictionaryString localName,
105                         XmlDictionaryString namespaceUri)
106                 {
107                         throw new NotSupportedException ();
108                 }
109
110                 public void WriteStartElement (
111                         XmlDictionaryString localName,
112                         XmlDictionaryString namespaceUri)
113                 {
114                         throw new NotSupportedException ();
115                 }
116
117                 public void WriteStartElement (string prefix,
118                         XmlDictionaryString localName,
119                         XmlDictionaryString namespaceUri)
120                 {
121                         throw new NotSupportedException ();
122                 }
123
124                 public void WriteString (XmlDictionaryString value)
125                 {
126                         throw new NotSupportedException ();
127                 }
128
129                 public void WriteValue (UniqueId id)
130                 {
131                         throw new NotSupportedException ();
132                 }
133
134                 public void WriteValue (XmlDictionaryString value)
135                 {
136                         throw new NotSupportedException ();
137                 }
138
139                 public void WriteXmlAttribute (string localName, string value)
140                 {
141                         throw new NotSupportedException ();
142                 }
143
144                 public void WriteXmlAttribute (XmlDictionaryString localName,
145                         XmlDictionaryString value)
146                 {
147                         throw new NotSupportedException ();
148                 }
149
150                 public void WriteXmlnsAttribute (
151                         string prefix, string namespaceUri)
152                 {
153                         throw new NotSupportedException ();
154                 }
155
156                 public void WriteXmlnsAttribute (string prefix,
157                         XmlDictionaryString namespaceUri)
158                 {
159                         throw new NotSupportedException ();
160                 }
161         }
162 }
163 #endif