Files
mono/mcs/class/System.XML/System.Xml/XmlLinkedNode.cs
T
Daniel Weber e4c6a12643 Fix constructors
svn path=/trunk/mcs/; revision=1400
2001-11-20 22:43:26 +00:00

58 lines
1.3 KiB
C#

// System.Xml.XmlLinkedNode.cs
//
// Author: Daniel Weber ([email protected])
//
// Implementation of abstract Xml.XmlLinkedNode class
using System;
namespace System.Xml
{
public abstract class XmlLinkedNode : XmlNode
{
private XmlNode _nextSibling;
private XmlNode _previousSibling;
// ============ Properties ============================================
//=====================================================================
/// <summary>
/// Get the node immediately following this node
/// </summary>
public override XmlNode NextSibling
{
get
{
return _nextSibling;
}
}
/// <summary>
/// Get the node immediately previous to this node
/// </summary>
public override XmlNode PreviousSibling
{
get
{
return _previousSibling;
}
}
// Internal accessor methods
//===========================================================================
internal void setPreviousNode ( XmlNode previous )
{
_previousSibling = previous;
}
internal void setNextSibling ( XmlNode next )
{
_nextSibling = next;
}
// Constructors
//===========================================================================
internal XmlLinkedNode( XmlDocument aOwner ) : base(aOwner)
{
}
}
}