2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / class / System.XML / System.Xml / XmlNodeType.cs
index 5ad9fe1378fdc279f90ae2c43f85d1daadf01585..8ed73dd8db6c20464fcb73f759c76d45bcd0cba9 100644 (file)
-// XmlNodeType.cs\r
-//\r
-// This code was automatically generated from\r
-// ECMA CLI XML Library Specification.\r
-// Generator: libgen.xsl\r
-// Source file: AllTypes.xml\r
-// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml\r
-//\r
-// (C) 2001 Ximian, Inc.  http://www.ximian.com\r
-\r
-\r
-namespace System.Xml {\r
-\r
-\r
-       /// <summary>\r
-       /// <para>Specifies the type of node.</para>\r
-       /// </summary>\r
-       public enum XmlNodeType {\r
-\r
-               /// <summary><para>This is returned by the <see cref="T:System.Xml.XmlReader" /> if a <see langword="Read" /> \r
-               /// method has not been called or if no more nodes\r
-               /// are available to be read.</para></summary>\r
-               None = 0,\r
-\r
-               /// <summary><para> An element.\r
-               ///       </para><para> Example XML: <c>&lt;item&gt;</c></para>\r
-               /// An <see langword="Element" /> node can have the\r
-               /// following child node types: <see langword="Element" />, <see langword="Text" />,\r
-               /// <see langword="Comment" />, <see langword="ProcessingInstruction" />, \r
-               /// <see langword="CDATA" />, and <see langword="EntityReference" />. It can be the \r
-               /// child of the <see langword="Document" />, <see langword="DocumentFragment" />,\r
-               /// <see langword="EntityReference" />, and <see langword="Element" />\r
-               /// nodes.\r
-               /// </summary>\r
-               Element = 1,\r
-\r
-               /// <summary><para> An\r
-               ///  attribute.\r
-               ///  </para><para> Example XML: <c>id='123'</c></para><para> An <see langword="Attribute" /> node can have the\r
-               /// following child node types: <see langword="Text" /> and\r
-               /// <see langword="EntityReference" />. The <see langword="Attribute" /> node does not \r
-               /// appear as the child node of any other node type. It is not considered a\r
-               /// child node of an <see langword="Element" />\r
-               /// .</para></summary>\r
-               Attribute = 2,\r
-\r
-               /// <summary><para> The\r
-               ///       text content of a node.\r
-               ///       </para><para> A <see langword="Text" /> node cannot have any child nodes. \r
-               ///    It can appear as the child node of the <see langword="Attribute" />,\r
-               /// <see langword="DocumentFragment" />, <see langword="Element" />, and \r
-               /// <see langword="EntityReference" /> \r
-               /// nodes.\r
-               /// </para></summary>\r
-               Text = 3,\r
-\r
-               /// <summary><para>A CDATA \r
-               ///       \r
-               ///       section.</para><para>Example XML: <c>&lt;![CDATA[my \r
-               ///       escaped text]]&gt;</c></para><para> \r
-               ///       CDATA sections are used to escape blocks of text that would otherwise\r
-               ///       be recognized as markup. A <see langword="CDATA" /> node cannot have any child\r
-               ///       nodes. It can appear as the child of the <see langword="DocumentFragment" />,\r
-               ///    <see langword="EntityReference" />, and <see langword="Element" /> nodes.</para></summary>\r
-               CDATA = 4,\r
-\r
-               /// <summary><para>A reference to an entity.</para><para>Example XML: <c>&amp;num;</c></para><para> An <see langword="EntityReference" /> node can have the \r
-               ///    following child node types: <see langword="Element" />,\r
-               /// <see langword="ProcessingInstruction" />, <see langword="Comment" />, \r
-               /// <see langword="Text" />, <see langword="CDATA" />, and \r
-               /// <see langword="EntityReference" />. It can appear as the child of the \r
-               /// <see langword="Attribute" />, <see langword="DocumentFragment" />, \r
-               /// <see langword="Element" />, and <see langword="EntityReference" /> \r
-               /// \r
-               /// nodes.</para></summary>\r
-               EntityReference = 5,\r
-\r
-               /// <summary><para>An entity declaration.</para><para>Example XML: <c>&lt;!ENTITY ...&gt;</c></para><para>An <see langword="Entity" /> node can have child nodes \r
-               ///    that represent the expanded entity (for example, <see langword="Text" /> and\r
-               /// <see langword="EntityReference" /> nodes). It can appear as the child of the \r
-               /// <see langword="DocumentType" /> \r
-               /// node.</para></summary>\r
-               Entity = 6,\r
-\r
-               /// <summary><para> A processing instruction.\r
-               ///       </para><para> Example XML: <c>&lt;?pi test?&gt;</c></para><para> A <see langword="ProcessingInstruction" /> node cannot have \r
-               /// any child nodes. It can appear as the child of the <see langword="Document" />,\r
-               /// <see langword="DocumentFragment" />, <see langword="Element" />, and \r
-               /// <see langword="EntityReference" /> \r
-               /// nodes.\r
-               /// </para></summary>\r
-               ProcessingInstruction = 7,\r
-\r
-               /// <summary><para> A comment.\r
-               ///       </para><para> Example XML: <c>&lt;!-- my comment --&gt;</c></para><para> A <see langword="Comment" /> node cannot have any child \r
-               /// nodes. It can appear as the child of the <see langword="Document" />,\r
-               /// <see langword="DocumentFragment" />, <see langword="Element" />, and \r
-               /// <see langword="EntityReference" /> \r
-               /// nodes.\r
-               /// </para></summary>\r
-               Comment = 8,\r
-\r
-               /// <summary><para> A document object that, as the root of the document tree, provides access\r
-               ///  to the entire XML document.\r
-               ///  </para><para> A <see langword="Document" /> node \r
-               ///  can have the following child node types:\r
-               /// <see langword="XmlDeclaration" /> \r
-               /// , <see langword="Element" /> (maximum of one),\r
-               /// <see langword="ProcessingInstruction" />, <see langword="Comment" />, and \r
-               /// <see langword="DocumentType" /> \r
-               /// . It cannot\r
-               /// appear as the child of any node types.</para></summary>\r
-               Document = 9,\r
-\r
-               /// <summary><para> The document type declaration, indicated by the following tag.\r
-               ///       </para><para> Example XML: <c>&lt;!DOCTYPE ...&gt;</c></para><para> A <see langword="DocumentType" /> node can have the \r
-               /// following child node types: <see langword="Notation" /> and\r
-               /// <see langword="Entity" />. It can appear as the child of the \r
-               /// <see langword="Document" /> \r
-               /// node.\r
-               /// </para></summary>\r
-               DocumentType = 10,\r
-\r
-               /// <summary><para> A document fragment.\r
-               ///       </para><para> The <see langword="DocumentFragment" /> node associates a \r
-               ///    node or subtree with a document without actually being contained within the\r
-               ///    document. A <see langword="DocumentFragment" /> node can have the following child\r
-               ///    node types: <see langword="Element" />, <see langword="ProcessingInstruction" />,\r
-               /// <see langword="Comment" />, <see langword="Text" />, <see langword="CDATA" />, and \r
-               /// <see langword="EntityReference" /> \r
-               /// \r
-               /// . It\r
-               /// cannot appear as the child of any node types.\r
-               /// </para></summary>\r
-               DocumentFragment = 11,\r
-\r
-               /// <summary><para> A notation in the document type declaration.\r
-               ///       </para><para> Example XML: <c>&lt;!NOTATION ...&gt;</c></para><para> A <see langword="Notation" /> node cannot have any child \r
-               /// nodes. It can appear as the child of the <see langword="DocumentType" />\r
-               /// node.\r
-               /// </para></summary>\r
-               Notation = 12,\r
-\r
-               /// <summary><para>\r
-               ///        Whitespace between markup.\r
-               ///     </para></summary>\r
-               Whitespace = 13,\r
-\r
-               /// <summary><para> Whitespace between markup in a mixed content model or \r
-               ///       whitespace within the <c>xml:space="preserve"</c> scope.\r
-               ///    </para></summary>\r
-               SignificantWhitespace = 14,\r
-\r
-               /// <summary><para> An end element tag.</para><para>Example XML: <c>&lt;/item&gt;</c></para><para>Returned when <see cref="T:System.Xml.XmlReader" /> gets to the end of an element.</para></summary>\r
-               EndElement = 15,\r
-\r
-               /// <summary><para>Returned when <see langword="XmlReader" /> gets to the end of the entity\r
-               ///    replacement as a result of a call to <see cref="M:System.Xml.XmlReader.ResolveEntity" />\r
-               ///    .</para></summary>\r
-               EndEntity = 16,\r
-\r
-               /// <summary><para> The XML declaration.\r
-               ///  </para><para> Example XML: <c>&lt;?xml version='1.0'?&gt;</c></para><para> The <see langword="XmlDeclaration" /> \r
-               /// node must be the first node in the document. It cannot have children. It is a\r
-               /// child of the <see langword="Document" />\r
-               /// node. It can have attributes that provide version\r
-               /// and encoding information.</para></summary>\r
-               XmlDeclaration = 17,\r
-       } // XmlNodeType\r
-\r
-} // System.Xml\r
+// XmlNodeType.cs
+//
+// This code was automatically generated from
+// ECMA CLI XML Library Specification.
+// Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
+// Created: Wed, 5 Sep 2001 06:31:46 UTC
+// Source file: AllTypes.xml
+// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
+//
+// (C) 2001 Ximian, Inc.  http://www.ximian.com
+
+
+namespace System.Xml {
+
+
+       /// <summary>
+       /// </summary>
+       public enum XmlNodeType {
+
+               /// <summary>
+               /// </summary>
+               None = 0,
+
+               /// <summary>
+               /// </summary>
+               Element = 1,
+
+               /// <summary>
+               /// </summary>
+               Attribute = 2,
+
+               /// <summary>
+               /// </summary>
+               Text = 3,
+
+               /// <summary>
+               /// </summary>
+               CDATA = 4,
+
+               /// <summary>
+               /// </summary>
+               EntityReference = 5,
+
+               /// <summary>
+               /// </summary>
+               Entity = 6,
+
+               /// <summary>
+               /// </summary>
+               ProcessingInstruction = 7,
+
+               /// <summary>
+               /// </summary>
+               Comment = 8,
+
+               /// <summary>
+               /// </summary>
+               Document = 9,
+
+               /// <summary>
+               /// </summary>
+               DocumentType = 10,
+
+               /// <summary>
+               /// </summary>
+               DocumentFragment = 11,
+
+               /// <summary>
+               /// </summary>
+               Notation = 12,
+
+               /// <summary>
+               /// </summary>
+               Whitespace = 13,
+
+               /// <summary>
+               /// </summary>
+               SignificantWhitespace = 14,
+
+               /// <summary>
+               /// </summary>
+               EndElement = 15,
+
+               /// <summary>
+               /// </summary>
+               EndEntity = 16,
+
+               /// <summary>
+               /// </summary>
+               XmlDeclaration = 17,
+       } // XmlNodeType
+
+} // System.Xml