Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorCore/IXmlElement.cs @ 14161

Last change on this file since 14161 was 12762, checked in by aballeit, 9 years ago

#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)

File size: 1023 bytes
Line 
1using System;
2using System.Xml;
3
4namespace SharpVectors.Dom
5{
6  public interface IXmlElement : INode
7  {
8    bool HasAttributes
9    {
10      get;
11    }
12   
13    string GetAttribute(string name);
14   
15    void SetAttribute(string name, string value);
16   
17    void RemoveAttribute(string name);
18   
19    XmlAttribute GetAttributeNode(string name);
20   
21    XmlAttribute SetAttributeNode(XmlAttribute newAttr);
22   
23    XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr);
24   
25    XmlNodeList GetElementsByTagName(string name);
26   
27    // level 2 calls
28    string GetAttribute(string localName, string namespaceURI);
29   
30    string SetAttribute(string qualifiedName, string namespaceURI, string value);
31   
32    void RemoveAttribute(string localName, string namespaceURI);
33   
34    XmlAttribute GetAttributeNode(string localName, string namespaceURI);
35   
36    XmlNodeList GetElementsByTagName(string localName, string namespaceURI);
37   
38    bool HasAttribute(string name);
39   
40    bool HasAttribute(string localName, string namespaceURI);
41  }
42}
Note: See TracBrowser for help on using the repository browser.