/[dotgnu-pnet]/pnetlib/System.Xml/XmlNode.cs
ViewVC logotype

Diff of /pnetlib/System.Xml/XmlNode.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by t3rmin4t0r, Thu Oct 14 12:18:02 2004 UTC revision 1.20 by t3rmin4t0r, Tue Feb 22 11:21:23 2005 UTC
# Line 26  using System; Line 26  using System;
26  using System.Collections;  using System.Collections;
27  using System.Text;  using System.Text;
28  using System.Xml.Private;  using System.Xml.Private;
29    
30    #if CONFIG_XPATH
31  using System.Xml.XPath;  using System.Xml.XPath;
32    #endif
33    
34  #if ECMA_COMPAT  #if ECMA_COMPAT
35  internal  internal
36  #else  #else
37  public  public
38  #endif  #endif
39  abstract class XmlNode : ICloneable, IEnumerable, IXPathNavigable  abstract class XmlNode : ICloneable, IEnumerable
40    #if CONFIG_XPATH
41    , IXPathNavigable
42    #endif
43  {  {
44          // Internal state.          // Internal state.
45          internal XmlNode  parent;          internal XmlNode  parent;
# Line 502  abstract class XmlNode : ICloneable, IEn Line 508  abstract class XmlNode : ICloneable, IEn
508          // Clone this node in either shallow or deep mode.          // Clone this node in either shallow or deep mode.
509          public abstract XmlNode CloneNode(bool deep);          public abstract XmlNode CloneNode(bool deep);
510    
511    #if CONFIG_XPATH
512          // Implement the IXPathNavigator interface.          // Implement the IXPathNavigator interface.
         [TODO]  
513          public virtual XPathNavigator CreateNavigator()          public virtual XPathNavigator CreateNavigator()
514                          {                          {
                                 // TODO  
515                                  return new XmlDocumentNavigator(this);                                  return new XmlDocumentNavigator(this);
516                          }                          }
517    #endif /* CONFIG_XPATH */
518    
519          // Implement the IEnumerable interface,          // Implement the IEnumerable interface,
520          public IEnumerator GetEnumerator()          public IEnumerator GetEnumerator()
# Line 1006  abstract class XmlNode : ICloneable, IEn Line 1012  abstract class XmlNode : ICloneable, IEn
1012                                  return oldChild;                                  return oldChild;
1013                          }                          }
1014    
1015    #if CONFIG_XPATH
1016    
1017          // Select a list of nodes matching a particular XPath expression.          // Select a list of nodes matching a particular XPath expression.
1018          public XmlNodeList SelectNodes(String xpath)          public XmlNodeList SelectNodes(String xpath)
1019                          {                          {
# Line 1043  abstract class XmlNode : ICloneable, IEn Line 1051  abstract class XmlNode : ICloneable, IEn
1051                                  return list[0];                                  return list[0];
1052                          }                          }
1053    
1054    #endif /* CONFIG_XPATH */
1055    
1056          // Test if this implementation supports a particular DOM feature.          // Test if this implementation supports a particular DOM feature.
1057          public virtual bool Supports(String feature, String version)          public virtual bool Supports(String feature, String version)
1058                          {                          {

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26