XmlC14NWriter.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. //
  2. // XmlC14NWriter.cs
  3. //
  4. // Author:
  5. // Atsushi Enomoto <[email protected]>
  6. //
  7. // Copyright (C) 2005 Novell, Inc. http://www.novell.com
  8. //
  9. // Permission is hereby granted, free of charge, to any person obtaining
  10. // a copy of this software and associated documentation files (the
  11. // "Software"), to deal in the Software without restriction, including
  12. // without limitation the rights to use, copy, modify, merge, publish,
  13. // distribute, sublicense, and/or sell copies of the Software, and to
  14. // permit persons to whom the Software is furnished to do so, subject to
  15. // the following conditions:
  16. //
  17. // The above copyright notice and this permission notice shall be
  18. // included in all copies or substantial portions of the Software.
  19. //
  20. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  23. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  24. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  25. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  26. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  27. //
  28. #if USE_DEPRECATED
  29. #if NET_2_0
  30. using System;
  31. using System.IO;
  32. namespace System.Xml
  33. {
  34. [MonoTODO]
  35. public sealed class XmlC14NWriter : XmlCanonicalWriter
  36. {
  37. bool include_comments;
  38. public XmlC14NWriter (Stream stream)
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. public XmlC14NWriter (Stream stream, bool includeComments,
  43. params string [] inclusivePrefixes)
  44. {
  45. throw new NotImplementedException ();
  46. }
  47. public bool IncludeComments {
  48. get { return include_comments; }
  49. set {
  50. throw new NotImplementedException ();
  51. }
  52. }
  53. public override void Close ()
  54. {
  55. Flush ();
  56. }
  57. public override void Flush ()
  58. {
  59. throw new NotImplementedException ();
  60. }
  61. public void SetOutput (Stream stream)
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. public void SetOutput (Stream stream, bool includeComments,
  66. params string [] inclusivePrefixes)
  67. {
  68. throw new NotImplementedException ();
  69. }
  70. public override void WriteBase64 (byte [] buffer, int index, int count)
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. public override void WriteCharEntity (int ch)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. public override void WriteComment (string text)
  79. {
  80. throw new NotImplementedException ();
  81. }
  82. public override void WriteComment (byte [] data, int offset, int count)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. public override void WriteDeclaration ()
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. public override void WriteEndAttribute ()
  91. {
  92. throw new NotImplementedException ();
  93. }
  94. public override void WriteEndElement (string prefix, string localName)
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. public override void WriteEndElement (byte [] prefix, int offset1, int count1, byte [] localName, int offset2, int count2)
  99. {
  100. throw new NotImplementedException ();
  101. }
  102. public override void WriteEndStartElement (bool isEmpty)
  103. {
  104. throw new NotImplementedException ();
  105. }
  106. public override void WriteEscapedText (string text)
  107. {
  108. throw new NotImplementedException ();
  109. }
  110. public override void WriteEscapedText (byte [] text, int offset, int count)
  111. {
  112. throw new NotImplementedException ();
  113. }
  114. public override void WriteNode (XmlReader reader)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. public override void WriteStartAttribute (string prefix, string localName)
  119. {
  120. throw new NotImplementedException ();
  121. }
  122. public override void WriteStartAttribute (byte [] prefix, int offset1, int count1, byte [] localName, int offset2, int count2)
  123. {
  124. throw new NotImplementedException ();
  125. }
  126. public override void WriteStartElement (string prefix, string localName)
  127. {
  128. throw new NotImplementedException ();
  129. }
  130. public override void WriteStartElement (byte [] prefix, int offset1, int count1, byte [] localName, int offset2, int count2)
  131. {
  132. throw new NotImplementedException ();
  133. }
  134. public override void WriteText (string text)
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. public override void WriteText (int ch)
  139. {
  140. throw new NotImplementedException ();
  141. }
  142. public override void WriteText (byte [] text, int offset, int count)
  143. {
  144. throw new NotImplementedException ();
  145. }
  146. public override void WriteXmlnsAttribute (
  147. string prefix, string namespaceUri)
  148. {
  149. throw new NotImplementedException ();
  150. }
  151. public override void WriteXmlnsAttribute (byte [] prefix, int offset1, int count1, byte [] namespaceUri, int offset2, int count2)
  152. {
  153. throw new NotImplementedException ();
  154. }
  155. }
  156. }
  157. #endif
  158. #endif