XmlDictionaryReader.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. using System;
  2. using System.Xml;
  3. namespace System.Xml
  4. {
  5. public abstract class XmlDictionaryReader : XmlReader
  6. {
  7. protected XmlDictionaryReader ()
  8. {
  9. }
  10. public virtual bool CanCanonicalize {
  11. get { return false; }
  12. }
  13. public virtual bool CanGetContext {
  14. get { return false; }
  15. }
  16. // FIXME: several factory methods here.
  17. public virtual void EndCanonicalization ()
  18. {
  19. throw new NotImplementedException ();
  20. }
  21. public virtual string GetAttribute (
  22. XmlDictionaryString localName,
  23. XmlDictionaryString namespaceUri)
  24. {
  25. throw new NotImplementedException ();
  26. }
  27. public XmlParserContext GetContext ()
  28. {
  29. throw new NotImplementedException ();
  30. }
  31. public virtual int IndexOfLocalName (
  32. string [] localNames, string namespaceUri)
  33. {
  34. throw new NotImplementedException ();
  35. }
  36. public virtual int IndexOfLocalName (
  37. XmlDictionaryString [] localNames,
  38. XmlDictionaryString namespaceUri)
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. public virtual bool IsNamespaceUri (string namespaceUri)
  43. {
  44. throw new NotImplementedException ();
  45. }
  46. public virtual bool IsNamespaceUri (XmlDictionaryString namespaceUri)
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. public bool IsStartArray (out Type type)
  51. {
  52. throw new NotImplementedException ();
  53. }
  54. public virtual bool IsStartElement (
  55. XmlDictionaryString localName,
  56. XmlDictionaryString namespaceUri)
  57. {
  58. throw new NotImplementedException ();
  59. }
  60. public virtual void MoveToStartElement (
  61. XmlDictionaryString localName,
  62. XmlDictionaryString namespaceUri)
  63. {
  64. throw new NotImplementedException ();
  65. }
  66. // FIXME: add Read*Array() overloads
  67. public virtual void StartCanonicalization (
  68. XmlCanonicalWriter writer)
  69. {
  70. throw new NotImplementedException ();
  71. }
  72. public virtual bool TryGetArrayLength (out int count)
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. public virtual bool TryGetBase64ContentLength (out int count)
  77. {
  78. throw new NotImplementedException ();
  79. }
  80. public virtual bool TryGetLocalNameAsDictionaryString (
  81. out XmlDictionaryString localName)
  82. {
  83. throw new NotImplementedException ();
  84. }
  85. public virtual bool TryGetNamespaceUriAsDictionaryString (
  86. out XmlDictionaryString localName)
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. }
  91. }