Files
mono/mcs/class/System.XML/System.Xml/XmlImplementation.cs
T
Atsushi Eno 4361873dd2 2004-03-04 Atsushi Enomoto <[email protected]>
* XmlImplementation.cs : forgot to commit (renaming internal case)

svn path=/trunk/mcs/; revision=23693
2004-03-04 16:41:57 +00:00

44 lines
917 B
C#

//
// System.Xml.XmlImplementation.cs
//
// Author: Duncan Mak ([email protected])
//
// (C) Ximian, Inc.
//
namespace System.Xml
{
public class XmlImplementation
{
#region Constructor
public XmlImplementation ()
{
// The following keys are default of MS .NET Framework
NameTable nt = new NameTable();
InternalNameTable = nt;
}
#endregion
#region Public Methods
public virtual XmlDocument CreateDocument ()
{
return new XmlDocument (this);
}
public bool HasFeature (string strFeature, string strVersion)
{
if (String.Compare (strFeature, "xml", true) == 0 // not case-sensitive
&& (String.Compare (strVersion, "1.0", true) == 0
|| String.Compare (strVersion, "2.0", true) == 0))
return true;
else
return false;
}
#endregion
#region Internals
internal XmlNameTable InternalNameTable;
#endregion
}
}