Files
mono/mcs/class/System.XML/System.Xml/XmlAttributeCollection.cs
T
Piers Haken c004fb1899 2002-07-12 Piers Haken <[email protected]>
* XmlAttributeCollection.cs: implement some ItemOf indexers
	* XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
	* XmlNode.cs: SelectNodes: return empty XmlNodeList, not null

svn path=/trunk/mcs/; revision=5722
2002-07-12 10:52:08 +00:00

118 lines
2.3 KiB
C#

//
// System.Xml.XmlAttributeCollection
//
// Author:
// Jason Diamond ([email protected])
//
// (C) 2002 Jason Diamond http://injektilo.org/
//
using System;
using System.Collections;
namespace System.Xml
{
public class XmlAttributeCollection : XmlNamedNodeMap, ICollection
{
internal XmlAttributeCollection (XmlNode parent) : base (parent)
{
}
bool ICollection.IsSynchronized {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
public virtual XmlAttribute this [string name] {
get {
return (XmlAttribute) GetNamedItem (name);
}
}
[MonoTODO]
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
public virtual XmlAttribute this [int i] {
get {
return (XmlAttribute) Nodes [i];
}
}
[MonoTODO]
[System.Runtime.CompilerServices.IndexerName ("ItemOf")]
public virtual XmlAttribute this [string localName, string namespaceURI] {
get {
throw new NotImplementedException ();
}
}
object ICollection.SyncRoot {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public virtual XmlAttribute Append (XmlAttribute node)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void CopyTo (XmlAttribute [] array, int index)
{
throw new NotImplementedException ();
}
[MonoTODO]
void ICollection.CopyTo (Array array, int index)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual XmlAttribute InsertAfter (XmlAttribute newNode, XmlAttribute refNode)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual XmlAttribute InsertBefore (XmlAttribute newNode, XmlAttribute refNode)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual XmlAttribute Prepend (XmlAttribute node)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual XmlAttribute Remove (XmlAttribute node)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual void RemoveAll ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual XmlAttribute RemoveAt (int i)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override XmlNode SetNamedItem (XmlNode node)
{
return base.SetNamedItem (node);
}
}
}