XmlNameTable.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlNameTable.cs" company="Microsoft">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. // <owner current="true" primary="true">helenak</owner>
  6. //------------------------------------------------------------------------------
  7. namespace System.Xml {
  8. /// <include file='doc\XmlNameTable.uex' path='docs/doc[@for="XmlNameTable"]/*' />
  9. /// <devdoc>
  10. /// <para> Table of atomized string objects. This provides an
  11. /// efficient means for the XML parser to use the same string object for all
  12. /// repeated element and attribute names in an XML document. This class is
  13. /// <see langword='abstract'/>
  14. /// .</para>
  15. /// </devdoc>
  16. public abstract class XmlNameTable {
  17. /// <include file='doc\XmlNameTable.uex' path='docs/doc[@for="XmlNameTable.Get"]/*' />
  18. /// <devdoc>
  19. /// <para>Gets the atomized String object containing the same
  20. /// chars as the specified range of chars in the given char array.</para>
  21. /// </devdoc>
  22. public abstract String Get(char[] array, int offset, int length);
  23. /// <include file='doc\XmlNameTable.uex' path='docs/doc[@for="XmlNameTable.Get1"]/*' />
  24. /// <devdoc>
  25. /// <para>
  26. /// Gets the atomized String object containing the same
  27. /// value as the specified string.
  28. /// </para>
  29. /// </devdoc>
  30. public abstract String Get(String array);
  31. /// <include file='doc\XmlNameTable.uex' path='docs/doc[@for="XmlNameTable.Add"]/*' />
  32. /// <devdoc>
  33. /// <para>Creates a new atom for the characters at the specified range
  34. /// of chararacters in the specified string.</para>
  35. /// </devdoc>
  36. public abstract String Add(char[] array, int offset, int length);
  37. /// <include file='doc\XmlNameTable.uex' path='docs/doc[@for="XmlNameTable.Add1"]/*' />
  38. /// <devdoc>
  39. /// <para>
  40. /// Creates a new atom for the specified string.
  41. /// </para>
  42. /// </devdoc>
  43. public abstract String Add(String array);
  44. }
  45. }