2 // System.Xml.XPath.XPathNavigator
5 // Jason Diamond (jason@injektilo.org)
7 // (C) 2002 Jason Diamond http://injektilo.org/
12 namespace System.Xml.XPath
14 public abstract class XPathNavigator : ICloneable
18 protected XPathNavigator ()
26 public abstract string BaseURI { get; }
28 public abstract bool HasAttributes { get; }
30 public abstract bool HasChildren { get; }
32 public abstract bool IsEmptyElement { get; }
34 public abstract string LocalName { get; }
36 public abstract string Name { get; }
38 public abstract string NamespaceURI { get; }
40 public abstract XmlNameTable NameTable { get; }
42 public abstract XPathNodeType NodeType { get; }
44 public abstract string Prefix { get; }
46 public abstract string Value { get; }
48 public abstract string XmlLang { get; }
54 public abstract XPathNavigator Clone ();
57 public virtual XmlNodeOrder ComparePosition (XPathNavigator nav)
59 throw new NotImplementedException ();
63 public virtual XPathExpression Compile (string xpath)
65 throw new NotImplementedException ();
69 public virtual object Evaluate (string xpath)
71 throw new NotImplementedException ();
75 public virtual object Evaluate (XPathExpression expr)
77 throw new NotImplementedException ();
81 public virtual object Evaluate (XPathExpression expr, XPathNodeIterator context)
83 throw new NotImplementedException ();
86 public abstract string GetAttribute (string localName, string namespaceURI);
88 public abstract string GetNamespace (string name);
91 object ICloneable.Clone ()
93 throw new NotImplementedException ();
97 public virtual bool IsDescendant (XPathNavigator nav)
99 throw new NotImplementedException ();
102 public abstract bool IsSamePosition (XPathNavigator other);
105 public virtual bool Matches (string xpath)
107 throw new NotImplementedException ();
111 public virtual bool Matches (XPathExpression expr)
113 throw new NotImplementedException ();
116 public abstract bool MoveTo (XPathNavigator other);
118 public abstract bool MoveToAttribute (string localName, string namespaceURI);
120 public abstract bool MoveToFirst ();
122 public abstract bool MoveToFirstAttribute ();
124 public abstract bool MoveToFirstChild ();
127 public bool MoveToFirstNamespace ()
129 throw new NotImplementedException ();
132 public abstract bool MoveToFirstNamespace (XPathNamespaceScope namespaceScope);
134 public abstract bool MoveToId (string id);
136 public abstract bool MoveToNamespace (string name);
138 public abstract bool MoveToNext ();
140 public abstract bool MoveToNextAttribute ();
143 public bool MoveToNextNamespace ()
145 throw new NotImplementedException ();
148 public abstract bool MoveToNextNamespace (XPathNamespaceScope namespaceScope);
150 public abstract bool MoveToParent ();
152 public abstract bool MoveToPrevious ();
154 public abstract void MoveToRoot ();
157 public virtual XPathNodeIterator Select (string xpath)
159 throw new NotImplementedException ();
163 public virtual XPathNodeIterator Select (XPathExpression expr)
165 throw new NotImplementedException ();
169 public virtual XPathNodeIterator SelectAncestors (XPathNodeType type, bool matchSelf)
171 throw new NotImplementedException ();
175 public virtual XPathNodeIterator SelectAncestors (string name, string namespaceURI, bool matchSelf)
177 throw new NotImplementedException ();
181 public virtual XPathNodeIterator SelectChildren (XPathNodeType type)
183 throw new NotImplementedException ();
187 public virtual XPathNodeIterator SelectChildren (string name, string namespaceURI)
189 throw new NotImplementedException ();
193 public virtual XPathNodeIterator SelectDescendants (XPathNodeType type, bool matchSelf)
195 throw new NotImplementedException ();
199 public virtual XPathNodeIterator SelectDescendants (string name, string namespaceURI, bool matchSelf)
201 throw new NotImplementedException ();
205 public override string ToString ()
207 throw new NotImplementedException ();