XmlC14NWriter.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. using System;
  30. using System.IO;
  31. namespace System.Xml
  32. {
  33. [MonoTODO]
  34. public sealed class XmlC14NWriter : XmlCanonicalWriter
  35. {
  36. bool include_comments;
  37. public XmlC14NWriter (Stream stream)
  38. {
  39. throw new NotImplementedException ();
  40. }
  41. public XmlC14NWriter (Stream stream, bool includeComments,
  42. params string [] inclusivePrefixes)
  43. {
  44. throw new NotImplementedException ();
  45. }
  46. public bool IncludeComments {
  47. get { return include_comments; }
  48. set {
  49. throw new NotImplementedException ();
  50. }
  51. }
  52. public override void Close ()
  53. {
  54. Flush ();
  55. }
  56. public override void Flush ()
  57. {
  58. throw new NotImplementedException ();
  59. }
  60. public void SetOutput (Stream stream)
  61. {
  62. throw new NotImplementedException ();
  63. }
  64. public void SetOutput (Stream stream, bool includeComments,
  65. params string [] inclusivePrefixes)
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. public override void WriteBase64 (byte [] buffer, int index, int count)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. public override void WriteCharEntity (int ch)
  74. {
  75. throw new NotImplementedException ();
  76. }
  77. public override void WriteComment (string text)
  78. {
  79. throw new NotImplementedException ();
  80. }
  81. public override void WriteComment (byte [] data, int offset, int count)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. public override void WriteDeclaration ()
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. public override void WriteEndAttribute ()
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. public override void WriteEndElement (string prefix, string localName)
  94. {
  95. throw new NotImplementedException ();
  96. }
  97. public override void WriteEndElement (byte [] prefix, int offset1, int count1, byte [] localName, int offset2, int count2)
  98. {
  99. throw new NotImplementedException ();
  100. }
  101. public override void WriteEndStartElement (bool isEmpty)
  102. {
  103. throw new NotImplementedException ();
  104. }
  105. public override void WriteEscapedText (string text)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. public override void WriteEscapedText (byte [] text, int offset, int count)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. public override void WriteNode (XmlReader reader)
  114. {
  115. throw new NotImplementedException ();
  116. }
  117. public override void WriteStartAttribute (string prefix, string localName)
  118. {
  119. throw new NotImplementedException ();
  120. }
  121. public override void WriteStartAttribute (byte [] prefix, int offset1, int count1, byte [] localName, int offset2, int count2)
  122. {
  123. throw new NotImplementedException ();
  124. }
  125. public override void WriteStartElement (string prefix, string localName)
  126. {
  127. throw new NotImplementedException ();
  128. }
  129. public override void WriteStartElement (byte [] prefix, int offset1, int count1, byte [] localName, int offset2, int count2)
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. public override void WriteText (string text)
  134. {
  135. throw new NotImplementedException ();
  136. }
  137. public override void WriteText (int ch)
  138. {
  139. throw new NotImplementedException ();
  140. }
  141. public override void WriteText (byte [] text, int offset, int count)
  142. {
  143. throw new NotImplementedException ();
  144. }
  145. public override void WriteXmlnsAttribute (
  146. string prefix, string namespaceUri)
  147. {
  148. throw new NotImplementedException ();
  149. }
  150. public override void WriteXmlnsAttribute (byte [] prefix, int offset1, int count1, byte [] namespaceUri, int offset2, int count2)
  151. {
  152. throw new NotImplementedException ();
  153. }
  154. }
  155. }
  156. #endif